${function() {
const variantData = data.variant || {"id":"f4560428-32b4-47f7-b8e2-1b9a1579cb9f","product_id":"5133ffc3-091a-4b38-b133-0636940f248e","title":"black-S","weight_unit":"kg","inventory_quantity":-2,"sku":"WL2023A912286-black-S","barcode":"","position":2,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e56b820be0f7a5d63829b2c9a769d411.jpeg","path":"e56b820be0f7a5d63829b2c9a769d411.jpeg","width":808,"height":808,"alt":"Rockin This Mom Life Sweatshirt","aspect_ratio":1},"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=f4560428-32b4-47f7-b8e2-1b9a1579cb9f","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"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.