Re: Sorting by Products by SKU
Every class extended from \XLite\View\ItemsList\AItemsList class has the getSortByModeDefault() method, but the SORT_BY_MODE_SKU constant is declared in \XLite\View\ItemsList\Model\Product class, so if you want to use this constant, your class must has the Product class in its inheritance tree.
What class do you use this constant in?
|