${function() {
const variantData = data.variant || {"id":"fec30d83-0a8f-453d-9b46-312bc1c4db84","product_id":"2badc2d7-8f42-46a1-b2ff-64f14801daaa","title":"Black-L","weight_unit":"kg","inventory_quantity":0,"sku":"662208301809-Black-L","barcode":"","position":1,"option1":"Black","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1a629d4f94ebf80020bfae7466547d26.jpeg","path":"1a629d4f94ebf80020bfae7466547d26.jpeg","width":800,"height":1000,"alt":"Sweater Baseball Jacket Pants Fashion Casual Set","aspect_ratio":0.8},"wholesale_price":[{"price":55.52,"min_quantity":1}],"weight":"0.76","compare_at_price":"66.89","price":"55.52","retail_price":"66.89","available":true,"url":"\/products\/sweater-baseball-jacket-pants-fashion-casual-set?variant=fec30d83-0a8f-453d-9b46-312bc1c4db84","available_quantity":999999999,"options":[{"name":"color","value":"Black"},{"name":"size","value":"L"}],"off_ratio":17,"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.