${function() {
const variantData = data.variant || {"id":"d2bc0807-250e-4450-8ee3-c03488c847db","product_id":"ddff752c-c251-4099-9ed5-af35ebc2b2eb","title":"Yellow-M","weight_unit":"kg","inventory_quantity":1000,"sku":"2110531957888-Yellow-M","barcode":"","position":1,"option1":"Yellow","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f52f33e90638bc51effe7c9ce2301b25.jpeg","path":"f52f33e90638bc51effe7c9ce2301b25.jpeg","width":633,"height":844,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":27.99,"min_quantity":1}],"weight":"0","compare_at_price":"29.99","price":"27.99","retail_price":"29.99","available":true,"url":"\/products\/royaura-c2-ae-vintage-mermaid-tattoo-print-stretch-quick-drying-camping-outdoor-pocket-shirt?variant=d2bc0807-250e-4450-8ee3-c03488c847db","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"M"}],"off_ratio":7,"flashsale_info":[],"sales":0};
const saveType = "amount";
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.