Shoveling a great many forums and trying to write a bicycle did not find a solution for additional sorting of goods in Opecart 2.1.0.2 The task is to add products that do not have an image (worth the default image) to the end of the list. I tried to do this in the frontend part through the php script, but I came to the conclusion that this does not work correctly, since it sorts the goods on each individual page of the product list in the sections of the category.
I came to the fact that this is done either in the product model as an additional sorting parameter to all existing ones, or in the category controller file, but at the moment my knowledge is not so big in OOP php.
Has anyone encountered a similar task?
How to implement this type of sorting which will be taken into account with all existing ones?