Women's Patchwork Design Suit
${function() {
const variantData = data.variant || {"id":"193de532-fb2d-416f-95bb-7753d4a2eaa9","product_id":"30329fd7-2830-4719-86ba-d5aafe344dbe","title":"apricot-S(US 6-8)","weight_unit":"kg","inventory_quantity":1000,"sku":"YSHHP240724469-apricot-S(US 6-8)","barcode":"","position":1,"option1":"apricot","option2":"S(US 6-8)","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a622cf78e28f3de4c6243ff54751427b.jpeg","path":"a622cf78e28f3de4c6243ff54751427b.jpeg","width":1080,"height":1920,"alt":"","aspect_ratio":0.5625},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"46.99","price":"19.99","retail_price":"46.99","available":true,"url":"\/products\/womens-patchwork-design-suit?variant=193de532-fb2d-416f-95bb-7753d4a2eaa9","available_quantity":999999999,"options":[{"name":"color","value":"apricot"},{"name":"size","value":"S(US 6-8)"}],"off_ratio":57,"flashsale_info":[],"sales":0};
const saveType = "amount";
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":"193de532-fb2d-416f-95bb-7753d4a2eaa9","product_id":"30329fd7-2830-4719-86ba-d5aafe344dbe","title":"apricot-S(US 6-8)","weight_unit":"kg","inventory_quantity":1000,"sku":"YSHHP240724469-apricot-S(US 6-8)","barcode":"","position":1,"option1":"apricot","option2":"S(US 6-8)","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a622cf78e28f3de4c6243ff54751427b.jpeg","path":"a622cf78e28f3de4c6243ff54751427b.jpeg","width":1080,"height":1920,"alt":"","aspect_ratio":0.5625},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"46.99","price":"19.99","retail_price":"46.99","available":true,"url":"\/products\/womens-patchwork-design-suit?variant=193de532-fb2d-416f-95bb-7753d4a2eaa9","available_quantity":999999999,"options":[{"name":"color","value":"apricot"},{"name":"size","value":"S(US 6-8)"}],"off_ratio":57,"flashsale_info":[],"sales":0};
return `
`
}()}
${function() {
const minInventory = parseInt('10');
const maxInventory = parseInt('52');
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 `
`;
}()}