How to get real-time price updates based on quantity changes in Magento 2?
How to get real-time price updates based on quantity changes in Magento 2?
Open Magento_Catalog/templates/product/view/price.phtml
-> Change qty:1 to " qty: getParentBlock()->getProductDefaultQty() * 1 ?>, "
Add " this.calculatedFinalPriceWithCustomOptions *= this.qty; " in calculateFinalPriceWithCustomOptions() function
Add " this.getFormattedFinalPrice(); " in eventListeners