${function() {
const variantData = data.variant || {"id":"14ba2bf4-1206-4a58-ad6a-5afeee81d222","product_id":"3ee9e22b-0a7e-4bd0-8988-1d26ca40083b","title":"black-S","weight_unit":"kg","inventory_quantity":998,"sku":"LSN-black-S-A00439882","barcode":"","position":1,"option1":"black","option2":"S","option3":"","note":"","image":null,"wholesale_price":[{"price":22.99,"min_quantity":1}],"weight":"0","compare_at_price":"22.99","price":"22.99","retail_price":"22.99","available":true,"url":"\/products\/womens-vintage-print-elastic-waist-casual-pants?variant=14ba2bf4-1206-4a58-ad6a-5afeee81d222","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"name":"size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":1};
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":"14ba2bf4-1206-4a58-ad6a-5afeee81d222","product_id":"3ee9e22b-0a7e-4bd0-8988-1d26ca40083b","title":"black-S","weight_unit":"kg","inventory_quantity":998,"sku":"LSN-black-S-A00439882","barcode":"","position":1,"option1":"black","option2":"S","option3":"","note":"","image":null,"wholesale_price":[{"price":22.99,"min_quantity":1}],"weight":"0","compare_at_price":"22.99","price":"22.99","retail_price":"22.99","available":true,"url":"\/products\/womens-vintage-print-elastic-waist-casual-pants?variant=14ba2bf4-1206-4a58-ad6a-5afeee81d222","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"name":"size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":1};
return `
`
}()}