${function() {
const variantData = data.variant || {"id":"98efec20-6c7e-4188-803b-3b40f880ac4d","product_id":"96c88847-d20d-448a-88ab-0bedd34c505b","title":"Black-S","weight_unit":"g","inventory_quantity":510,"sku":"102064320007","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d542f6d648353cd7c0f7d51a500a67a9.jpg","path":"d542f6d648353cd7c0f7d51a500a67a9.jpg","width":800,"height":800,"alt":"Snake And The Girl Printed Men's Hoodie - ","aspect_ratio":1},"wholesale_price":[{"price":31.98,"min_quantity":1}],"weight":"480","compare_at_price":"45.98","price":"31.98","retail_price":"45.98","available":true,"url":"\/products\/snake-and-the-girl-printed-mens-hoodie?variant=98efec20-6c7e-4188-803b-3b40f880ac4d","available_quantity":510,"options":[{"name":"Color","value":"Black"},{"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":"98efec20-6c7e-4188-803b-3b40f880ac4d","product_id":"96c88847-d20d-448a-88ab-0bedd34c505b","title":"Black-S","weight_unit":"g","inventory_quantity":510,"sku":"102064320007","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d542f6d648353cd7c0f7d51a500a67a9.jpg","path":"d542f6d648353cd7c0f7d51a500a67a9.jpg","width":800,"height":800,"alt":"Snake And The Girl Printed Men's Hoodie - ","aspect_ratio":1},"wholesale_price":[{"price":31.98,"min_quantity":1}],"weight":"480","compare_at_price":"45.98","price":"31.98","retail_price":"45.98","available":true,"url":"\/products\/snake-and-the-girl-printed-mens-hoodie?variant=98efec20-6c7e-4188-803b-3b40f880ac4d","available_quantity":510,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":3};
return `
`
}()}