${function() {
const variantData = data.variant || {"id":"0e1cdd22-f52f-48b9-81b5-3146d0ec1969","product_id":"7f3e22e9-5d6b-426d-aa36-4384962b318b","title":"White-M","weight_unit":"kg","inventory_quantity":1000,"sku":"SH2404178670-White-M","barcode":"","position":1,"option1":"White","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d8783319bf3efeddc33601a143730eef.png","path":"d8783319bf3efeddc33601a143730eef.png","width":640,"height":800,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":52.99,"min_quantity":1}],"weight":"0","compare_at_price":"59.95","price":"52.99","retail_price":"59.95","available":true,"url":"\/products\/mens-v-neck-luxury-independence-day-color-block-textured-print-shorts-set-0112ad15b93-7327-42ee-9e92-4cc978ad6d41?variant=0e1cdd22-f52f-48b9-81b5-3146d0ec1969","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"M"}],"off_ratio":12,"flashsale_info":[],"sales":0};
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.