shri Posted February 25, 2015 Share Posted February 25, 2015 Hi, I have two shops in my multistore I needed to update the products from an sqldump file from another structurally identitical database I managed to update the ps_product table succesfully but it did not make any changes in the two shops that i have. Does anyone know how to reflect the changes in ps_product_shop. My ps_product_shop has 2 shops with id 1 and 6. They both have old values of prices which are updated in ps_product Link to comment Share on other sites More sharing options...
teralite Posted March 5, 2015 Share Posted March 5, 2015 (edited) Sorry, read to fast ;P Edited March 5, 2015 by teralite (see edit history) Link to comment Share on other sites More sharing options...
musicmaster Posted March 7, 2015 Share Posted March 7, 2015 The ps_product_shop table is what counts in pricing. The price field in ps_product seems to be just maintained for compatibility but has no function. You seem smart enough to handle a sqldump. So I am puzzled what obstacles you face copying the price changes to the ps_product_shop table. 1 Link to comment Share on other sites More sharing options...
shri Posted March 9, 2015 Author Share Posted March 9, 2015 (edited) The ps_product_shop table is what counts in pricing. The price field in ps_product seems to be just maintained for compatibility but has no function. You seem smart enough to handle a sqldump. So I am puzzled what obstacles you face copying the price changes to the ps_product_shop table. Thank you for your reply. You made things much clear now. My ps_product_shop(and all other tables) in the sqldump file had all the information of id_shop 1 only. And i wanted to duplicate all of that in shop 6 too. But than i figured that i can just change the id_shop to 6 in the dump file and run the same query again to change the prices for that shop. My job may require me to create 4 shops with exactly the same data and share the product quantities. I thought if the product quantity is shared than if i update one table it may affect all shops at once but that does not happen. I need to manually update tables for each shop I am not sure if what i explained here is clear. In my mind it makes sense but when i read it, it seems confusing. Sorry for that. Edited March 10, 2015 by shri (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now