${function() {
const variantData = data.variant || {"id":"9fe3af25-0056-486f-a35e-4555316d192b","product_id":"c5a48474-8e5f-4f7f-a670-5224cb0e6e6d","title":"Same color as picture-M","weight_unit":"kg","inventory_quantity":1000,"sku":"INS-36405-SHL-Same-color-as-picture-M","barcode":"","position":1,"option1":"Same color as picture","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a9db1d1b8bac2dad85a219be20931454.jpeg","path":"a9db1d1b8bac2dad85a219be20931454.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":34.99,"min_quantity":1}],"weight":"0","compare_at_price":"54.99","price":"34.99","retail_price":"54.99","available":true,"url":"\/products\/color-block-check-coatfebca134-c2b0-44cd-8ab1-9b32851fb0d9?variant=9fe3af25-0056-486f-a35e-4555316d192b","available_quantity":999999999,"options":[{"name":"Color","value":"Same color as picture"},{"name":"Size","value":"M"}],"off_ratio":36,"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.
Sku : INS-36405-SHL-Same-color-as-picture-M
${function(){
const variantData = data.variant || {"id":"9fe3af25-0056-486f-a35e-4555316d192b","product_id":"c5a48474-8e5f-4f7f-a670-5224cb0e6e6d","title":"Same color as picture-M","weight_unit":"kg","inventory_quantity":1000,"sku":"INS-36405-SHL-Same-color-as-picture-M","barcode":"","position":1,"option1":"Same color as picture","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a9db1d1b8bac2dad85a219be20931454.jpeg","path":"a9db1d1b8bac2dad85a219be20931454.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":34.99,"min_quantity":1}],"weight":"0","compare_at_price":"54.99","price":"34.99","retail_price":"54.99","available":true,"url":"\/products\/color-block-check-coatfebca134-c2b0-44cd-8ab1-9b32851fb0d9?variant=9fe3af25-0056-486f-a35e-4555316d192b","available_quantity":999999999,"options":[{"name":"Color","value":"Same color as picture"},{"name":"Size","value":"M"}],"off_ratio":36,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}