${function() {
const variantData = data.variant || {"id":"8db9e9ba-e446-485d-8133-37201d70ce38","product_id":"5bd46405-473c-4b85-a545-fad408a34824","title":"gray-one size","weight_unit":"kg","inventory_quantity":0,"sku":"662212052352-gray-one size","barcode":"","position":1,"option1":"gray","option2":"one size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/78c8b51e2ba6c59e343326a02065e054.jpeg","path":"78c8b51e2ba6c59e343326a02065e054.jpeg","width":800,"height":800,"alt":"Design sense denim stitching cardigan jacket","aspect_ratio":1},"wholesale_price":[{"price":74.1,"min_quantity":1}],"weight":"0.7","compare_at_price":"89","price":"74.1","retail_price":"89","available":true,"url":"\/products\/design-sense-denim-stitching-cardigan-jacket?variant=8db9e9ba-e446-485d-8133-37201d70ce38","available_quantity":999999999,"options":[{"name":"color","value":"gray"},{"name":"size","value":"one size"}],"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.