【 TOPPP 】W125058- Spring and summer new women's mesh outer wear stand up collar printed base shirt
${function() {
const variantData = data.variant || {"id":"6faa9687-adb3-489e-9560-3a7f1b0f8398","product_id":"fb313c52-69c3-45d1-9b49-358b975b3d7f","title":"colour-S","weight_unit":"kg","inventory_quantity":17,"sku":"W125058150-colour-S-A0014101","barcode":"","position":2,"option1":"colour","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c2de5c4a71cc0927d5dabb9c1d200563.jpg","path":"c2de5c4a71cc0927d5dabb9c1d200563.jpg","width":1280,"height":1707,"alt":"","aspect_ratio":0.7498535442296427},"wholesale_price":[{"price":36.8,"min_quantity":1}],"weight":"0.4","compare_at_price":"0","price":"36.8","retail_price":"0","available":true,"url":"\/products\/toppp-w125058-spring-and-summer-new-womens-mesh-outer-wear-stand-up-collar-printed-base-shirt?variant=6faa9687-adb3-489e-9560-3a7f1b0f8398","available_quantity":17,"options":[{"name":"colour","value":"colour"},{"name":"size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":9};
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":"6faa9687-adb3-489e-9560-3a7f1b0f8398","product_id":"fb313c52-69c3-45d1-9b49-358b975b3d7f","title":"colour-S","weight_unit":"kg","inventory_quantity":17,"sku":"W125058150-colour-S-A0014101","barcode":"","position":2,"option1":"colour","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c2de5c4a71cc0927d5dabb9c1d200563.jpg","path":"c2de5c4a71cc0927d5dabb9c1d200563.jpg","width":1280,"height":1707,"alt":"","aspect_ratio":0.7498535442296427},"wholesale_price":[{"price":36.8,"min_quantity":1}],"weight":"0.4","compare_at_price":"0","price":"36.8","retail_price":"0","available":true,"url":"\/products\/toppp-w125058-spring-and-summer-new-womens-mesh-outer-wear-stand-up-collar-printed-base-shirt?variant=6faa9687-adb3-489e-9560-3a7f1b0f8398","available_quantity":17,"options":[{"name":"colour","value":"colour"},{"name":"size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":9};
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 `
`;
}()}