${function() {
const variantData = data.variant || {"id":"c71703b7-0e81-4237-911f-2ef5d3e10077","product_id":"a4396852-1927-4fce-80ec-0a59d9208c51","title":"S-black","weight_unit":"kg","inventory_quantity":1000,"sku":"240402-27-S-black","barcode":"","position":1,"option1":"S","option2":"black","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3c35ee7ee40f35e46128c86cbbc180c1.jpeg","path":"3c35ee7ee40f35e46128c86cbbc180c1.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=c71703b7-0e81-4237-911f-2ef5d3e10077","available_quantity":999999999,"options":[{"name":"Size","value":"S"},{"name":"color","value":"black"}],"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.