W822130 women's large logo printed pleated skirt
${function() {
const variantData = data.variant || {"id":"214c844b-dee0-440a-aa37-b8931a31fcdc","product_id":"009e91d0-aaa1-40f1-a3e2-f15b7bd817a3","title":"white-XS","weight_unit":"kg","inventory_quantity":28,"sku":"W822130200-white-XS-A0013661","barcode":"","position":1,"option1":"white","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a75d9a3734dceb2281991503f3655bd4.jpg","path":"a75d9a3734dceb2281991503f3655bd4.jpg","width":1082,"height":814,"alt":"","aspect_ratio":1.3292383292383292},"wholesale_price":[{"price":45,"min_quantity":1}],"weight":"0.4","compare_at_price":"0","price":"45","retail_price":"0","available":true,"url":"\/products\/w822130-womens-large-logo-printed-pleated-skirt?variant=214c844b-dee0-440a-aa37-b8931a31fcdc","available_quantity":28,"options":[{"name":"colour","value":"white"},{"name":"size","value":"XS"}],"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":"214c844b-dee0-440a-aa37-b8931a31fcdc","product_id":"009e91d0-aaa1-40f1-a3e2-f15b7bd817a3","title":"white-XS","weight_unit":"kg","inventory_quantity":28,"sku":"W822130200-white-XS-A0013661","barcode":"","position":1,"option1":"white","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a75d9a3734dceb2281991503f3655bd4.jpg","path":"a75d9a3734dceb2281991503f3655bd4.jpg","width":1082,"height":814,"alt":"","aspect_ratio":1.3292383292383292},"wholesale_price":[{"price":45,"min_quantity":1}],"weight":"0.4","compare_at_price":"0","price":"45","retail_price":"0","available":true,"url":"\/products\/w822130-womens-large-logo-printed-pleated-skirt?variant=214c844b-dee0-440a-aa37-b8931a31fcdc","available_quantity":28,"options":[{"name":"colour","value":"white"},{"name":"size","value":"XS"}],"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 `
`;
}()}