- Posts: 9
- Thank you received: 0
Ordering products by date creation as "DESC" by default
- tyler durden
- Topic Author
- Offline
- Fresh Boarder
Less
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.
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.
- Trung Duong
- Offline
- Administrator
Less
More
- Posts: 2284
- Thank you received: 998
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
Replied by Trung Duong on topic Re: Ordering products by date creation as "DESC" by default
After changed setting "Ordering by Creation date" did you clear your joomla cache ?
Regards
Regards
Support email: services(at)omegatheme(dot)com
Follow Us to keep updated!
[img]...[/img]
[img]...[/img]
[img]...[/img]
Please Log in or Create an account to join the conversation.
- tyler durden
- Topic Author
- Offline
- Fresh Boarder
Less
More
- Posts: 9
- Thank you received: 0
11 years 1 month ago #4254
by tyler durden
Replied by tyler durden on topic Re: Ordering products by date creation as "DESC" by default
Thanks. I done it.
Please Log in or Create an account to join the conversation.
Time to create page: 0.292 seconds