${function() {
const variantData = data.variant || {"id":"9abe8a2f-def4-4b2d-b289-a330134c3ce1","product_id":"1791311e-020e-4021-83f4-3955cba4d6b5","title":"Photo Color-S","weight_unit":"g","inventory_quantity":999,"sku":"1664185264087576578","barcode":"","position":1,"option1":"Photo Color","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f33ac8a3568f0265366d92ee29f4f135.jpeg","path":"f33ac8a3568f0265366d92ee29f4f135.jpeg","width":1000,"height":1000,"alt":"5bf7c6479d6cd111c79a7fe1dcdcbec7","aspect_ratio":1},"wholesale_price":[{"price":34,"min_quantity":1}],"weight":"500","compare_at_price":"0","price":"34","retail_price":"0","available":true,"url":"\/products\/mens-summer-surf-print-shorts-double-layer-security-performance-shorts?variant=9abe8a2f-def4-4b2d-b289-a330134c3ce1","available_quantity":999999999,"options":[{"name":"Color","value":"Photo Color"},{"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.
${function(){
const variantData = data.variant || {"id":"9abe8a2f-def4-4b2d-b289-a330134c3ce1","product_id":"1791311e-020e-4021-83f4-3955cba4d6b5","title":"Photo Color-S","weight_unit":"g","inventory_quantity":999,"sku":"1664185264087576578","barcode":"","position":1,"option1":"Photo Color","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f33ac8a3568f0265366d92ee29f4f135.jpeg","path":"f33ac8a3568f0265366d92ee29f4f135.jpeg","width":1000,"height":1000,"alt":"5bf7c6479d6cd111c79a7fe1dcdcbec7","aspect_ratio":1},"wholesale_price":[{"price":34,"min_quantity":1}],"weight":"500","compare_at_price":"0","price":"34","retail_price":"0","available":true,"url":"\/products\/mens-summer-surf-print-shorts-double-layer-security-performance-shorts?variant=9abe8a2f-def4-4b2d-b289-a330134c3ce1","available_quantity":999999999,"options":[{"name":"Color","value":"Photo Color"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Barcode : ${variantData && variantData.barcode}
`
}()}