Jump to content

[solved] Updating price in MYSQL table doesn't work


franquero

Recommended Posts

Hello.

 

I am working in a new Prestashop installation. The store have thousands products, so I have an external application that updates the table ps_products everyday to set the quantity and price of them.

 

My problem is that if the application updates ps_product.price field, when I go to my back office to check, I see the base price have been successfully changed, but the the price tax exc and price tax incl haven't been updated :wacko:

 

How can I get all prices updated? are there others database tables involved in the price control?

 

Thank youy very much in advance.

  • Like 1
Link to comment
Share on other sites

  • 2 months later...

i just run this sql i have to change the price form 1.66 to 2.25 in my shop http://fashionvogues.com and its work

 

UPDATE `ps_product_shop` SET `wholesale_price` = 2.25 WHERE `wholesale_price` = 1.66

 

UPDATE `ps_product_shop` SET `price` = 2.25 WHERE `price` = 1.66

 

you can update in one sql

 

and similar sql should be run for table ps_product

 

thanks for your solution im convinced that it will be heplfull in this case so i can go ahead and mark this thread as solved

 

regards

Link to comment
Share on other sites

  • 11 months later...
  • 3 months later...
  • 6 months later...
  • 7 months later...
  • 1 year later...
  • 3 weeks later...

It seems there are 2 product tables: "ps_product" being the main one and this "ps_product_shop"

 

I was going crazy trying to update "additional_shipping_cost".   Once I updated the values in "ps_product_shop" as well problem solved!

It worked for me!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...