${function() {
const variantData = data.variant || {"id":"45b7c382-04aa-4668-abae-fc31620c53f0","product_id":"07e9edfe-ffbf-44fa-87b6-a0a54bd3cd97","title":"Black-35","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"Black","option2":"35","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/13353e24e7899e79adf6cb7c1a94fdfd.jpeg","path":"13353e24e7899e79adf6cb7c1a94fdfd.jpeg","width":400,"height":400,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0","compare_at_price":"49.99","price":"29.99","retail_price":"49.99","available":true,"url":"\/products\/\ud83d\udd25last-day-promotion-49-off-ultra-comfortable-shiny-gem-mesh-flats?variant=45b7c382-04aa-4668-abae-fc31620c53f0","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"35"}],"off_ratio":40,"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":"45b7c382-04aa-4668-abae-fc31620c53f0","product_id":"07e9edfe-ffbf-44fa-87b6-a0a54bd3cd97","title":"Black-35","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"Black","option2":"35","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/13353e24e7899e79adf6cb7c1a94fdfd.jpeg","path":"13353e24e7899e79adf6cb7c1a94fdfd.jpeg","width":400,"height":400,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0","compare_at_price":"49.99","price":"29.99","retail_price":"49.99","available":true,"url":"\/products\/\ud83d\udd25last-day-promotion-49-off-ultra-comfortable-shiny-gem-mesh-flats?variant=45b7c382-04aa-4668-abae-fc31620c53f0","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"35"}],"off_ratio":40,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}