${function() {
const variantData = data.variant || {"id":"2aa3bb2c-7cfc-4064-9375-f2443f19e3ed","product_id":"3f6dee08-23ac-43fd-947b-c93dad8b4762","title":"Black-S","weight_unit":"g","inventory_quantity":803,"sku":"100564610006","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ce1e335ce616898a2e27e28823f56b29.jpg","path":"ce1e335ce616898a2e27e28823f56b29.jpg","width":800,"height":800,"alt":"Poker in the rear design T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":14.98,"min_quantity":1}],"weight":"250","compare_at_price":"32.95","price":"14.98","retail_price":"32.95","available":true,"url":"\/products\/poker-in-the-rear-design-t-shirt?variant=2aa3bb2c-7cfc-4064-9375-f2443f19e3ed","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":55,"flashsale_info":[],"sales":1144};
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":"2aa3bb2c-7cfc-4064-9375-f2443f19e3ed","product_id":"3f6dee08-23ac-43fd-947b-c93dad8b4762","title":"Black-S","weight_unit":"g","inventory_quantity":803,"sku":"100564610006","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ce1e335ce616898a2e27e28823f56b29.jpg","path":"ce1e335ce616898a2e27e28823f56b29.jpg","width":800,"height":800,"alt":"Poker in the rear design T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":14.98,"min_quantity":1}],"weight":"250","compare_at_price":"32.95","price":"14.98","retail_price":"32.95","available":true,"url":"\/products\/poker-in-the-rear-design-t-shirt?variant=2aa3bb2c-7cfc-4064-9375-f2443f19e3ed","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":55,"flashsale_info":[],"sales":1144};
return `
`
}()}