${function() {
const variantData = data.variant || {"id":"930cd4e9-3d1a-4600-9725-2c6a46862560","product_id":"e9a5d63d-4224-45a5-ac5a-5b71f114c969","title":"apricot-L","weight_unit":"kg","inventory_quantity":1000,"sku":"apricot L-44370766","barcode":"","position":1,"option1":"apricot","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8f06d81689e483605a704d194fde8d1a.jpeg","path":"8f06d81689e483605a704d194fde8d1a.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":36.66,"min_quantity":1}],"weight":"0","compare_at_price":"36.66","price":"36.66","retail_price":"36.66","available":true,"url":"\/products\/fashion-high-neck-exposed-navel-sports-casual-simple-suit-207998501298?variant=930cd4e9-3d1a-4600-9725-2c6a46862560","available_quantity":999999999,"options":[{"name":"color","value":"apricot"},{"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":"930cd4e9-3d1a-4600-9725-2c6a46862560","product_id":"e9a5d63d-4224-45a5-ac5a-5b71f114c969","title":"apricot-L","weight_unit":"kg","inventory_quantity":1000,"sku":"apricot L-44370766","barcode":"","position":1,"option1":"apricot","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8f06d81689e483605a704d194fde8d1a.jpeg","path":"8f06d81689e483605a704d194fde8d1a.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":36.66,"min_quantity":1}],"weight":"0","compare_at_price":"36.66","price":"36.66","retail_price":"36.66","available":true,"url":"\/products\/fashion-high-neck-exposed-navel-sports-casual-simple-suit-207998501298?variant=930cd4e9-3d1a-4600-9725-2c6a46862560","available_quantity":999999999,"options":[{"name":"color","value":"apricot"},{"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}
`
}()}