${function() {
const variantData = data.variant || {"id":"fa8d1372-3cc6-44cc-82bf-c49a3056f171","product_id":"5133ffc3-091a-4b38-b133-0636940f248e","title":"white-S","weight_unit":"kg","inventory_quantity":-6,"sku":"WL2023A912286-white-S","barcode":"","position":1,"option1":"white","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5168297fe70ea2905ac09f6412fc7a20.jpeg","path":"5168297fe70ea2905ac09f6412fc7a20.jpeg","width":900,"height":1048,"alt":"Rockin This Mom Life Sweatshirt","aspect_ratio":0.8587786259541985},"wholesale_price":[{"price":35,"min_quantity":1}],"weight":"0","compare_at_price":"55","price":"35","retail_price":"55","available":true,"url":"\/products\/rockin-this-mom-life-sweatshirt-h3aw?variant=fa8d1372-3cc6-44cc-82bf-c49a3056f171","available_quantity":999999999,"options":[{"name":"color","value":"white"},{"name":"size","value":"S"}],"off_ratio":36,"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.