${function() {
const variantData = data.variant || {"id":"4cddad85-2568-4d01-a24f-396cc9f4fbf2","product_id":"41f58a78-60cf-4ca3-a1f0-a98240127d3a","title":"grey-S","weight_unit":"kg","inventory_quantity":1000,"sku":"WL2023A9120AA-grey-S","barcode":"","position":2,"option1":"grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7c4103a4873f6961cc3e29e7a8a23aec.jpeg","path":"7c4103a4873f6961cc3e29e7a8a23aec.jpeg","width":1588,"height":1794,"alt":"Weird Moms Build Character Rainbow Sweatshirt","aspect_ratio":0.8851727982162765},"wholesale_price":[{"price":35,"min_quantity":1}],"weight":"0","compare_at_price":"55","price":"35","retail_price":"55","available":true,"url":"\/products\/weird-moms-build-character-rainbow-sweatshirt-5ikt?variant=4cddad85-2568-4d01-a24f-396cc9f4fbf2","available_quantity":999999999,"options":[{"name":"color","value":"grey"},{"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.