${function() {
const variantData = data.variant || {"id":"18c2fd28-9d28-41f2-a829-96a6b2a016f6","product_id":"44b80842-99df-4389-bd9d-eb0f989baaff","title":"white-S","weight_unit":"kg","inventory_quantity":1000,"sku":"Zero--white-S-A0023244","barcode":"","position":13,"option1":"white","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/dd502eda4b96c2733fbd8972c2b211b2.jpg","path":"dd502eda4b96c2733fbd8972c2b211b2.jpg","width":596,"height":596,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":33.99,"min_quantity":1}],"weight":"0","compare_at_price":"55.99","price":"33.99","retail_price":"55.99","available":true,"url":"\/products\/girl-mama-sweatshirt?variant=18c2fd28-9d28-41f2-a829-96a6b2a016f6","available_quantity":999999999,"options":[{"name":"color","value":"white"},{"name":"size","value":"S"}],"off_ratio":39,"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":"18c2fd28-9d28-41f2-a829-96a6b2a016f6","product_id":"44b80842-99df-4389-bd9d-eb0f989baaff","title":"white-S","weight_unit":"kg","inventory_quantity":1000,"sku":"Zero--white-S-A0023244","barcode":"","position":13,"option1":"white","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/dd502eda4b96c2733fbd8972c2b211b2.jpg","path":"dd502eda4b96c2733fbd8972c2b211b2.jpg","width":596,"height":596,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":33.99,"min_quantity":1}],"weight":"0","compare_at_price":"55.99","price":"33.99","retail_price":"55.99","available":true,"url":"\/products\/girl-mama-sweatshirt?variant=18c2fd28-9d28-41f2-a829-96a6b2a016f6","available_quantity":999999999,"options":[{"name":"color","value":"white"},{"name":"size","value":"S"}],"off_ratio":39,"flashsale_info":[],"sales":0};
return `
`
}()}