${function() {
const variantData = data.variant || {"id":"915315e1-76be-44d6-a568-13aa29f3926f","product_id":"402482f9-e3c2-4f5d-b93c-d2c5ae8b3495","title":"Beige-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL2308183197-Beige-S","barcode":"","position":1,"option1":"Beige","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c4fd9fefd84da8154237056c0ecdf058.jpeg","path":"c4fd9fefd84da8154237056c0ecdf058.jpeg","width":800,"height":800,"alt":"Kawaii Ghost Sweatshirt","aspect_ratio":1},"wholesale_price":[{"price":33.22,"min_quantity":1}],"weight":"0.35","compare_at_price":"55","price":"33.22","retail_price":"55","available":true,"url":"\/products\/kawaii-ghost-sweatshirt?variant=915315e1-76be-44d6-a568-13aa29f3926f","available_quantity":999999999,"options":[{"name":"Color","value":"Beige"},{"name":"Size","value":"S"}],"off_ratio":40,"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.