Author Topic: What happened to my page reload after choosing a child product from dropdown?  (Read 783 times)

hollywooood

  • Jr. Member
  • **
  • Posts: 51
  • If everything was easy it woud be frickin awesome!
Hi All,

I am so confused right now that I may be missing something simple here.  I have A parent product created and two child products for testing purposes.  For some reason, when I now choose a child product from the dropdown, nothing happens.  I seem to recall the page  reloading to display the chosen child product.  I've messed around with all kinds of settings in parent and child but can't seem to get that to work properly.  What should I be looking at here to make this work properly.

http://thewebsitejunction.com/silkveils/index.php?page=shop.product_details&flypage=flypage.tpl&product_id=86&category_id=18&option=com_virtuemart&Itemid=29

You can see it from the link above.

Joomla 1.5.26
virtuemart 1.1.4

Any help on this is greatly appreciated..
Joomla 2.5.4
Virtuemart 2.0.6
PHP 5.2.17
MySQL 5.5.21-55
APACHE 2.2.22

meltingpotdesign

  • Jr. Member
  • **
  • Posts: 65
ok you have a few issues here.  firstly disable the cookie check (it always falsely fails for some reason)

then you have js conflicts - related to your google scripts.  a quick look in firebug reveals an error being thrown when you change the drop down.  it looks like you are loading jquery twice - an old version and a not so old version.  ditch the oldest and try again.

hollywooood

  • Jr. Member
  • **
  • Posts: 51
  • If everything was easy it woud be frickin awesome!
Dead on meltingpotdesign.  Moo Tools is turned on for the front page slider.  When I turn it off the change happens when a product is chosen from the dropdown but now the home page slider fails.  Need to figure out how to get these two to play well together.  I have JB Library that I though would sort this out but I guess I'll still need to do it manually.

Thanks for the starting point.
Joomla 2.5.4
Virtuemart 2.0.6
PHP 5.2.17
MySQL 5.5.21-55
APACHE 2.2.22

meltingpotdesign

  • Jr. Member
  • **
  • Posts: 65
ok well i can help you there too - i use sc jquery for j1.5 whenever using jquery as it puts all jq in to no conflict mode and loads the jquery for you - http://extensions.joomla.org/extensions/core-enhancements/performance/jquery-scripts/7230 install that and remove your google referenced libraries - you should then safely be able to switch moo back on.

hollywooood

  • Jr. Member
  • **
  • Posts: 51
  • If everything was easy it woud be frickin awesome!
Just caught this reply...thank you for that.  Seems that these jquery scripts are more stubborn than they seemingly should be.  I've done as you suggested and the switch is not happening on chosen dropdown from the products page.

Now i have the product display page using a script for the hover and thumbs for the image (mod_vm_flexible_zoom_effect).  If I remove the jquery script for this (easily done in the mod_vm_flexible_zoom_effect admin panel) the page reload will happen when I choose an item from the dropdown but of course there is no effect from flexible zoom.

I have even added jQuery.noConflict(); manually in the js file for the flexible zoom mod but nope, not working.

I love jquery functionality but these conflicts kill me...

really appreciate your feedback and insight.  I will continue to mess around until a solution evolves...
Joomla 2.5.4
Virtuemart 2.0.6
PHP 5.2.17
MySQL 5.5.21-55
APACHE 2.2.22

meltingpotdesign

  • Jr. Member
  • **
  • Posts: 65
just a thought, but do you have the mootools upgrade switched on?  plugins / moo ?

hollywooood

  • Jr. Member
  • **
  • Posts: 51
  • If everything was easy it woud be frickin awesome!
Yup...moo tools upgrade is enabled. 
Joomla 2.5.4
Virtuemart 2.0.6
PHP 5.2.17
MySQL 5.5.21-55
APACHE 2.2.22

VirtueMart Forum