${function() {
const variantData = data.variant || {"id":"1923b92d-42a6-4be8-95ec-341332aab3ef","product_id":"b1454fa4-0f33-4bfa-b3ba-245202ad6408","title":"green-xs","weight_unit":"kg","inventory_quantity":999,"sku":"4952789","barcode":"4952789","position":1,"option1":"green","option2":"xs","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/251f3234d249a2a65f73896f998e7398.webp","path":"251f3234d249a2a65f73896f998e7398.webp","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0.22","compare_at_price":"0","price":"25.99","retail_price":"0","available":true,"url":"\/products\/round-neck-sleeveless-ruffles-bodycon-dress?variant=1923b92d-42a6-4be8-95ec-341332aab3ef","available_quantity":999999999,"options":[{"name":"Color","value":"green"},{"name":"Size","value":"xs"}],"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 : 4952789
Weight : 0.22kg
Barcode : 4952789
${function(){
const variantData = data.variant || {"id":"1923b92d-42a6-4be8-95ec-341332aab3ef","product_id":"b1454fa4-0f33-4bfa-b3ba-245202ad6408","title":"green-xs","weight_unit":"kg","inventory_quantity":999,"sku":"4952789","barcode":"4952789","position":1,"option1":"green","option2":"xs","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/251f3234d249a2a65f73896f998e7398.webp","path":"251f3234d249a2a65f73896f998e7398.webp","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0.22","compare_at_price":"0","price":"25.99","retail_price":"0","available":true,"url":"\/products\/round-neck-sleeveless-ruffles-bodycon-dress?variant=1923b92d-42a6-4be8-95ec-341332aab3ef","available_quantity":999999999,"options":[{"name":"Color","value":"green"},{"name":"Size","value":"xs"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}