${function() {
const variantData = data.variant || {"id":"41263479-0eee-4620-a11f-65e8205b11df","product_id":"7873b203-a3ca-4b48-be19-d5ecf642801b","title":"S-C","weight_unit":"kg","inventory_quantity":1000,"sku":"S C-46168658","barcode":"","position":3,"option1":"S","option2":"C","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/30bb45fb915ee0dce31b4694bfef76c8.jpeg","path":"30bb45fb915ee0dce31b4694bfef76c8.jpeg","width":1600,"height":1600,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":30.17,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"30.17","retail_price":"0","available":true,"url":"\/products\/fashionable-beach-stretch-cotton-linen-loose-straight-trousers-208565326380?variant=41263479-0eee-4620-a11f-65e8205b11df","available_quantity":999999999,"options":[{"name":"Size","value":"S"},{"name":"Color","value":"C"}],"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.
${function(){
const variantData = data.variant || {"id":"41263479-0eee-4620-a11f-65e8205b11df","product_id":"7873b203-a3ca-4b48-be19-d5ecf642801b","title":"S-C","weight_unit":"kg","inventory_quantity":1000,"sku":"S C-46168658","barcode":"","position":3,"option1":"S","option2":"C","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/30bb45fb915ee0dce31b4694bfef76c8.jpeg","path":"30bb45fb915ee0dce31b4694bfef76c8.jpeg","width":1600,"height":1600,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":30.17,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"30.17","retail_price":"0","available":true,"url":"\/products\/fashionable-beach-stretch-cotton-linen-loose-straight-trousers-208565326380?variant=41263479-0eee-4620-a11f-65e8205b11df","available_quantity":999999999,"options":[{"name":"Size","value":"S"},{"name":"Color","value":"C"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}