Magento2.4.2: How to sort product by custom price attribute?
I want to sort product collection by Custom Price attribute. here is my code Here is my code, what is the problem here, i dont understand? <?php namespace VendorModuleModelVisualMerchandiserSorting; use MagentoCatalogModelResourceModelProductCollection; use MagentoVisualMerchandiserModelSortingSortAbstract; use MagentoVisualMerchandiserModelSortingSortInterface; class CustomPriceBottom extends SortAbstract implements… Read More »Magento2.4.2: How to sort product by custom price attribute?