Jump to content

Product accessories - manual position


Recommended Posts

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

×
×
  • Create New...