normal Ordering products by date creation as "DESC" by default

More
11 years 1 month ago #4213 by tyler durden
Hi everybody,

By default I set in Virtuemart "Ordering by Creation date", but it display product from older to newer.
Do you know how to reverse the return by default ? (so DESC and not ASC)?
I had just found the way that change the order was by editing the following file:
administrator/components/com_virtuemart/models/product.php
Change:
$filter_order_Dir = strtoupper (JRequest::getWord ('order', 'ASC'));
to
$filter_order_Dir = strtoupper (JRequest::getWord ('order', 'DSC'));
But there isn't the file: administrator/components/com_virtuemart/models/product.php in VM 2.0.10.

Plz help me! Thanks a lot.

Please Log in or Create an account to join the conversation.

More

Notice: Undefined variable: end_tag_params in /home/omegatheme/public_html/libraries/kunena/External/Nbbc/src/BBCode.php on line 2321

Notice: Undefined variable: end_tag_params in /home/omegatheme/public_html/libraries/kunena/External/Nbbc/src/BBCode.php on line 2321

Notice: Undefined variable: end_tag_params in /home/omegatheme/public_html/libraries/kunena/External/Nbbc/src/BBCode.php on line 2321
11 years 1 month ago #4243 by Trung Duong
After changed setting "Ordering by Creation date" did you clear your joomla cache ?

Regards

Support email: services(at)omegatheme(dot)com


Follow Us to keep updated!

[img


[img


[img]...[/img]

[img]...[/img]

[img]...[/img]

Please Log in or Create an account to join the conversation.

More
11 years 1 month ago #4254 by tyler durden

Please Log in or Create an account to join the conversation.

Time to create page: 0.272 seconds

About Growth

Innovative tech for eCommerce growth

Contact Info

Head: No. 3, 175/55 Lane, Lac Long Quan St., Nghia Do Ward, Cau Giay District, Hanoi City, Vietnam