Good day
How to add to the catalog sorting by photo? those. first email with photo + sort by name, then no photo with erase by name
|
1 answer
To implement this option, you will need to use one of two ways:
- Create an information block property to assign a value depending on the presence of a photo. Then, when connecting the component, transfer this field to one of the
ELEMENT_SORT_FIELD
parameters. - Change the value of the standard field of sorting depending on the availability of photos of the goods.
What a way to choose your business, the main thing is to hang the action on the agent who will check the elements for the presence of photos and change the value of the sorting field / property depending on the availability of photos of the goods.
|