${function() {
const variantData = data.variant || {"id":"a1b21bc5-9a3f-48da-9ae0-d5e09d38b6ec","product_id":"8c296b46-0db0-4618-bf6b-76420687502a","title":"black-L","weight_unit":"kg","inventory_quantity":0,"sku":"66211013714-black-L","barcode":"","position":4,"option1":"black","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0d7325dd38eaa863c8d1a47bde0e7f7a.jpeg","path":"0d7325dd38eaa863c8d1a47bde0e7f7a.jpeg","width":800,"height":800,"alt":"Autumn and winter knitted wide-leg pants loose casual two-piece trend","aspect_ratio":1},"wholesale_price":[{"price":76.32,"min_quantity":1}],"weight":"0","compare_at_price":"91.95","price":"76.32","retail_price":"91.95","available":true,"url":"\/products\/autumn-and-winter-knitted-wide-leg-pants-loose-casual-two-piece-trend?variant=a1b21bc5-9a3f-48da-9ae0-d5e09d38b6ec","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"name":"size","value":"L"}],"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.