cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2 Prices are not changed in store front but in cart price is ok

Magento 2 Prices are not changed in store front but in cart price is ok

Have this problem. Owner changed price on two product. Its configurable but made from simple ones. Basically only price and weight is difference nothing else. No additional setting and some additional rules.

Here is the problem done everything from clear cache to flush from admin panel and server side with php bin/magento ........ (indexer, cashe ....)

DB is ok price is changed also in product new price is active only in store front is old price. When you order these two product in card is shown with new price.

 

What's the catch on this.

error price.png

1 REPLY 1

Re: Magento 2 Prices are not changed in store front but in cart price is ok

Hello @azguard 

 

If product page prices are not changed as per selected configurations, please follow the steps below:

  1. Copy configurable.js, configurable-customer-data.js and catalog-add-to-cart.js file from below path:
    1. /vendor/magento/module-configurable-product/view/frontend/web/js/
  2. Please add it to your theme at the below path:
    1. /app/design/frontend/Vendor_Name/Theme_Name/Magento_Swatches/web/js/
  3. Then run the following commands:
    1. php bin/magento s:up
    2. php bin/magento s:d:c
    3. php bin/magento s:s:d -f
    4. php bin/magento c:f

Note: Please replace "Vendor_Name" and "Theme_Name" with your actual theme name.

 

If you find our reply helpful, please give us kudos.

 

A Leading Magento Development Agency That Delivers Powerful Results, Innovation, and Secure Digital Transformation.

 

WebDesk Solution Support Team

Get a Free Quote | | Adobe Commerce Partner | Hire Us | Call Us 877.536.3789

Thank You,


WebDesk Solution Support Team
Get a Free Quote | Email | Adobe Commerce Partner | Hire Us | Call Us 877.536.3789


Location: 150 King St. W. Toronto, ON M5H 1J9