${function() {
const variantData = data.variant || {"id":"d8d35b6d-ae27-4360-9275-2b03ef71109d","product_id":"6ae370d8-2ae5-4c8e-b3be-c26dfd386a33","title":"pink-5XL","weight_unit":"kg","inventory_quantity":0,"sku":"662112211661-pink-5XL","barcode":"","position":17,"option1":"pink","option2":"5XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c505566fbf8c85c8b4b3d5c6641cab02.jpeg","path":"c505566fbf8c85c8b4b3d5c6641cab02.jpeg","width":700,"height":933,"alt":"Fashion loose casual two-piece set","aspect_ratio":0.7502679528403001},"wholesale_price":[{"price":48.99,"min_quantity":1}],"weight":"0","compare_at_price":"59.02","price":"48.99","retail_price":"59.02","available":true,"url":"\/products\/fashion-loose-casual-two-piece-set?variant=d8d35b6d-ae27-4360-9275-2b03ef71109d","available_quantity":999999999,"options":[{"name":"color","value":"pink"},{"name":"size","value":"5XL"}],"off_ratio":17,"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.