${function() {
const variantData = data.variant || {"id":"04a57cbb-6cb7-49d7-b83f-d86a39da8cc8","product_id":"fd6f2cb6-247a-4c8a-834c-12c661bb85ac","title":"XL-black","weight_unit":"kg","inventory_quantity":92,"sku":"","barcode":"","position":1,"option1":"XL","option2":"black","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b94de9062fde244f2572a62f8ef7313d.webp","path":"b94de9062fde244f2572a62f8ef7313d.webp","width":750,"height":1000,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":16.37,"min_quantity":1}],"weight":"0","compare_at_price":"32.1","price":"16.37","retail_price":"32.1","available":true,"url":"\/products\/2024-spring-and-summer-new-cotton-and-linen-fashion-casual-loose-two-piece-sleeveless-top-loose-wide-leg-pants-ladies-pants-sets?variant=04a57cbb-6cb7-49d7-b83f-d86a39da8cc8","available_quantity":999999999,"options":[{"name":"Size","value":"XL"},{"name":"Color","value":"black"}],"off_ratio":49,"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":"04a57cbb-6cb7-49d7-b83f-d86a39da8cc8","product_id":"fd6f2cb6-247a-4c8a-834c-12c661bb85ac","title":"XL-black","weight_unit":"kg","inventory_quantity":92,"sku":"","barcode":"","position":1,"option1":"XL","option2":"black","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b94de9062fde244f2572a62f8ef7313d.webp","path":"b94de9062fde244f2572a62f8ef7313d.webp","width":750,"height":1000,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":16.37,"min_quantity":1}],"weight":"0","compare_at_price":"32.1","price":"16.37","retail_price":"32.1","available":true,"url":"\/products\/2024-spring-and-summer-new-cotton-and-linen-fashion-casual-loose-two-piece-sleeveless-top-loose-wide-leg-pants-ladies-pants-sets?variant=04a57cbb-6cb7-49d7-b83f-d86a39da8cc8","available_quantity":999999999,"options":[{"name":"Size","value":"XL"},{"name":"Color","value":"black"}],"off_ratio":49,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}