${function() {
const variantData = data.variant || {"id":"3d5572af-43cd-4696-8d1b-0b9d43958e9f","product_id":"8602466d-8b3e-437a-bf42-069a1dc40d6a","title":"Black-S","weight_unit":"g","inventory_quantity":539,"sku":"SKU102258550001","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6524cd9ff23230158a1b3165c4405f62.jpeg","path":"6524cd9ff23230158a1b3165c4405f62.jpeg","width":800,"height":800,"alt":"Choke Me Daddy Print Men's Shorts - ","aspect_ratio":1},"wholesale_price":[{"price":21.98,"min_quantity":1}],"weight":"270","compare_at_price":"31.48","price":"21.98","retail_price":"31.48","available":true,"url":"\/products\/choke-me-daddy-print-mens-shorts?variant=3d5572af-43cd-4696-8d1b-0b9d43958e9f","available_quantity":539,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"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":"3d5572af-43cd-4696-8d1b-0b9d43958e9f","product_id":"8602466d-8b3e-437a-bf42-069a1dc40d6a","title":"Black-S","weight_unit":"g","inventory_quantity":539,"sku":"SKU102258550001","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6524cd9ff23230158a1b3165c4405f62.jpeg","path":"6524cd9ff23230158a1b3165c4405f62.jpeg","width":800,"height":800,"alt":"Choke Me Daddy Print Men's Shorts - ","aspect_ratio":1},"wholesale_price":[{"price":21.98,"min_quantity":1}],"weight":"270","compare_at_price":"31.48","price":"21.98","retail_price":"31.48","available":true,"url":"\/products\/choke-me-daddy-print-mens-shorts?variant=3d5572af-43cd-4696-8d1b-0b9d43958e9f","available_quantity":539,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":1};
return `
`
}()}