${function() {
const variantData = data.variant || {"id":"bd566bc5-607d-4ace-b0e7-986ba9a10b1c","product_id":"e7e03feb-8afc-41a5-b188-a5653621ea8d","title":"blue-S","weight_unit":"kg","inventory_quantity":0,"sku":"662210093068-blue-S","barcode":"","position":1,"option1":"blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/aff9491fd3222cbfb74ba13b33e61f39.jpeg","path":"aff9491fd3222cbfb74ba13b33e61f39.jpeg","width":800,"height":800,"alt":"New loose and casual all-match simple and slim jeans","aspect_ratio":1},"wholesale_price":[{"price":38.79,"min_quantity":1}],"weight":"0.5","compare_at_price":"76.06","price":"38.79","retail_price":"76.06","available":true,"url":"\/products\/new-loose-and-casual-all-match-simple-and-slim-jeans?variant=bd566bc5-607d-4ace-b0e7-986ba9a10b1c","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.