${function() {
const variantData = data.variant || {"id":"f91765ad-b0d8-4a5b-be6c-806288015f3d","product_id":"c52fffe5-4f91-4d4c-91cc-626e7a553faf","title":"red-m","weight_unit":"kg","inventory_quantity":1000,"sku":"4686367","barcode":"4686367","position":1,"option1":"red","option2":"m","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8a7f4d6590a545cc70d9f685929cbfc2.webp","path":"8a7f4d6590a545cc70d9f685929cbfc2.webp","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":25.95,"min_quantity":1}],"weight":"0.35","compare_at_price":"34","price":"25.95","retail_price":"34","available":true,"url":"\/products\/round-neck-patchwork-printed-maxi-dress?variant=f91765ad-b0d8-4a5b-be6c-806288015f3d","available_quantity":999999999,"options":[{"name":"Color","value":"red"},{"name":"Size","value":"m"}],"off_ratio":24,"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 : 4686367
Weight : 0.35kg
Barcode : 4686367
${function(){
const variantData = data.variant || {"id":"f91765ad-b0d8-4a5b-be6c-806288015f3d","product_id":"c52fffe5-4f91-4d4c-91cc-626e7a553faf","title":"red-m","weight_unit":"kg","inventory_quantity":1000,"sku":"4686367","barcode":"4686367","position":1,"option1":"red","option2":"m","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8a7f4d6590a545cc70d9f685929cbfc2.webp","path":"8a7f4d6590a545cc70d9f685929cbfc2.webp","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":25.95,"min_quantity":1}],"weight":"0.35","compare_at_price":"34","price":"25.95","retail_price":"34","available":true,"url":"\/products\/round-neck-patchwork-printed-maxi-dress?variant=f91765ad-b0d8-4a5b-be6c-806288015f3d","available_quantity":999999999,"options":[{"name":"Color","value":"red"},{"name":"Size","value":"m"}],"off_ratio":24,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}