News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Product (category) ordering not in sort field list (SOLVED manually)

Started by osp, February 22, 2012, 11:47:50 AM

Previous topic - Next topic

osp

Ordering of the products in category is missing in order list.
'ordering' case is already in special cases for order by construct in the product model.
But currently not in admin tab list (SVN checked).

Solution:
administrator/.../shopfunctions.php
         $filterArray = array('product_name', 'created_on', 'product_sku',
            'product_s_desc', 'product_desc',
            'category_name', 'category_description','mf_name',
            'product_price', 'product_special', 'product_sales', 'product_availability', 'product_available_date',
            'product_height', 'product_width', 'product_length', 'product_lwh_uom',
            'product_weight', 'product_weight_uom', 'product_in_stock', 'low_stock_notification',
            'p.modified_on',
            'product_unit', 'product_packaging', 'p.virtuemart_product_id','ordering');

components/com_virtuemart/router.php
...
            'ordering' => 'favorite',
...