ShopMaster888 Posted October 14, 2015 Share Posted October 14, 2015 Problem:The webmaster did not set a default combination for every product.After upgrade from 1.4 to 1.6, the products that do not have a default combination are displaying with price 0.The shop has over 7000 products, almost all with combinatons. It seems that about 1000 products do not have a default combination set. Changing these products manually will take days.Question:Does anyone know of a solution to automate this proces: to set a default combination at products that do not have one set yet? Thanks for any input Link to comment Share on other sites More sharing options...
innovacy Posted October 15, 2015 Share Posted October 15, 2015 I would go for one of these approaches: Use the import feature to set the combinations properly (not tested, might work with exporting the data first and changing the columns quickly in excel, but might also not) Check what is required in the database and do it with a sql query (I would post more details, but I myself need to check first, I don't have this in my head) Both methods should be very quick. Link to comment Share on other sites More sharing options...
ShopMaster888 Posted October 15, 2015 Author Share Posted October 15, 2015 Hi Innovacy, thanks for your input. I think a sql query would be a good solution. but I am a bit rusty on SQl statements Does someone have an idea for a SQL Statement that does this: 1. Search products where all default combinations are Null 2. For these products set first combination as default That should solve my problem I guess. 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