${function() {
const variantData = data.variant || {"id":"58733b13-8f9c-4b30-9f14-f11154216575","product_id":"54199bca-9a46-45b3-93e5-fcb3036f5851","title":"White-S","weight_unit":"g","inventory_quantity":98,"sku":"","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b4778ddf53a0510c7ff666743a82e88b.webp","path":"b4778ddf53a0510c7ff666743a82e88b.webp","width":600,"height":800,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":31,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"31","retail_price":"0","available":true,"url":"\/products\/spaghetti-strap-decorative-lace-single-breasted-plain-maxi-dresses?variant=58733b13-8f9c-4b30-9f14-f11154216575","available_quantity":98,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"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.
${function(){
const variantData = data.variant || {"id":"58733b13-8f9c-4b30-9f14-f11154216575","product_id":"54199bca-9a46-45b3-93e5-fcb3036f5851","title":"White-S","weight_unit":"g","inventory_quantity":98,"sku":"","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b4778ddf53a0510c7ff666743a82e88b.webp","path":"b4778ddf53a0510c7ff666743a82e88b.webp","width":600,"height":800,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":31,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"31","retail_price":"0","available":true,"url":"\/products\/spaghetti-strap-decorative-lace-single-breasted-plain-maxi-dresses?variant=58733b13-8f9c-4b30-9f14-f11154216575","available_quantity":98,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}