DexSnake Posted May 20, 2016 Share Posted May 20, 2016 So I just realized after importing 40,000 products over the last 6 months that I have been putting our "supplier" price (the price we buy for) in the unit price field. (stupid, I know). I would like to move all of those prices to the CORRECT field of wholesale price. I would rather not have to export and re-import everything. Could someone provide me with a SQL command to automate this for me? Link to comment Share on other sites More sharing options...
tuk66 Posted May 20, 2016 Share Posted May 20, 2016 UPDATE ps_product SET wholesale_price = price; UPDATE ps_product_shop SET wholesale_price = price; Of course, backup first. 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