${function() {
const variantData = data.variant || {"id":"d03d2151-07ca-4ab5-9bc7-aa2ac1778b4c","product_id":"41ad2b05-6622-4789-89ac-f3eae3a59528","title":"green-S","weight_unit":"g","inventory_quantity":999,"sku":"1638835042826371074","barcode":"","position":1,"option1":"green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cce3675ab9ba004970ec5783fb7c4bf8.png","path":"cce3675ab9ba004970ec5783fb7c4bf8.png","width":800,"height":800,"alt":"34f92430eff0809da263bd6aedd3a909","aspect_ratio":1},"wholesale_price":[{"price":19.13,"min_quantity":1}],"weight":"200","compare_at_price":"0","price":"19.13","retail_price":"0","available":true,"url":"\/products\/mens-vintage-print-surf-t-shirt?variant=d03d2151-07ca-4ab5-9bc7-aa2ac1778b4c","available_quantity":999999999,"options":[{"name":"Color","value":"green"},{"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.
Sku : 1638835042826371074
Weight : 200g
${function(){
const variantData = data.variant || {"id":"d03d2151-07ca-4ab5-9bc7-aa2ac1778b4c","product_id":"41ad2b05-6622-4789-89ac-f3eae3a59528","title":"green-S","weight_unit":"g","inventory_quantity":999,"sku":"1638835042826371074","barcode":"","position":1,"option1":"green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cce3675ab9ba004970ec5783fb7c4bf8.png","path":"cce3675ab9ba004970ec5783fb7c4bf8.png","width":800,"height":800,"alt":"34f92430eff0809da263bd6aedd3a909","aspect_ratio":1},"wholesale_price":[{"price":19.13,"min_quantity":1}],"weight":"200","compare_at_price":"0","price":"19.13","retail_price":"0","available":true,"url":"\/products\/mens-vintage-print-surf-t-shirt?variant=d03d2151-07ca-4ab5-9bc7-aa2ac1778b4c","available_quantity":999999999,"options":[{"name":"Color","value":"green"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}