Sort product ordering in VMVendor

More
7 years 7 months ago #34557 by nistune
Previously when products were in VirtueMart the customer had a 'sort' option. Ideally alphabetically would be great. Currently VMVendor sorts products by the order they are added it seems. Is there a way to change the ordering?

order issue link

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

More
7 years 7 months ago #34572 by nordmograph
Moved to feature request.

You can edit:
components/com_vmvendor/models/vendorprofile.php on line 73
replace
ORDER BY vp.virtuemart_product_id DESC
by
ORDER BY vpl.product_name ASC

- Need help? Post the URL of the related page (eventualy as confidential info), it will help solve your issue faster.
- An error, notice or warning? report the exact message including the line number
- If you get a white page , enable error reporting and / or check your server error logs.
The following user(s) said Thank You: nistune

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

More
7 years 7 months ago #34622 by nistune
Thanks, that works

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

Time to create page: 0.349 seconds
Powered by Kunena Forum
Disclaimer: Nordmograph is not affiliated with or endorsed by The Joomla! Project™. Any products and services provided through this site are not supported or warrantied by The Joomla! Project or Open Source Matters, Inc. Use of the Joomla!® name, symbol, logo and related trademarks is permitted under a limited license granted by Open Source Matters, Inc.