Jump to content

Update different combination prices


PhilJeweler

Recommended Posts

Hi.

 

I need to update a lot of combination prices at the same time and I don't know why. I know that I can update a group of product prices using SQL in the database, for example:

 

UPDATE `ps_product` SET `price` = `price` * 1.10

 

But when I have a product with several combinations, this doesn't work, and I don't know where is the combination table.

Thanks for the help and sorry for my english, I'm improving it slowly.

Link to comment
Share on other sites

Actually your example might not work - as you need to update the price in ps_product_shop too.

 

It would take me at least ten minutes to find out how combinations are exactly programmed in Prestashop. It is too complicated to remember. If I remember well the prices are in ps_product_attribute.

 

You might also try my script: http://www.prestashop.com/forums/topic/185401-free-script-product-mass-edit-category-multi-edit-order-edit/

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...