${function() {
const variantData = data.variant || {"id":"7d426985-427c-4e7b-871d-a315775b9cea","product_id":"bd690402-4682-4b34-be60-22163c74f3cf","title":"white-M","weight_unit":"kg","inventory_quantity":1000,"sku":"1524204064848994305","barcode":"","position":1,"option1":"white","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4a5c10b4dd757a29a53033c946bf3406.jpeg","path":"4a5c10b4dd757a29a53033c946bf3406.jpeg","width":1080,"height":1080,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":25.11,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"25.11","retail_price":"0","available":true,"url":"\/products\/solid-color-v-neck-casual-breathable-t-shirt?variant=7d426985-427c-4e7b-871d-a315775b9cea","available_quantity":999999999,"options":[{"name":"Color","value":"white"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "percentage";
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.
${function(){
const variantData = data.variant || {"id":"7d426985-427c-4e7b-871d-a315775b9cea","product_id":"bd690402-4682-4b34-be60-22163c74f3cf","title":"white-M","weight_unit":"kg","inventory_quantity":1000,"sku":"1524204064848994305","barcode":"","position":1,"option1":"white","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4a5c10b4dd757a29a53033c946bf3406.jpeg","path":"4a5c10b4dd757a29a53033c946bf3406.jpeg","width":1080,"height":1080,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":25.11,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"25.11","retail_price":"0","available":true,"url":"\/products\/solid-color-v-neck-casual-breathable-t-shirt?variant=7d426985-427c-4e7b-871d-a315775b9cea","available_quantity":999999999,"options":[{"name":"Color","value":"white"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
`
}()}