${function() {
const variantData = data.variant || {"id":"9ea4452e-b36c-45fd-90c8-98af3d92f0be","product_id":"8264a2aa-712d-41dd-84b9-77123e897c7f","title":"White-S","weight_unit":"kg","inventory_quantity":1000,"sku":"141-231026-22-MT007785S6-White-S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8eb53699a78fe46f2a71b5ef2aef4255.jpeg","path":"8eb53699a78fe46f2a71b5ef2aef4255.jpeg","width":1701,"height":2268,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0.45","compare_at_price":"29.99","price":"29.99","retail_price":"29.99","available":true,"url":"\/products\/funny-art-dog-print-knit-pullover-sweater?variant=9ea4452e-b36c-45fd-90c8-98af3d92f0be","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"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.