${function() {
const variantData = data.variant || {"id":"ca3d4785-b10d-4fd6-822c-02de5cf245e8","product_id":"059c964c-c65b-432c-802a-4701fce009af","title":"Black-One Size","weight_unit":"g","inventory_quantity":679,"sku":"102159450001","barcode":"","position":1,"option1":"Black","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a23ce1a6175da73daafc41727b7d90ce.jpg","path":"a23ce1a6175da73daafc41727b7d90ce.jpg","width":1080,"height":1080,"alt":"Goth Pro Shops Letter Baseball Cap - ","aspect_ratio":1},"wholesale_price":[{"price":12.98,"min_quantity":1}],"weight":"85","compare_at_price":"19.98","price":"12.98","retail_price":"19.98","available":true,"url":"\/products\/goth-pro-shops-letter-baseball-cap?variant=ca3d4785-b10d-4fd6-822c-02de5cf245e8","available_quantity":679,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"One Size"}],"off_ratio":35,"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":"ca3d4785-b10d-4fd6-822c-02de5cf245e8","product_id":"059c964c-c65b-432c-802a-4701fce009af","title":"Black-One Size","weight_unit":"g","inventory_quantity":679,"sku":"102159450001","barcode":"","position":1,"option1":"Black","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a23ce1a6175da73daafc41727b7d90ce.jpg","path":"a23ce1a6175da73daafc41727b7d90ce.jpg","width":1080,"height":1080,"alt":"Goth Pro Shops Letter Baseball Cap - ","aspect_ratio":1},"wholesale_price":[{"price":12.98,"min_quantity":1}],"weight":"85","compare_at_price":"19.98","price":"12.98","retail_price":"19.98","available":true,"url":"\/products\/goth-pro-shops-letter-baseball-cap?variant=ca3d4785-b10d-4fd6-822c-02de5cf245e8","available_quantity":679,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"One Size"}],"off_ratio":35,"flashsale_info":[],"sales":28};
return `
`
}()}