${function() {
const variantData = data.variant || {"id":"1d9b88b5-f2c6-4073-a86d-093d48523873","product_id":"b979fccc-6170-4413-8df4-f179812a6515","title":"Black-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL2302073914-Black-S","barcode":"","position":7,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7b9300f52d3328165d8ddfcc33092feb.png","path":"7b9300f52d3328165d8ddfcc33092feb.png","width":1030,"height":1339,"alt":"You Are Amazing Beautiful And Enough Sweatshirt","aspect_ratio":0.7692307692307693},"wholesale_price":[{"price":34.67,"min_quantity":1}],"weight":"0.4","compare_at_price":"42","price":"34.67","retail_price":"42","available":true,"url":"\/products\/you-are-amazing-beautiful-and-enough-sweatshirt-497k?variant=1d9b88b5-f2c6-4073-a86d-093d48523873","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"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.