${function() {
const variantData = data.variant || {"id":"c7a15457-2daf-48ef-826e-6bfda557d4db","product_id":"eec4672d-85b1-45c7-9e11-c51cb3b13b10","title":"Pink-L","weight_unit":"kg","inventory_quantity":1000,"sku":"Pink L-44368960","barcode":"","position":1,"option1":"Pink","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/189bd9ce2172cde9c75f6a60e9eec758.jpeg","path":"189bd9ce2172cde9c75f6a60e9eec758.jpeg","width":1340,"height":1785,"alt":"","aspect_ratio":0.7507002801120448},"wholesale_price":[{"price":47.58,"min_quantity":1}],"weight":"0","compare_at_price":"47.58","price":"47.58","retail_price":"47.58","available":true,"url":"\/products\/high-neck-short-casual-two-piece-set-207998492196?variant=c7a15457-2daf-48ef-826e-6bfda557d4db","available_quantity":999999999,"options":[{"name":"color","value":"Pink"},{"name":"size","value":"L"}],"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.
${function(){
const variantData = data.variant || {"id":"c7a15457-2daf-48ef-826e-6bfda557d4db","product_id":"eec4672d-85b1-45c7-9e11-c51cb3b13b10","title":"Pink-L","weight_unit":"kg","inventory_quantity":1000,"sku":"Pink L-44368960","barcode":"","position":1,"option1":"Pink","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/189bd9ce2172cde9c75f6a60e9eec758.jpeg","path":"189bd9ce2172cde9c75f6a60e9eec758.jpeg","width":1340,"height":1785,"alt":"","aspect_ratio":0.7507002801120448},"wholesale_price":[{"price":47.58,"min_quantity":1}],"weight":"0","compare_at_price":"47.58","price":"47.58","retail_price":"47.58","available":true,"url":"\/products\/high-neck-short-casual-two-piece-set-207998492196?variant=c7a15457-2daf-48ef-826e-6bfda557d4db","available_quantity":999999999,"options":[{"name":"color","value":"Pink"},{"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}
`
}()}