Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Virtuemart Template - PureMart (SKU# FLEX-00010)

TOPIC: SWITCH-VIEW Icons not work with search module

SWITCH-VIEW Icons not work with search module 10 years 10 months ago #4788

Hi guys,
I have problem with SWITCH-VIEW Icons, they are stop working with/after search results.
They are working fine in category view, but when I use your search module, icons stop working in result page ...
And I see this error on console : ReferenceError virtuemart is not defined
Instead of changing view they are redirecting to highest category...
See behavior here .. Part of the message is hidden for the guests. Please log in or register to see it.
Any idea how to fix it ?
Thanks a lot
Robin
The topic has been locked.

SWITCH-VIEW Icons not work with search module 10 years 10 months ago #4793

Hmmm - very odd... it works fine on our our test installs so it's something on yours specifically...

www.flexiblewebdesign.com/virtuemart-2-template-puremart/index.php?keyword=test1&limitstart=0&option=com_virtuemart&view=category

It assume its this error although this error is coming from the core VM js..
the js is there for the view button logic but it isn't firing

although no error on skola.designova.cz/cz/component/virtuemart/produkty/kancelarsky-nabytek/kancelarske-zidle.html

is there something loaded only on the search view?
The topic has been locked.

SWITCH-VIEW Icons not work with search module 10 years 10 months ago #4799

Hm .. thanks for push, it is looks like there is problem with some products, cause in other search terms works everything fine ...
Thanks a lot John, you know, sometimes just a little push or feedback help to see problem from different view , so problem is not search stuff, but some problem with products ...
Case solve...
Wish you guys the best, like your support and of course you products ...
BR
Robin

p.s. you can delete this topic ...
Last Edit: 10 years 10 months ago by Robin Vehovský.
The topic has been locked.

SWITCH-VIEW Icons not work with search module 10 years 10 months ago #4810

Thank you - yes - agree fully with your comments - a different take on a problem can help .

Do you mind posting what you found? It may be of some use to others

Cheers
The topic has been locked.

SWITCH-VIEW Icons not work properly >10 products 10 years 10 months ago #4870

Hi John,
well I was searching and trying different scenarios and it looks like it is not problem with products or search stuff, but it is problem with count of products which are shown. I had set up basic count in VM configuration to 10, even all categories had setups to 10 products to be shown on page and everything is fine.
But, when It trying to display more than 11 products, SWITCH-VIEW Icons stop work and problem appear.
So you can tested here .. skola.designova.cz/cz/component/virtuemart/produkty/skolni-nabytek/kolni-nabytek/idle.html
You can browse pages, if there is default count on products (10 per page) no problem and icons will be work on each page listed on this category.
But when you change Pagination Dropdown to higher than 9, like 12 or 30, those SWITCH-VIEW Icons stop working.
It is very strange behavior and I really do not know why is that happend ... I try your demo, and it is work fine even with more than 10 products..
But I did not change any kind of code or something with that product counts, and I am not aware of any extra scripts or something that should cause this problem ...
Any idea John, what could be the problem ?
Thanks for your support ... I can give you joomla admin access if you will need that to better analyze...
It is kind of limitation, just 10 products on page, cause you have to you use navigation, and I really like that icons ajax functions ...
so Cheers a lot for any ideas
BR Robin
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  • I try to turn off rewrite and SEO
  • I try to change values Category From Limit List Step and Category From Initial Display Records both to 50 - work only under 10 products and change in VM configuration Max products per page to 50
  • When I choose with Pagination Dropdown higher number than 9, like 12 or 30 I have that ReferenceError virtuemart is not defined on line 57 in Firebug console in Firefox ...
Last Edit: 10 years 10 months ago by Robin Vehovský.
The topic has been locked.

SWITCH-VIEW Icons not work properly >10 products 10 years 9 months ago #4909

Guys, it was conflict with JB library plugin, so I turn it off and install Query Easy plugin, it helps ...
So finally find problem solved for me ...
just let you know ...
BR Robin
Last Edit: 10 years 9 months ago by Robin Vehovský.
The topic has been locked.

SWITCH-VIEW Icons not work properly >10 products 10 years 9 months ago #4926

Excellent - thanks for the info - should help others - BTW - on all builds I do know one of my first jobs is to install jquery easy.. :)

regards
The topic has been locked.
Time to create page: 0.207 seconds

MaterialMart

for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo