problem on the secondary display products

  • GRANDRY
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
11 years 3 months ago #32175 by GRANDRY
Hello,
Since my upgrade virtuemart 2.0.22a, I have problems with the display:
- The sub-images (thumbnails)
- Images of suggested products (complementary products)
When I click on it nothing happens.
The pavilion is used "Hot Shop"
Does anyone also has this kind of problem?
It seems there is a comflis JS query?

Current configuration:
Jommla 2.5.14
Virtuemart 2.0.22b

thank you in advance

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
11 years 3 months ago #32179 by milos
Hello,

You would need to disable loading of jQuery in VirtueMart > Configuration > Templates > Activate Css Styles & Javascripts (disable Using the VirtueMart jQuery). Also, make sure that any other 3rd party extension that you installed IS NOT LOADING jQuery.

Finally, you can update jQuery in Hot Boutique template. Open file /templates/hot_boutique/index.php and change this part:
Code:
<script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/hot_boutique/js/jquery.min.js"></script> <script type="text/javascript"> jQuery.noConflict(); </script>
with this:
Code:
<script type="text/javascript" src="<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>"></script> <script type="text/javascript"> jQuery.noConflict(); </script>

If you still have troubles, try moving this part of code up. Cut it and paste under ABOVE this part:
Code:
/* The following line loads the MooTools JavaScript Library */ JHtml::_('behavior.framework', true);

Thanks
Milos

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
11 years 3 months ago #32180 by milos
By the way, currently on your site, the conflict is made by FANCYBOX (I don't know what is it). In code inspector, you have this error:
Code:
Uncaught TypeError: Object [object Object] has no method 'fancybox'
The following user(s) said Thank You: GRANDRY

Please Log in to join the conversation.

  • GRANDRY
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
11 years 3 months ago #32184 by GRANDRY
Thank you for all these explanations.
I'm not an expert, so I'll go easy!
Information for all points below are active except the 6th, I do not know is what it is.

Use Fancybox
Use CSS VirtueMart
Use jQuery VirtueMart
Using scripts Product
Using Ajax Script countries / regions
Use jQuery Chosen for dropdowns in FE
Using external library jQuery Google

So I'm going to attack me chagement line code

@ soon

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
11 years 3 months ago - 11 years 3 months ago #32185 by milos
The principle is easy to understand, your site must be loading jQuery ONLY ONCE.
It's loaded by Hot Boutique template (because top menu needs it). Therefore, jQuery MUST BE DISABLED in all other components and modules that loads it.
Finally, make sure you are using the newer jQuery version. The line of code I gave you loads version 1.10.2.

Thanks
Last edit: 11 years 3 months ago by milos.

Please Log in to join the conversation.

  • GRANDRY
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
11 years 3 months ago #32195 by GRANDRY
Great!
The secondary product images displayed and error. Super :-)

I still have a little problem, which I thought to be a side effect of the first, but not a priori.

example:
folydouce.com/index.php/fr/couleurs/vert...e-orange-vert-detail

I have one available in several colors (bracelet) product, I suggest loops that come with it. These loops are also declined in several colors.
The worries, the list of available colors for the strap is a list of loops. This happens as soon as my secondary products lists.

thank you

Please Log in to join the conversation.

Time to create page: 0.237 seconds
Powered by Kunena Forum