${function() {
const variantData = data.variant || {"id":"012f753f-1b6f-403b-bde4-01c71628f863","product_id":"3023ab97-5612-4462-8e3f-3eb6509bfb13","title":"Blue-S","weight_unit":"kg","inventory_quantity":1000,"sku":"HY1590-Blue-S","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/495e3dbaecd40e4d5538160d706c06c0.jpeg","path":"495e3dbaecd40e4d5538160d706c06c0.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":30.99,"min_quantity":1}],"weight":"0","compare_at_price":"44.99","price":"30.99","retail_price":"44.99","available":true,"url":"\/products\/womens-retro-herringbone-print-loose-casual-pants-2?variant=012f753f-1b6f-403b-bde4-01c71628f863","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":31,"flashsale_info":[],"sales":0};
const saveType = "amount";
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":"012f753f-1b6f-403b-bde4-01c71628f863","product_id":"3023ab97-5612-4462-8e3f-3eb6509bfb13","title":"Blue-S","weight_unit":"kg","inventory_quantity":1000,"sku":"HY1590-Blue-S","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/495e3dbaecd40e4d5538160d706c06c0.jpeg","path":"495e3dbaecd40e4d5538160d706c06c0.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":30.99,"min_quantity":1}],"weight":"0","compare_at_price":"44.99","price":"30.99","retail_price":"44.99","available":true,"url":"\/products\/womens-retro-herringbone-print-loose-casual-pants-2?variant=012f753f-1b6f-403b-bde4-01c71628f863","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":31,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}