${function() {
const variantData = data.variant || {"id":"3e3ed094-2a3a-44a8-bf3d-61c93441e101","product_id":"e613545f-876e-4154-a254-f6938b959579","title":"Gray-S","weight_unit":"kg","inventory_quantity":1000,"sku":"QZJYLxW5VL-Gray-S","barcode":"","position":1,"option1":"Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0ee80c5ae0c54b9f9675b70415bdcf09.jpeg","path":"0ee80c5ae0c54b9f9675b70415bdcf09.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0","compare_at_price":"34.99","price":"25.99","retail_price":"34.99","available":true,"url":"\/products\/elastic-waist-wide-leg-pants?variant=3e3ed094-2a3a-44a8-bf3d-61c93441e101","available_quantity":999999999,"options":[{"name":"Color","value":"Gray"},{"name":"Size","value":"S"}],"off_ratio":26,"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":"3e3ed094-2a3a-44a8-bf3d-61c93441e101","product_id":"e613545f-876e-4154-a254-f6938b959579","title":"Gray-S","weight_unit":"kg","inventory_quantity":1000,"sku":"QZJYLxW5VL-Gray-S","barcode":"","position":1,"option1":"Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0ee80c5ae0c54b9f9675b70415bdcf09.jpeg","path":"0ee80c5ae0c54b9f9675b70415bdcf09.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0","compare_at_price":"34.99","price":"25.99","retail_price":"34.99","available":true,"url":"\/products\/elastic-waist-wide-leg-pants?variant=3e3ed094-2a3a-44a8-bf3d-61c93441e101","available_quantity":999999999,"options":[{"name":"Color","value":"Gray"},{"name":"Size","value":"S"}],"off_ratio":26,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}