${function() {
const variantData = data.variant || {"id":"161c3544-f388-4438-accf-c4191d76b936","product_id":"a3152d68-b09b-4db9-b855-c584f18c23e6","title":"Black-S","weight_unit":"g","inventory_quantity":685,"sku":"101085460001","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/84a2c1f7acaa7150388f69df81ee289d.jpeg","path":"84a2c1f7acaa7150388f69df81ee289d.jpeg","width":800,"height":800,"alt":"Hang in There Gallows Printed Women's T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":15.98,"min_quantity":1}],"weight":"250","compare_at_price":"21.98","price":"15.98","retail_price":"21.98","available":true,"url":"\/products\/hang-in-there-gallows-printed-womens-t-shirt?variant=161c3544-f388-4438-accf-c4191d76b936","available_quantity":685,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":27,"flashsale_info":[],"sales":42};
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":"161c3544-f388-4438-accf-c4191d76b936","product_id":"a3152d68-b09b-4db9-b855-c584f18c23e6","title":"Black-S","weight_unit":"g","inventory_quantity":685,"sku":"101085460001","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/84a2c1f7acaa7150388f69df81ee289d.jpeg","path":"84a2c1f7acaa7150388f69df81ee289d.jpeg","width":800,"height":800,"alt":"Hang in There Gallows Printed Women's T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":15.98,"min_quantity":1}],"weight":"250","compare_at_price":"21.98","price":"15.98","retail_price":"21.98","available":true,"url":"\/products\/hang-in-there-gallows-printed-womens-t-shirt?variant=161c3544-f388-4438-accf-c4191d76b936","available_quantity":685,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":27,"flashsale_info":[],"sales":42};
return `
`
}()}