lastresmellizas Posted June 1, 2016 Share Posted June 1, 2016 (edited) Hi I want to change the order of the accessories, it is ordered by ID, but I want them to look in the order that I created. Catalog -> Products -> Associations -> Accessories Thanks and regards Edited June 1, 2016 by lastresmellizas (see edit history) Link to comment Share on other sites More sharing options...
fsm Posted June 1, 2016 Share Posted June 1, 2016 Hello You can do that in the back page. When you see the names of fields(id, name, reference,...) you can click the field you want in descending or ascending order. Regards. Link to comment Share on other sites More sharing options...
lastresmellizas Posted June 1, 2016 Author Share Posted June 1, 2016 Fsm Hi, thanks for answering, but I mean the order of Accessories: Catalog -> Products -> Associations -> Accessories View image Thanks and regards Link to comment Share on other sites More sharing options...
rocky Posted June 2, 2016 Share Posted June 2, 2016 Looking at the ps_accessories table in the database, it is not possible, since there are only `id_product_1` and `id_product_2` fields. You'd need an additional `position` field in this table to store the order the accessories were added on the product page. It would require a lot of coding to get PrestaShop to create, update and read a new `position` field. You'd probably have to hire a programmer to do it. Link to comment Share on other sites More sharing options...
lastresmellizas Posted June 2, 2016 Author Share Posted June 2, 2016 (edited) Thanks for answering Rocky is not as easy as expected. Thanks and regards Edited June 2, 2016 by lastresmellizas (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