${function() {
const variantData = data.variant || {"id":"460c4457-407a-44c8-b206-fb22cd075db6","product_id":"f3263d23-7e0d-45b3-98a0-985aa0b9cab0","title":"White-S","weight_unit":"g","inventory_quantity":584,"sku":"101919390001","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c448ca476db7d735e35618b7cd5693cf.jpeg","path":"c448ca476db7d735e35618b7cd5693cf.jpeg","width":2000,"height":2000,"alt":"Good Times Bad Habits Skull Print Men's Vest - ","aspect_ratio":1},"wholesale_price":[{"price":13.98,"min_quantity":1}],"weight":"200","compare_at_price":"19.98","price":"13.98","retail_price":"19.98","available":true,"url":"\/products\/good-times-bad-habits-skull-print-mens-vest?variant=460c4457-407a-44c8-b206-fb22cd075db6","available_quantity":584,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":3};
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":"460c4457-407a-44c8-b206-fb22cd075db6","product_id":"f3263d23-7e0d-45b3-98a0-985aa0b9cab0","title":"White-S","weight_unit":"g","inventory_quantity":584,"sku":"101919390001","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c448ca476db7d735e35618b7cd5693cf.jpeg","path":"c448ca476db7d735e35618b7cd5693cf.jpeg","width":2000,"height":2000,"alt":"Good Times Bad Habits Skull Print Men's Vest - ","aspect_ratio":1},"wholesale_price":[{"price":13.98,"min_quantity":1}],"weight":"200","compare_at_price":"19.98","price":"13.98","retail_price":"19.98","available":true,"url":"\/products\/good-times-bad-habits-skull-print-mens-vest?variant=460c4457-407a-44c8-b206-fb22cd075db6","available_quantity":584,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":3};
return `
`
}()}