${function() {
const variantData = data.variant || {"id":"3143534d-553e-42cb-9dcb-01d5e82f2926","product_id":"53cb1355-f46f-4f66-9c69-c4318719399a","title":"Green-Pillow Case 17.7inch*17.7inch","weight_unit":"kg","inventory_quantity":1000,"sku":"17592258966055","barcode":"","position":1,"option1":"Green","option2":"Pillow Case 17.7inch*17.7inch","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/68cd57c460c8f65ef3a8802448f520c6.jpeg","path":"68cd57c460c8f65ef3a8802448f520c6.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":20.28,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"20.28","retail_price":"0","available":true,"url":"\/products\/1pc-bohemian-chenille-sofa-slipcover-geometric-pattern-non-slip-sofa-cover-furniture-protector-for-bedroom-office-living-room-home-decor?variant=3143534d-553e-42cb-9dcb-01d5e82f2926","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"Pillow Case 17.7inch*17.7inch"}],"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":"3143534d-553e-42cb-9dcb-01d5e82f2926","product_id":"53cb1355-f46f-4f66-9c69-c4318719399a","title":"Green-Pillow Case 17.7inch*17.7inch","weight_unit":"kg","inventory_quantity":1000,"sku":"17592258966055","barcode":"","position":1,"option1":"Green","option2":"Pillow Case 17.7inch*17.7inch","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/68cd57c460c8f65ef3a8802448f520c6.jpeg","path":"68cd57c460c8f65ef3a8802448f520c6.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":20.28,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"20.28","retail_price":"0","available":true,"url":"\/products\/1pc-bohemian-chenille-sofa-slipcover-geometric-pattern-non-slip-sofa-cover-furniture-protector-for-bedroom-office-living-room-home-decor?variant=3143534d-553e-42cb-9dcb-01d5e82f2926","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"Pillow Case 17.7inch*17.7inch"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}