- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Bundle Product final price coming wrong.
Example: The bundle product show Rs 5,100 here when it's Rs 2,550? Really confusing.
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Bundle product final price is coming correct from server end, but its getting wrong because of js
/vendor/magento/module-catalog/view/base/web/js/price-box.js
Commented js code
Line number 37
/** this.cache.displayPrices = utils.deepClone(this.options.prices); */
Line number 116
/** this.cache.displayPrices = utils.deepClone(this.options.prices); */
Line number 163
/** this.cache.displayPrices = utils.deepClone(prices); */
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Bundle Price Issue
I found the below code:
$finalPriceModel = $block->getPriceType('regular_price'); echo priceModel->getAmount();
under file path :
vendor/magento/module-catalog/view/base/templates/product/price/final_price.phtmlThis uses for show price of product.
Or kindly refer below link :
https://magento.stackexchange.com/questions/209538/magento-2-get-original-price-and-special-price-of...
If issue resolve, please click on 'Kudos' & Accept as Solution!
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Bundle product final price is coming correct from server end, but its getting wrong because of js
/vendor/magento/module-catalog/view/base/web/js/price-box.js
Commented js code
Line number 37
/** this.cache.displayPrices = utils.deepClone(this.options.prices); */
Line number 116
/** this.cache.displayPrices = utils.deepClone(this.options.prices); */
Line number 163
/** this.cache.displayPrices = utils.deepClone(prices); */