${function() {
const variantData = data.variant || {"id":"05ca17bd-ae43-4786-b265-74d5c77d99a9","product_id":"4eacf276-a485-4f9e-b1f3-57626b63f7a0","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"WSS265433-BLA00S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/42eeb614ca8b96d239bfe251e0f07f99.jpeg","path":"42eeb614ca8b96d239bfe251e0f07f99.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0","compare_at_price":"33.99","price":"24.99","retail_price":"33.99","available":true,"url":"\/products\/womens-funny-eat-sleep-walk-dogs-repeat-dog-lovers-casual-sweatshirt?variant=05ca17bd-ae43-4786-b265-74d5c77d99a9","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":26,"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.