${function() {
const variantData = data.variant || {"id":"9cb73e28-9202-41dc-a16e-661b0d74136f","product_id":"26cbf92c-98d0-4d53-85cf-1fa44089fdbe","title":"pink-S","weight_unit":"kg","inventory_quantity":0,"sku":"66230510969-pink-S","barcode":"","position":6,"option1":"pink","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/dd68bdb1890ba4142fdacf87ddd05ba0.jpeg","path":"dd68bdb1890ba4142fdacf87ddd05ba0.jpeg","width":800,"height":800,"alt":"Thin and elegant loose wide-leg casual cropped pants","aspect_ratio":1},"wholesale_price":[{"price":41.59,"min_quantity":1}],"weight":"0.35","compare_at_price":"50","price":"41.59","retail_price":"50","available":true,"url":"\/products\/thin-and-elegant-loose-wide-leg-casual-cropped-pants?variant=9cb73e28-9202-41dc-a16e-661b0d74136f","available_quantity":999999999,"options":[{"name":"color","value":"pink"},{"name":"size","value":"S"}],"off_ratio":17,"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.