How we can add amount in the quick view which does not contains table or dropdown

When we click on quick view the amount will be displayed for quantity but it won’t be displayed for dropdown and table priceĀ 
_.extend(ProductDetailsQuickViewView.prototype, {
                    getContext: _.wrap(ProductDetailsQuickViewView.prototype.getContext, function (fn) {
                        var originalRet = fn.apply(this, _.toArray(arguments).slice(1));
                        let quickEnhancePrice = this.model.get('item').get('custitem_tag_enhc_qty_pricing');
                        let quickQuantityPrice = this.model.get('item').get('custitem_tag_qty_pricing');
                        originalRet.showPriceInQuicekView = quickEnhancePrice || quickQuantityPrice ? false : true;
                        return originalRet;
                    })
                });

Leave a comment

Your email address will not be published. Required fields are marked *