${function() {
const variantData = data.variant || {"id":"7541585f-9cc8-45da-b3ae-7dc64d9bb3b3","product_id":"0ce22158-09f4-4630-b1d3-e9f066e9f602","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"PH1-211018-12-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2d2b1b198241e8cf5f40ba37e9b6afbb.jpeg","path":"2d2b1b198241e8cf5f40ba37e9b6afbb.jpeg","width":633,"height":844,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"25.99","retail_price":"0","available":true,"url":"\/products\/women-coordinator-of-the-entire-show-sweatshirt-2m0f?variant=7541585f-9cc8-45da-b3ae-7dc64d9bb3b3","available_quantity":1000,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
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.