${function() {
const variantData = data.variant || {"id":"4e8d2b79-e0af-4e90-9eff-588c2dc5eb4b","product_id":"d634327c-687a-4056-ad09-a087e3faad1c","title":"White-s","weight_unit":"kg","inventory_quantity":999,"sku":"4840654","barcode":"4840654","position":1,"option1":"White","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/28f1572ab78f23e7f15ceaef1ea60007.webp","path":"28f1572ab78f23e7f15ceaef1ea60007.webp","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":45.99,"min_quantity":1}],"weight":"0.25","compare_at_price":"0","price":"45.99","retail_price":"0","available":true,"url":"\/products\/inse67e171f165a-0xhq?variant=4e8d2b79-e0af-4e90-9eff-588c2dc5eb4b","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"s"}],"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 : 4840654
Weight : 0.25kg
Barcode : 4840654
${function(){
const variantData = data.variant || {"id":"4e8d2b79-e0af-4e90-9eff-588c2dc5eb4b","product_id":"d634327c-687a-4056-ad09-a087e3faad1c","title":"White-s","weight_unit":"kg","inventory_quantity":999,"sku":"4840654","barcode":"4840654","position":1,"option1":"White","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/28f1572ab78f23e7f15ceaef1ea60007.webp","path":"28f1572ab78f23e7f15ceaef1ea60007.webp","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":45.99,"min_quantity":1}],"weight":"0.25","compare_at_price":"0","price":"45.99","retail_price":"0","available":true,"url":"\/products\/inse67e171f165a-0xhq?variant=4e8d2b79-e0af-4e90-9eff-588c2dc5eb4b","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"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}
`
}()}