${function() {
const variantData = data.variant || {"id":"aa008fcc-97d8-4dce-a627-a43e46e85ba5","product_id":"b0fc3d82-41fa-4ecb-a05d-45fe73bf2175","title":"green-xl","weight_unit":"kg","inventory_quantity":999,"sku":"5e4ba2cc-3414-4c1a-9629-0a880300f82d","barcode":"9b52c8ff-71aa-47df-ab9a-8ab5e2762a7f","position":1,"option1":"green","option2":"xl","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3c1ac5eac4a1e902f1adb9e09e0e70bb.jpeg","path":"3c1ac5eac4a1e902f1adb9e09e0e70bb.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":49.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"49.99","retail_price":"0","available":true,"url":"\/products\/sexy-strapless-pure-color-ruffled-maxi-dress?variant=aa008fcc-97d8-4dce-a627-a43e46e85ba5","available_quantity":999999999,"options":[{"name":"colour","value":"green"},{"name":"size","value":"xl"}],"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 : 5e4ba2cc-3414-4c1a-9629-0a880300f82d
Barcode : 9b52c8ff-71aa-47df-ab9a-8ab5e2762a7f
${function(){
const variantData = data.variant || {"id":"aa008fcc-97d8-4dce-a627-a43e46e85ba5","product_id":"b0fc3d82-41fa-4ecb-a05d-45fe73bf2175","title":"green-xl","weight_unit":"kg","inventory_quantity":999,"sku":"5e4ba2cc-3414-4c1a-9629-0a880300f82d","barcode":"9b52c8ff-71aa-47df-ab9a-8ab5e2762a7f","position":1,"option1":"green","option2":"xl","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3c1ac5eac4a1e902f1adb9e09e0e70bb.jpeg","path":"3c1ac5eac4a1e902f1adb9e09e0e70bb.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":49.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"49.99","retail_price":"0","available":true,"url":"\/products\/sexy-strapless-pure-color-ruffled-maxi-dress?variant=aa008fcc-97d8-4dce-a627-a43e46e85ba5","available_quantity":999999999,"options":[{"name":"colour","value":"green"},{"name":"size","value":"xl"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}