${function() {
const variantData = data.variant || {"id":"40bfeaf9-203c-4c39-aeac-1370090554e3","product_id":"b6a80b87-c5cf-47b7-9801-8bf2cde17a0f","title":"Colorful-M","weight_unit":"kg","inventory_quantity":993,"sku":"103-221105-22-MB0045C4YC-Colorful-M","barcode":"","position":1,"option1":"Colorful","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9a44bd635ad8b115ea7fbd1aeeffc227.jpeg","path":"9a44bd635ad8b115ea7fbd1aeeffc227.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":38.99,"min_quantity":1}],"weight":"0.5","compare_at_price":"38.99","price":"38.99","retail_price":"38.99","available":true,"url":"\/products\/mens-art-fashion-color-waffle-print-casual-pants-4?variant=40bfeaf9-203c-4c39-aeac-1370090554e3","available_quantity":999999999,"options":[{"name":"Color","value":"Colorful"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
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.