【 TOPPP】W125018- New early spring women's bubble sleeve long sleeved shirt
${function() {
const variantData = data.variant || {"id":"addd1514-fafe-4150-9762-021114d788d9","product_id":"ba3b523e-8d94-4237-b2c8-069d1c4c7b1c","title":"black-S","weight_unit":"kg","inventory_quantity":30,"sku":"-black-S-A0011706","barcode":"","position":1,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/942468782b123297d5d51c19ceecdd7b.jpg","path":"942468782b123297d5d51c19ceecdd7b.jpg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":42,"min_quantity":1}],"weight":"0.4","compare_at_price":"0","price":"42","retail_price":"0","available":true,"url":"\/products\/toppp-w125018-new-early-spring-womens-bubble-sleeve-long-sleeved-shirt?variant=addd1514-fafe-4150-9762-021114d788d9","available_quantity":30,"options":[{"name":"colour","value":"black"},{"name":"size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"addd1514-fafe-4150-9762-021114d788d9","product_id":"ba3b523e-8d94-4237-b2c8-069d1c4c7b1c","title":"black-S","weight_unit":"kg","inventory_quantity":30,"sku":"-black-S-A0011706","barcode":"","position":1,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/942468782b123297d5d51c19ceecdd7b.jpg","path":"942468782b123297d5d51c19ceecdd7b.jpg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":42,"min_quantity":1}],"weight":"0.4","compare_at_price":"0","price":"42","retail_price":"0","available":true,"url":"\/products\/toppp-w125018-new-early-spring-womens-bubble-sleeve-long-sleeved-shirt?variant=addd1514-fafe-4150-9762-021114d788d9","available_quantity":30,"options":[{"name":"colour","value":"black"},{"name":"size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}
${function() {
const minInventory = parseInt('10');
const maxInventory = parseInt('50');
const randomInventory = Math.round(Math.random() * (maxInventory - minInventory)) + minInventory;
const customText = "Only {stock} item(s) left in stock!".replace(/\{stock\}/g, '' + randomInventory + '');
const barWidth = (randomInventory / maxInventory) * 100 + '%';
return `
`;
}()}