${function() {
const variantData = data.variant || {"id":"53ef015b-aef0-4a03-8aee-8bd8d81790fb","product_id":"3fe6edbc-fbd8-46db-8669-8e1cb124645b","title":"yellow-S","weight_unit":"kg","inventory_quantity":0,"sku":"662303241680-yellow-S","barcode":"","position":13,"option1":"yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d053933c95decc4377502fcc17ada97b.jpeg","path":"d053933c95decc4377502fcc17ada97b.jpeg","width":800,"height":800,"alt":"Dropping cotton and linen cropped wide-leg pants","aspect_ratio":1},"wholesale_price":[{"price":35.61,"min_quantity":1}],"weight":"0.4","compare_at_price":"47","price":"35.61","retail_price":"47","available":true,"url":"\/products\/dropping-cotton-and-linen-cropped-wide-leg-pants?variant=53ef015b-aef0-4a03-8aee-8bd8d81790fb","available_quantity":999999999,"options":[{"name":"color","value":"yellow"},{"name":"Size","value":"S"}],"off_ratio":24,"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.