${function() {
const variantData = data.variant || {"id":"985f749e-b319-4b92-b7ce-f4bd43c2cf23","product_id":"10c5fa97-0bd3-4f0d-b4f7-8f171328f754","title":"White-S","weight_unit":"g","inventory_quantity":679,"sku":"102032150001","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/99194ffa61ed1e788195ed9ecae92d2a.jpeg","path":"99194ffa61ed1e788195ed9ecae92d2a.jpeg","width":2000,"height":2000,"alt":"Bundled Game Printed Men's T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":14.98,"min_quantity":1}],"weight":"250","compare_at_price":"21.48","price":"14.98","retail_price":"21.48","available":true,"url":"\/products\/bundled-game-printed-mens-t-shirt?variant=985f749e-b319-4b92-b7ce-f4bd43c2cf23","available_quantity":679,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":28};
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":"985f749e-b319-4b92-b7ce-f4bd43c2cf23","product_id":"10c5fa97-0bd3-4f0d-b4f7-8f171328f754","title":"White-S","weight_unit":"g","inventory_quantity":679,"sku":"102032150001","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/99194ffa61ed1e788195ed9ecae92d2a.jpeg","path":"99194ffa61ed1e788195ed9ecae92d2a.jpeg","width":2000,"height":2000,"alt":"Bundled Game Printed Men's T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":14.98,"min_quantity":1}],"weight":"250","compare_at_price":"21.48","price":"14.98","retail_price":"21.48","available":true,"url":"\/products\/bundled-game-printed-mens-t-shirt?variant=985f749e-b319-4b92-b7ce-f4bd43c2cf23","available_quantity":679,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":28};
return `
`
}()}