${function() {
const variantData = data.variant || {"id":"5803b266-cf73-49b0-9e05-024bb3e96656","product_id":"d64dc847-fc71-401a-803b-f7497b580208","title":"Black-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL2308183211-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0c0641932758f4e693308333caedfff0.jpeg","path":"0c0641932758f4e693308333caedfff0.jpeg","width":800,"height":800,"alt":"Boo Haw Western T-Shirt","aspect_ratio":1},"wholesale_price":[{"price":22.98,"min_quantity":1}],"weight":"0.2","compare_at_price":"35","price":"22.98","retail_price":"35","available":true,"url":"\/products\/boo-haw-western-t-shirt?variant=5803b266-cf73-49b0-9e05-024bb3e96656","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":34,"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.