${function() {
const variantData = data.variant || {"id":"a59180f9-5a3f-46bc-8189-0f6a9e0a876f","product_id":"4d74b667-121e-47d9-9699-2c4c0214c34c","title":"white-M","weight_unit":"kg","inventory_quantity":1000,"sku":"1534460424958238721","barcode":"","position":1,"option1":"white","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/124502c0a50348529c22b833b7dbfc8e.jpeg","path":"124502c0a50348529c22b833b7dbfc8e.jpeg","width":1080,"height":1080,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":25.34,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"25.34","retail_price":"0","available":true,"url":"\/products\/mens-v-neck-solid-color-breathable-t-shirt-casual-retro-outdoor-motorcycle-top?variant=a59180f9-5a3f-46bc-8189-0f6a9e0a876f","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":"a59180f9-5a3f-46bc-8189-0f6a9e0a876f","product_id":"4d74b667-121e-47d9-9699-2c4c0214c34c","title":"white-M","weight_unit":"kg","inventory_quantity":1000,"sku":"1534460424958238721","barcode":"","position":1,"option1":"white","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/124502c0a50348529c22b833b7dbfc8e.jpeg","path":"124502c0a50348529c22b833b7dbfc8e.jpeg","width":1080,"height":1080,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":25.34,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"25.34","retail_price":"0","available":true,"url":"\/products\/mens-v-neck-solid-color-breathable-t-shirt-casual-retro-outdoor-motorcycle-top?variant=a59180f9-5a3f-46bc-8189-0f6a9e0a876f","available_quantity":999999999,"options":[{"name":"Color","value":"white"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
`
}()}