${function() {
const variantData = data.variant || {"id":"a27f3d65-a542-47a3-b391-3c0b9d423cff","product_id":"f93fa49f-b36e-4722-99a4-6c357fa2c8db","title":"blue-s","weight_unit":"kg","inventory_quantity":0,"sku":"Lin21041427-blue-s","barcode":"","position":3,"option1":"blue","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/da814ab04ef16b8e5c32997d0f72a562.jpeg","path":"da814ab04ef16b8e5c32997d0f72a562.jpeg","width":1200,"height":1600,"alt":"Casual High Waist Self-tie Short Pants","aspect_ratio":0.75},"wholesale_price":[{"price":24.15,"min_quantity":1}],"weight":"0","compare_at_price":"47.35","price":"24.15","retail_price":"47.35","available":true,"url":"\/products\/casual-high-waist-self-tie-short-pants-k8c4?variant=a27f3d65-a542-47a3-b391-3c0b9d423cff","available_quantity":999999999,"options":[{"name":"color","value":"blue"},{"name":"size","value":"s"}],"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.