${function() {
const variantData = data.variant || {"id":"09db9631-5a31-44ed-a819-1a9f1c0c75fc","product_id":"4c1ede90-458e-4644-bbdd-5612894fcaa7","title":"Blue Printing-S","weight_unit":"kg","inventory_quantity":1000,"sku":"GH202301115-Blue Printing-S","barcode":"","position":1,"option1":"Blue Printing","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9502d6b2be581643c8ae192ed0edde0e.jpeg","path":"9502d6b2be581643c8ae192ed0edde0e.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":36.47,"min_quantity":1}],"weight":"0","compare_at_price":"72.94","price":"36.47","retail_price":"72.94","available":true,"url":"\/products\/elegant-v-neck-printed-high-waist-loose-big-hem-dress-for-women?variant=09db9631-5a31-44ed-a819-1a9f1c0c75fc","available_quantity":999999999,"options":[{"name":"Color","value":"Blue Printing"},{"name":"Size","value":"S"}],"off_ratio":50,"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.
${function(){
const variantData = data.variant || {"id":"09db9631-5a31-44ed-a819-1a9f1c0c75fc","product_id":"4c1ede90-458e-4644-bbdd-5612894fcaa7","title":"Blue Printing-S","weight_unit":"kg","inventory_quantity":1000,"sku":"GH202301115-Blue Printing-S","barcode":"","position":1,"option1":"Blue Printing","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9502d6b2be581643c8ae192ed0edde0e.jpeg","path":"9502d6b2be581643c8ae192ed0edde0e.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":36.47,"min_quantity":1}],"weight":"0","compare_at_price":"72.94","price":"36.47","retail_price":"72.94","available":true,"url":"\/products\/elegant-v-neck-printed-high-waist-loose-big-hem-dress-for-women?variant=09db9631-5a31-44ed-a819-1a9f1c0c75fc","available_quantity":999999999,"options":[{"name":"Color","value":"Blue Printing"},{"name":"Size","value":"S"}],"off_ratio":50,"flashsale_info":[],"sales":0};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}