${function() {
const variantData = data.variant || {"id":"8b729f3f-19c6-426e-a748-8cb8f6d04ab0","product_id":"00a944ae-3bb9-492a-a4ba-17c515837b96","title":"Black-S","weight_unit":"g","inventory_quantity":532,"sku":"102045200008","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9a1897a4ec47e83a5af8b33e15783597.jpeg","path":"9a1897a4ec47e83a5af8b33e15783597.jpeg","width":2000,"height":2000,"alt":"Satan Nun Printed Men's T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":15.98,"min_quantity":1}],"weight":"250","compare_at_price":"22.98","price":"15.98","retail_price":"22.98","available":true,"url":"\/products\/satan-nun-printed-mens-t-shirt?variant=8b729f3f-19c6-426e-a748-8cb8f6d04ab0","available_quantity":532,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":11};
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":"8b729f3f-19c6-426e-a748-8cb8f6d04ab0","product_id":"00a944ae-3bb9-492a-a4ba-17c515837b96","title":"Black-S","weight_unit":"g","inventory_quantity":532,"sku":"102045200008","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9a1897a4ec47e83a5af8b33e15783597.jpeg","path":"9a1897a4ec47e83a5af8b33e15783597.jpeg","width":2000,"height":2000,"alt":"Satan Nun Printed Men's T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":15.98,"min_quantity":1}],"weight":"250","compare_at_price":"22.98","price":"15.98","retail_price":"22.98","available":true,"url":"\/products\/satan-nun-printed-mens-t-shirt?variant=8b729f3f-19c6-426e-a748-8cb8f6d04ab0","available_quantity":532,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":11};
return `
`
}()}