${function() {
const variantData = data.variant || {"id":"cff29365-df81-40be-bc91-d949672c724c","product_id":"5ff7f7f9-60af-4ed0-a32c-6749ba7f060b","title":"White-S","weight_unit":"kg","inventory_quantity":1000,"sku":"OHO242279-WHI00S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/95b57e349ac1c34a91956a7f5e3721c5.jpeg","path":"95b57e349ac1c34a91956a7f5e3721c5.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":32.99,"min_quantity":1}],"weight":"0","compare_at_price":"51.79","price":"32.99","retail_price":"51.79","available":true,"url":"\/products\/fashion-casual-printed-long-sleeve-irregular-hem-dress-7?variant=cff29365-df81-40be-bc91-d949672c724c","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"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.
${function(){
const variantData = data.variant || {"id":"cff29365-df81-40be-bc91-d949672c724c","product_id":"5ff7f7f9-60af-4ed0-a32c-6749ba7f060b","title":"White-S","weight_unit":"kg","inventory_quantity":1000,"sku":"OHO242279-WHI00S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/95b57e349ac1c34a91956a7f5e3721c5.jpeg","path":"95b57e349ac1c34a91956a7f5e3721c5.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":32.99,"min_quantity":1}],"weight":"0","compare_at_price":"51.79","price":"32.99","retail_price":"51.79","available":true,"url":"\/products\/fashion-casual-printed-long-sleeve-irregular-hem-dress-7?variant=cff29365-df81-40be-bc91-d949672c724c","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":36,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}