${function() {
const variantData = data.variant || {"id":"b10d4eac-dc3f-47f5-b510-e93a3b8be115","product_id":"d164ae0d-5fb9-41e8-abec-2ce254182d97","title":"White-S","weight_unit":"kg","inventory_quantity":999,"sku":"210494825535-White-S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d07799ae202de0e6960b03bcd99fb73a.jpeg","path":"d07799ae202de0e6960b03bcd99fb73a.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0","compare_at_price":"59.99","price":"29.99","retail_price":"59.99","available":true,"url":"\/products\/floral-mens-resort-hawaiian-3d-printed-shirt-outdoor-holiday-daily-wear-spring-summer-standing-collar-long-sleeve-black-white-s-m-l?variant=b10d4eac-dc3f-47f5-b510-e93a3b8be115","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":50,"flashsale_info":[],"sales":3};
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.