${function() {
const variantData = data.variant || {"id":"cc0b15e7-52d2-4bb8-946a-214c3f8a4e0f","product_id":"c15eb9ed-f541-4195-9801-84b8b4cf4059","title":"Rose-l","weight_unit":"kg","inventory_quantity":1000,"sku":"4680657","barcode":"4680657","position":1,"option1":"Rose","option2":"l","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/169ba05488e90027792b7fddab99e921.webp","path":"169ba05488e90027792b7fddab99e921.webp","width":1200,"height":1200,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":25.19,"min_quantity":1}],"weight":"0.4","compare_at_price":"0","price":"25.19","retail_price":"0","available":true,"url":"\/products\/rose-off-shoulder-floral-print-maxi-dress?variant=cc0b15e7-52d2-4bb8-946a-214c3f8a4e0f","available_quantity":999999999,"options":[{"name":"Color","value":"Rose"},{"name":"Size","value":"l"}],"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.
Sku : 4680657
Weight : 0.4kg
Barcode : 4680657
${function(){
const variantData = data.variant || {"id":"cc0b15e7-52d2-4bb8-946a-214c3f8a4e0f","product_id":"c15eb9ed-f541-4195-9801-84b8b4cf4059","title":"Rose-l","weight_unit":"kg","inventory_quantity":1000,"sku":"4680657","barcode":"4680657","position":1,"option1":"Rose","option2":"l","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/169ba05488e90027792b7fddab99e921.webp","path":"169ba05488e90027792b7fddab99e921.webp","width":1200,"height":1200,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":25.19,"min_quantity":1}],"weight":"0.4","compare_at_price":"0","price":"25.19","retail_price":"0","available":true,"url":"\/products\/rose-off-shoulder-floral-print-maxi-dress?variant=cc0b15e7-52d2-4bb8-946a-214c3f8a4e0f","available_quantity":999999999,"options":[{"name":"Color","value":"Rose"},{"name":"Size","value":"l"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}