${function() {
const variantData = data.variant || {"id":"535976f0-4bed-4506-a3a6-f2cc6675900d","product_id":"540b804b-c870-4cd6-91a7-6b00afef4db8","title":"black-s","weight_unit":"kg","inventory_quantity":999,"sku":"4637262","barcode":"4637262","position":1,"option1":"black","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/92a05bee012ee41fccd8a643997640b5.jpeg","path":"92a05bee012ee41fccd8a643997640b5.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":20,"min_quantity":1}],"weight":"0.25","compare_at_price":"0","price":"20","retail_price":"0","available":true,"url":"\/products\/off-shoulder-striped-bell-sleeve-half-sleeve-casual-dresses?variant=535976f0-4bed-4506-a3a6-f2cc6675900d","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"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.
Sku : 4637262
Weight : 0.25kg
Barcode : 4637262
${function(){
const variantData = data.variant || {"id":"535976f0-4bed-4506-a3a6-f2cc6675900d","product_id":"540b804b-c870-4cd6-91a7-6b00afef4db8","title":"black-s","weight_unit":"kg","inventory_quantity":999,"sku":"4637262","barcode":"4637262","position":1,"option1":"black","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/92a05bee012ee41fccd8a643997640b5.jpeg","path":"92a05bee012ee41fccd8a643997640b5.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":20,"min_quantity":1}],"weight":"0.25","compare_at_price":"0","price":"20","retail_price":"0","available":true,"url":"\/products\/off-shoulder-striped-bell-sleeve-half-sleeve-casual-dresses?variant=535976f0-4bed-4506-a3a6-f2cc6675900d","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"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}
`
}()}