cancel
Showing results for 
Search instead for 
Did you mean: 

Bundle Price Issue

SOLVED
Highlighted

Bundle Price Issue

Bundle Product final price coming  wrong.
Example: The bundle product show Rs 5,100 here when it's Rs 2,550? Really confusing.

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: Bundle Price Issue

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); */

 

 

View solution in original post

2 REPLIES 2
Highlighted

Re: Bundle Price Issue

Hi @jyoti_thakur 

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!

Highlighted

Re: Bundle Price Issue

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); */

 

 

View solution in original post