${function() {
const variantData = data.variant || {"id":"e75c9234-4ec1-4df4-8482-2d2c067d0b57","product_id":"e028bcab-55d0-432a-8616-626659f381c0","title":"green-s","weight_unit":"kg","inventory_quantity":998,"sku":"4711144","barcode":"4711144","position":1,"option1":"green","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/aa6f799169c49b3957b34f1fbbf4d8f1.webp","path":"aa6f799169c49b3957b34f1fbbf4d8f1.webp","width":600,"height":900,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":34.99,"min_quantity":1}],"weight":"0.4","compare_at_price":"0","price":"34.99","retail_price":"0","available":true,"url":"\/products\/fashion-sleeveless-floral-print-maxi-dress-1-3qwh?variant=e75c9234-4ec1-4df4-8482-2d2c067d0b57","available_quantity":999999999,"options":[{"name":"Color","value":"green"},{"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 : 4711144
Weight : 0.4kg
Barcode : 4711144
${function(){
const variantData = data.variant || {"id":"e75c9234-4ec1-4df4-8482-2d2c067d0b57","product_id":"e028bcab-55d0-432a-8616-626659f381c0","title":"green-s","weight_unit":"kg","inventory_quantity":998,"sku":"4711144","barcode":"4711144","position":1,"option1":"green","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/aa6f799169c49b3957b34f1fbbf4d8f1.webp","path":"aa6f799169c49b3957b34f1fbbf4d8f1.webp","width":600,"height":900,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":34.99,"min_quantity":1}],"weight":"0.4","compare_at_price":"0","price":"34.99","retail_price":"0","available":true,"url":"\/products\/fashion-sleeveless-floral-print-maxi-dress-1-3qwh?variant=e75c9234-4ec1-4df4-8482-2d2c067d0b57","available_quantity":999999999,"options":[{"name":"Color","value":"green"},{"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}
`
}()}