I want to sort product for a specific category by name in ascending order but it is still sorting in descending order in the front-end.
For a category under Display Setting, I have set
Default Product Listing Sort By to
<referenceContainer name="content"> <referenceBlock name="product_list_toolbar"> <action method="setDefaultDirection"> <argument name="dir" xsi:type="string">asc</argument> </action> </referenceBlock> </referenceContainer>
Here is how it looks.
I have checked the setting in all store view and I have the same setting.
Any help will be highly appreciated.