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

Problem in VM Search module

Started by patrik60, July 24, 2013, 18:24:35 PM

Previous topic - Next topic

patrik60

This post may be related to other posts in this forum: There is a problem with the limit set in the FE when searching a product and displaying the number of products per page. The problem seems to be in the VM search module. As soon as "Search Button" is set to Yes and "Search button as image" is also set to yes the limit display always changes to the lowest number of the settings in the configuration. The quantity of products changes correctly. Therefore it is not possible to select the lowest number of products.
See attached images. It only happens when "Search button as image" is selected, no problem when this option is disabled.

[attachment cleanup by admin]

patrik60

This problem started with VM 2.0.18b. It worked fine until VM 2.0.18a

patrik60

Changes (Vm 2.0.18a -> VM 2.0.18b) which cause this problem were made in administrator/components/com_virtuemart/helpers/vmmodel.php between lines 699 - 710:

699: $limits[]=JHtml::_('select.option', JRoute::_( $link.'&limit='. $items, false), $items);

706: $limits[] = JHtml::_('select.option',JRoute::_( $link.'&limit='. $i*$this->_perRow, false) ,$i*$this->_perRow );

709: $limits[] = JHTML::_('select.option',JRoute::_( $link.'&limit='. $this->_perRow * 10, false) , $this->_perRow * 10 );

710: $limits[] = JHTML::_('select.option',JRoute::_( $link.'&limit='. $this->_perRow * 20, false) , $this->_perRow * 20 );

It works again in VM 2.0.18b when deleting all false.

In version 2.0.22a I deleted also all these between line 715 - 728. But I don't know wether this could cause other problems.

patrik60

This problems remains after updating to VM 2.0.22b

Maxim Pishnyak

Did you make menu item for VM frontpage?
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

patrik60

For shure, I'm using VM 2 since the very first day and as I told you the problem started with  the version 2.0.18b.

Maxim Pishnyak

So this allows you ignore any recommendations from me?
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

patrik60

QuoteSo this allows you ignore any recommendations from me?

?? Which recommendations do I ignore ??

Maxim Pishnyak

You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

patrik60


Maxim Pishnyak

You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

patrik60

#11
Please check this video:

www.youtube.com/watch?v=Gww5m3c5K5k

It's a clean Joomla 2.5.14 with only VM, no other extensions.

patrik60

This proble is still not solved, using VM 2.0.22d and also for this problem (http://forum.virtuemart.net/index.php?topic=117444.msg400411#msg400411) there is no solution.
I would appreciate it very much if this could be checked.

Regards
Patrik

patrik60

Solved now in version 2.0.24

Thanks and regards
Patrik