Martin Bargl Posted March 3, 2015 Share Posted March 3, 2015 Hi community, I am currently struggling with the problem of accessories. We have an eshop which sells phones and it has a lot of accessories for each phone. It would be great if I could sort accessories directly on the product edit page in backoffice (for that one product). I know accessories is composed from a table which creates a pair id of product to id of product (which is accessory). I know it means to change the getAccessories method, add a column "position" to table and change the controller. So here is my question: how to do this the right way, to not to damage Prestashop core files? Create a module? How can a module affect product tab? Maybe there's a solution I do not see know, I would appreciate advice. Thanks, Martin Link to comment Share on other sites More sharing options...
tuk66 Posted March 4, 2015 Share Posted March 4, 2015 Accessories are stored in ps_accessory table. As you can see there are two product IDs in this table, no position. Link to comment Share on other sites More sharing options...
Recommended Posts