${function() {
const variantData = data.variant || {"id":"968a247b-0491-4361-8c80-1ebf1451729b","product_id":"a4396852-1927-4fce-80ec-0a59d9208c51","title":"S-white","weight_unit":"kg","inventory_quantity":1000,"sku":"240402-27-S-white","barcode":"","position":9,"option1":"S","option2":"white","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/43f967d93532133f0e3e2ab1ab04e329.jpeg","path":"43f967d93532133f0e3e2ab1ab04e329.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"19.99","retail_price":"0","available":true,"url":"\/products\/mens-t-shirt-gay-lgbt-bear-popsicle901feb23-6d63-4be1-9951-c0c511535904-xn1n-8hka-eeoq-jx2m0d9fb18a-e025-415f-a41a-cde13054c745?variant=968a247b-0491-4361-8c80-1ebf1451729b","available_quantity":999999999,"options":[{"name":"Size","value":"S"},{"name":"color","value":"white"}],"off_ratio":0,"flashsale_info":[],"sales":17};
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.