I would like to change the category-product position to be a string. Because I have an exploded view for spare parts and they are numbered with strings (1a, 1c, 605,...). The customer should see the position to select the right parts based von the image.

I will update this only with the API: https://devdocs.magento.com/redoc/2.3/admin-rest-api.html#operation/catalogCategoryLinkRepositoryV1SavePut

In Magento 1.x I changed the database field to string and something in the magento core Code Category Model from (int) to (string).

But I know, that this is not the correct way to do this. Creating an extra plugin to extend the database and modify the API seems a bit "too much" in this case. Where can I start?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.