${function() {
const variantData = data.variant || {"id":"82873f4d-2441-4eb2-a995-e7c5d256966d","product_id":"7be506ac-d827-4dc4-ac3e-8d2ffe72f574","title":"Black-M","weight_unit":"g","inventory_quantity":871,"sku":"102258590001","barcode":"","position":1,"option1":"Black","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5899d3dfda07e8607bd88ef886bb6295.jpeg","path":"5899d3dfda07e8607bd88ef886bb6295.jpeg","width":800,"height":800,"alt":"Tax The Church Print Men's Shorts - ","aspect_ratio":1},"wholesale_price":[{"price":21.98,"min_quantity":1}],"weight":"241","compare_at_price":"31.48","price":"21.98","retail_price":"31.48","available":true,"url":"\/products\/tax-the-church-print-mens-shorts?variant=82873f4d-2441-4eb2-a995-e7c5d256966d","available_quantity":871,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"M"}],"off_ratio":30,"flashsale_info":[],"sales":1};
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":"82873f4d-2441-4eb2-a995-e7c5d256966d","product_id":"7be506ac-d827-4dc4-ac3e-8d2ffe72f574","title":"Black-M","weight_unit":"g","inventory_quantity":871,"sku":"102258590001","barcode":"","position":1,"option1":"Black","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5899d3dfda07e8607bd88ef886bb6295.jpeg","path":"5899d3dfda07e8607bd88ef886bb6295.jpeg","width":800,"height":800,"alt":"Tax The Church Print Men's Shorts - ","aspect_ratio":1},"wholesale_price":[{"price":21.98,"min_quantity":1}],"weight":"241","compare_at_price":"31.48","price":"21.98","retail_price":"31.48","available":true,"url":"\/products\/tax-the-church-print-mens-shorts?variant=82873f4d-2441-4eb2-a995-e7c5d256966d","available_quantity":871,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"M"}],"off_ratio":30,"flashsale_info":[],"sales":1};
return `
`
}()}