${function() {
const variantData = data.variant || {"id":"3dc729ce-d178-4324-ab1e-5d38bc8c2732","product_id":"0062055c-c1a1-42c1-b62f-083cc38402fa","title":"green-S","weight_unit":"kg","inventory_quantity":997,"sku":"WL2023A9123D7-green-S","barcode":"","position":3,"option1":"green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6da64773631d7a3a41c733cab4164c92.jpeg","path":"6da64773631d7a3a41c733cab4164c92.jpeg","width":900,"height":1016,"alt":"I'm not a Regular Mom. I'm a Cool Mom. Sweatshirt","aspect_ratio":0.8858267716535433},"wholesale_price":[{"price":35,"min_quantity":1}],"weight":"0","compare_at_price":"55","price":"35","retail_price":"55","available":true,"url":"\/products\/im-not-a-regular-mom-im-a-cool-mom-sweatshirt?variant=3dc729ce-d178-4324-ab1e-5d38bc8c2732","available_quantity":999999999,"options":[{"name":"color","value":"green"},{"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.