Menu Content

Support

> Forums, FAQs & Paid Support
Welcome, Guest
Username Password: Remember me

Filters in virtuemart not working
(1 viewing) (1) Guest
Support forum for users using free edition of JoomSEF 3 (Joomla 1.5 compatible). These forums are mainly for mutual help between users.

Please note that due to our capacity limitations, we do not monitor these forums regularly.
  • Page:
  • 1

TOPIC: Filters in virtuemart not working

Filters in virtuemart not working 11 years ago #37365

Hi there,

I have a problem with Artio Joomsef 3 on virtuemart.

I`m using some filters in my eshop. There is a manufacturer filter hack and also "on stock" hack (which displays only products that are on stock). There is also the "Cherry picker" filter.

Now the problem is, that these filters are not working with Joomsef. When it is turned off, everything is working fine. Here is the URL that I get by filtering a manufacturer without sef link:

index.php?orderby=product_price&DescOrderBy=ASC&manufacturer_id=1&Itemid=118&option=com_virtuemart&page=shop.browse&category_id=7&keyword=&keyword1=&keyword2=&filter_in_stock=0&limit=24&limitstart=0

Here is the version with JoomSEF link. After I select a manufacturer, it stays not selected, and the selection jumps back to "select".

tovar?limit=24&limitstart=0&orderby=product_price&DescOrderBy=ASC&keyword=&keyword1=&keyword2=

The same situation is with "on stock" filter. Funny thing is that when I purge the URLs, than everything, every filter is working fine. After I refresh the page, it is not working. :(

Re: Filters in virtuemart not working 11 years ago #37443

  • dajo
  • OFFLINE
  • Posts: 5069
Hi,

There are probably duplicate SEF URLs "tovar" created in JoomSEF with different manufacturer_id and filter_in_stock values.

For manufacturer, you have two options - either enable the "Add manufacturer to URL" option in JoomSEF's VirtueMart extension parameters on the Extension tab or add the "manufacturer_id" variable to "Custom non-SEF variables" field on the Common tab.

As the on stock filter is not the standard one, you have only the second option for it - add the "filter_in_stock" variable to the "Custom non-SEF variables" field on the Common tab of JoomSEF's VirtueMart extension parameters.

After these changes, delete the already created URLs for VirtueMart using JoomSEF's URLs Manager and clear JoomSEF's cache.
ARTIO Support Team

Re: Filters in virtuemart not working 11 years ago #37463

Worked. Thank you very much!
  • Page:
  • 1
User Login Empty