${function() {
const variantData = data.variant || {"id":"17c535f2-fc02-448e-9424-2df615825815","product_id":"6685b5c9-5235-45bb-8e69-f1947370148e","title":"Colorful-S","weight_unit":"kg","inventory_quantity":1000,"sku":"WA0704064-Colorful-S","barcode":"","position":1,"option1":"Colorful","option2":"S","option3":"","note":"","image":null,"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"33.99","price":"19.99","retail_price":"33.99","available":true,"url":"\/products\/unisex-hippies-graphic-print-tank-top-2?variant=17c535f2-fc02-448e-9424-2df615825815","available_quantity":999999999,"options":[{"name":"Color","value":"Colorful"},{"name":"Size","value":"S"}],"off_ratio":41,"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.