${function() {
const variantData = data.variant || {"id":"065fb313-c539-43a3-9500-d8958b27177a","product_id":"c39950d9-5177-4ae8-8d4f-42c26e04d7da","title":"yellow-S","weight_unit":"kg","inventory_quantity":0,"sku":"662306152858-yellow-S","barcode":"","position":1,"option1":"yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/678e461115bf4f5a61ecda0f7a679b6f.jpeg","path":"678e461115bf4f5a61ecda0f7a679b6f.jpeg","width":800,"height":1000,"alt":"Summer Vacation Casual Short Sleeve Tie Pocket Dress","aspect_ratio":0.8},"wholesale_price":[{"price":47.99,"min_quantity":1}],"weight":"0.4","compare_at_price":"60","price":"47.99","retail_price":"60","available":true,"url":"\/products\/summer-vacation-casual-short-sleeve-tie-pocket-dress?variant=065fb313-c539-43a3-9500-d8958b27177a","available_quantity":999999999,"options":[{"name":"Color","value":"yellow"},{"name":"Size","value":"S"}],"off_ratio":20,"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.