${function() {
const variantData = data.variant || {"id":"d2596ccd-2865-456b-bf74-eb794ea06b42","product_id":"8286b0cd-6b92-4953-851e-ff61cd070e81","title":"Black-L","weight_unit":"kg","inventory_quantity":0,"sku":"77210923866-Black-L","barcode":"","position":1,"option1":"Black","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/542aba7777bba4479289c2fed68733d7.jpeg","path":"542aba7777bba4479289c2fed68733d7.jpeg","width":800,"height":800,"alt":"Casual Solid Color Long Sleeves Hooded Sweatshirt Two-piece","aspect_ratio":1},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0.64","compare_at_price":"50.58","price":"25.99","retail_price":"50.58","available":true,"url":"\/products\/casual-solid-color-long-sleeves-hooded-sweatshirt-two-piece?variant=d2596ccd-2865-456b-bf74-eb794ea06b42","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"L"}],"off_ratio":49,"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.