${function() {
const variantData = data.variant || {"id":"407d4cef-8870-40c8-b8fb-004edb49beac","product_id":"5a0097c2-bffe-4021-b8c6-0fc06be11401","title":"blue-2xl","weight_unit":"kg","inventory_quantity":999,"sku":"4711302","barcode":"4711302","position":3,"option1":"blue","option2":"2xl","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e9e778179baf36fc74fc934d5863fe8f.webp","path":"e9e778179baf36fc74fc934d5863fe8f.webp","width":1200,"height":1200,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":33.99,"min_quantity":1}],"weight":"0.4","compare_at_price":"0","price":"33.99","retail_price":"0","available":true,"url":"\/products\/sexy-fashion-floral-print-maxi-dress-2?variant=407d4cef-8870-40c8-b8fb-004edb49beac","available_quantity":999999999,"options":[{"name":"Color","value":"blue"},{"name":"Size","value":"2xl"}],"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.
Sku : 4711302
Weight : 0.4kg
Barcode : 4711302
${function(){
const variantData = data.variant || {"id":"407d4cef-8870-40c8-b8fb-004edb49beac","product_id":"5a0097c2-bffe-4021-b8c6-0fc06be11401","title":"blue-2xl","weight_unit":"kg","inventory_quantity":999,"sku":"4711302","barcode":"4711302","position":3,"option1":"blue","option2":"2xl","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e9e778179baf36fc74fc934d5863fe8f.webp","path":"e9e778179baf36fc74fc934d5863fe8f.webp","width":1200,"height":1200,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":33.99,"min_quantity":1}],"weight":"0.4","compare_at_price":"0","price":"33.99","retail_price":"0","available":true,"url":"\/products\/sexy-fashion-floral-print-maxi-dress-2?variant=407d4cef-8870-40c8-b8fb-004edb49beac","available_quantity":999999999,"options":[{"name":"Color","value":"blue"},{"name":"Size","value":"2xl"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}