${function() {
const variantData = data.variant || {"id":"40b44034-bc9e-4d25-92d3-9452b84f37cf","product_id":"6cfb473d-b557-445a-a1c5-5498e0119b69","title":"Gray black-S","weight_unit":"g","inventory_quantity":999,"sku":"1752247498755354626","barcode":"","position":1,"option1":"Gray black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/98e9577730c6001fc4ea680fb0d86a91.png","path":"98e9577730c6001fc4ea680fb0d86a91.png","width":800,"height":800,"alt":"dbb54f18c2be877405c8ed22162214a3","aspect_ratio":1},"wholesale_price":[{"price":22,"min_quantity":1}],"weight":"200","compare_at_price":"0","price":"22","retail_price":"0","available":true,"url":"\/products\/mens-casual-retro-print-surf-t-shirt?variant=40b44034-bc9e-4d25-92d3-9452b84f37cf","available_quantity":999999999,"options":[{"name":"Color","value":"Gray 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.
${function(){
const variantData = data.variant || {"id":"40b44034-bc9e-4d25-92d3-9452b84f37cf","product_id":"6cfb473d-b557-445a-a1c5-5498e0119b69","title":"Gray black-S","weight_unit":"g","inventory_quantity":999,"sku":"1752247498755354626","barcode":"","position":1,"option1":"Gray black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/98e9577730c6001fc4ea680fb0d86a91.png","path":"98e9577730c6001fc4ea680fb0d86a91.png","width":800,"height":800,"alt":"dbb54f18c2be877405c8ed22162214a3","aspect_ratio":1},"wholesale_price":[{"price":22,"min_quantity":1}],"weight":"200","compare_at_price":"0","price":"22","retail_price":"0","available":true,"url":"\/products\/mens-casual-retro-print-surf-t-shirt?variant=40b44034-bc9e-4d25-92d3-9452b84f37cf","available_quantity":999999999,"options":[{"name":"Color","value":"Gray black"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Barcode : ${variantData && variantData.barcode}
`
}()}