VirtueMart Forum

VirtueMart 2 + 3 + 4 => Frontend Modules => Topic started by: dmitryseliv on August 15, 2013, 00:37:35 AM

Title: items order when using mod_virtuemart_product?
Post by: dmitryseliv on August 15, 2013, 00:37:35 AM
I'm using mod_virtuemart_product to show featured products.
But there is something odd about it. it shows products in random order each time when you access the page.
Any ideas how to fix that?


Cheers, DS
Title: Re: items order when using mod_virtuemart_product?
Post by: Maxim Pishnyak on August 15, 2013, 11:14:51 AM
As far as I know there's no sort option in default module.
Title: Re: items order when using mod_virtuemart_product?
Post by: dmitryseliv on August 15, 2013, 11:20:35 AM
it doesn't explain why it shows products randomly.
a bug?
Also I noticed if products belong to the same root category and you selected to show products from subcat it shows products withing the root category and not from subcat.

Title: Re: items order when using mod_virtuemart_product?
Post by: stive951 on September 09, 2013, 06:49:29 AM
 I see that "$categories" is used in order to iterate over all existing categories, but it is not initialised in this file. Do you know where it is initialised? Can you help me to get access to all products here?


640-802   640-802 (http://www.actualtests.com/exam-640-802.htm)
350-001   350-001 (http://www.actualtests.com/exam-350-001.htm)
VCP-510   VCP-510 (http://www.actualtests.com/exam-VCP-510.htm)
642-813   642-813 (http://www.actualtests.com/exam-642-813.htm)
Title: Re: items order when using mod_virtuemart_product?
Post by: Jumbo! on September 09, 2013, 19:15:42 PM
Quote from: dmitryseliv on August 15, 2013, 11:20:35 AM
it doesn't explain why it shows products randomly.
a bug?
Also I noticed if products belong to the same root category and you selected to show products from subcat it shows products withing the root category and not from subcat.

This happens when the total number of featured products is greater than the number allowed to be displayed by you in module settings. Example: You have 20 featured products and you have configured the module to display only 10. Then it will randomly pick the 10 products to be displayed out of 20 so that all featured products get displayed over 2 or 3 visits to the page. Hope it is clear now.
Title: Re: items order when using mod_virtuemart_product?
Post by: dmitryseliv on September 09, 2013, 19:31:55 PM
I don't think so. The module is buggy.
Title: Re: items order when using mod_virtuemart_product?
Post by: Maxim Pishnyak on September 12, 2013, 22:44:39 PM
Quote from: dmitryseliv on September 09, 2013, 19:31:55 PM
I don't think so. The module is buggy.
And what you are calling bug in it?