${function() {
const variantData = data.variant || {"id":"2a7b3864-811c-44ff-9238-6b31c8e80eda","product_id":"4d9ba1eb-8771-4e5b-9eb3-c3f6c40f1f22","title":"white-S","weight_unit":"kg","inventory_quantity":-1,"sku":"WL2023A9120A0-white-S","barcode":"","position":1,"option1":"white","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/daf5d8f3ffb019e4bd90ca6de96aaf92.jpeg","path":"daf5d8f3ffb019e4bd90ca6de96aaf92.jpeg","width":984,"height":1278,"alt":"Wife Mom Boss T-Shirt","aspect_ratio":0.7699530516431925},"wholesale_price":[{"price":25,"min_quantity":1}],"weight":"0","compare_at_price":"35","price":"25","retail_price":"35","available":true,"url":"\/products\/wife-mom-boss-t-shirt?variant=2a7b3864-811c-44ff-9238-6b31c8e80eda","available_quantity":999999999,"options":[{"name":"color","value":"white"},{"name":"size","value":"S"}],"off_ratio":29,"flashsale_info":[],"sales":0};
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.