${function() {
const variantData = data.variant || {"id":"9b4e8fb4-c209-4c4e-8ce2-9aace9fd5c1b","product_id":"37f10c67-ac2a-4234-976a-0585160c0cad","title":"red-s","weight_unit":"kg","inventory_quantity":1000,"sku":"3855179","barcode":"3855179","position":1,"option1":"red","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5828b4cacfcd549c54caa7274fce731d.webp","path":"5828b4cacfcd549c54caa7274fce731d.webp","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":19,"min_quantity":1}],"weight":"0.3","compare_at_price":"0","price":"19","retail_price":"0","available":true,"url":"\/products\/v-neck-floral-printed-bodycon-dress?variant=9b4e8fb4-c209-4c4e-8ce2-9aace9fd5c1b","available_quantity":999999999,"options":[{"name":"Color","value":"red"},{"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 : 3855179
Weight : 0.3kg
Barcode : 3855179
${function(){
const variantData = data.variant || {"id":"9b4e8fb4-c209-4c4e-8ce2-9aace9fd5c1b","product_id":"37f10c67-ac2a-4234-976a-0585160c0cad","title":"red-s","weight_unit":"kg","inventory_quantity":1000,"sku":"3855179","barcode":"3855179","position":1,"option1":"red","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5828b4cacfcd549c54caa7274fce731d.webp","path":"5828b4cacfcd549c54caa7274fce731d.webp","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":19,"min_quantity":1}],"weight":"0.3","compare_at_price":"0","price":"19","retail_price":"0","available":true,"url":"\/products\/v-neck-floral-printed-bodycon-dress?variant=9b4e8fb4-c209-4c4e-8ce2-9aace9fd5c1b","available_quantity":999999999,"options":[{"name":"Color","value":"red"},{"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}
`
}()}