${function() {
const variantData = data.variant || {"id":"f3cb0905-b195-4d03-9e04-01337a2c517b","product_id":"56491af2-6e56-4b94-b476-0589351def79","title":"Yellow-S","weight_unit":"g","inventory_quantity":999,"sku":"XHeLBPmTV-Yellow-S","barcode":"","position":1,"option1":"Yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5ead10fb920b3815216b566ee77b230c.jpeg","path":"5ead10fb920b3815216b566ee77b230c.jpeg","width":962,"height":962,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":31.89,"min_quantity":1}],"weight":"300","compare_at_price":"45","price":"31.89","retail_price":"45","available":true,"url":"\/products\/trendy-and-fashionable-retro-gradient-zipper-hoodie?variant=f3cb0905-b195-4d03-9e04-01337a2c517b","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"S"}],"off_ratio":29,"flashsale_info":[],"sales":3};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = false;
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 : XHeLBPmTV-Yellow-S
Weight : 300g
${function(){
const variantData = data.variant || {"id":"f3cb0905-b195-4d03-9e04-01337a2c517b","product_id":"56491af2-6e56-4b94-b476-0589351def79","title":"Yellow-S","weight_unit":"g","inventory_quantity":999,"sku":"XHeLBPmTV-Yellow-S","barcode":"","position":1,"option1":"Yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5ead10fb920b3815216b566ee77b230c.jpeg","path":"5ead10fb920b3815216b566ee77b230c.jpeg","width":962,"height":962,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":31.89,"min_quantity":1}],"weight":"300","compare_at_price":"45","price":"31.89","retail_price":"45","available":true,"url":"\/products\/trendy-and-fashionable-retro-gradient-zipper-hoodie?variant=f3cb0905-b195-4d03-9e04-01337a2c517b","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"S"}],"off_ratio":29,"flashsale_info":[],"sales":3};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}