VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: nbirrell on August 03, 2013, 03:01:23 AM

Title: Display modal popup upon 'Add to cart' not working
Post by: nbirrell on August 03, 2013, 03:01:23 AM
Hi, I am having an issue with the modal popup after adding an item to cart and also with my cart still showing up as having 0 items in it even after adding something to cart.

I have the 'Display modal popup upon 'Add to cart'' option checked in my shop configuration settings.

Any help with how i can get this modal popup to show and how my cart can show items in it when i add something to it instead of remaining at 0 items?

I am using Joomla! 2.5.4

Thanks
Title: Re: Display modal popup upon 'Add to cart' not working
Post by: z-analysts on August 03, 2013, 04:13:52 AM
Hello,

Please indicate which version of VirtueMart you are using and what version of PHP you have. Also if you are still using Joomla 2.5.4 you really should upgrade to 2.5.14.

I am having this issue with VM 2.0.22a.

Thanks
Title: Re: Display modal popup upon 'Add to cart' not working
Post by: Maxim Pishnyak on August 03, 2013, 12:44:35 PM
Link?
Title: Re: Display modal popup upon 'Add to cart' not working
Post by: z-analysts on August 04, 2013, 17:29:23 PM
http://zclientdev.net/stardev

vm - 2.0.22a
php - 5.3.16
joomla - 2.5.14
Title: Re: Display modal popup upon 'Add to cart' not working
Post by: Maxim Pishnyak on August 05, 2013, 12:21:35 PM
Quote from: z-analysts on August 03, 2013, 04:13:52 AM
I am having this issue with VM 2.0.22a.
And I can't see this issue on your web site. Direct link to a specific page, name of your browser, screen shot, please?
Title: Re: Display modal popup upon 'Add to cart' not working
Post by: z-analysts on August 05, 2013, 21:54:04 PM
Hello Maxim,

A little bit of creativity would have answered your questions. What you need to do is click on the Shop drop down menu to select a category, then from the category page select a product to add to your cart. At that point you will notice that there is no modal popup. If you also click on the YOUR CART image on the left hand side of the screen you will see that the cart status indicates it is empty however if you click to display the cart it shows the item that was just added.

I am using Chrome as my browser on Windows 7.

Please let me know if you need more information.

Title: Re: Display modal popup upon 'Add to cart' not working
Post by: Maxim Pishnyak on August 06, 2013, 13:29:29 PM
Quote from: z-analysts on August 05, 2013, 21:54:04 PM
A little bit of creativity would have answered your questions.
Nice poke  :), but why so 'much aggression'  ;) ? I was enough creative before you gave me your directions. And my Firefox was able to add your product.

Burn Google Chrome everybody!
Title: Re: Display modal popup upon 'Add to cart' not working
Post by: z-analysts on August 06, 2013, 16:44:15 PM
OK, so if it works in Firefox but not Chrome that is a problem. What changed in 22a that caused the regression? The modal popup works fine in 20b?
Title: Re: Display modal popup upon 'Add to cart' not working
Post by: Maxim Pishnyak on August 06, 2013, 19:35:54 PM
Firebug?
Title: Re: Display modal popup upon 'Add to cart' not working
Post by: ataman79 on August 14, 2013, 08:25:11 AM
Hi I have the same problem  - in Chrome the pop up is not showing.

My Joomla is 2.5.14, PHP 5.3.24

Here is the site: http://norbekov.bg/%D0%B7%D0%B0%D0%BF%D0%B8%D1%88%D0%B8-%D1%81%D0%B5-%D0%B7%D0%B0-%D1%83%D1%87%D0%B5%D0%B1%D0%BD%D0%BE-%D0%BE%D0%B7%D0%B4%D1%80%D0%B0%D0%B2%D0%B8%D1%82%D0%B5%D0%BB%D0%B5%D0%BD-%D1%81%D0%B5%D0%BC%D0%B8%D0%BD%D0%B0%D1%80-%D0%B2%D1%82%D0%BE%D1%80%D0%BE-%D0%BD%D0%B8%D0%B2%D0%BE (http://norbekov.bg/%D0%B7%D0%B0%D0%BF%D0%B8%D1%88%D0%B8-%D1%81%D0%B5-%D0%B7%D0%B0-%D1%83%D1%87%D0%B5%D0%B1%D0%BD%D0%BE-%D0%BE%D0%B7%D0%B4%D1%80%D0%B0%D0%B2%D0%B8%D1%82%D0%B5%D0%BB%D0%B5%D0%BD-%D1%81%D0%B5%D0%BC%D0%B8%D0%BD%D0%B0%D1%80-%D0%B2%D1%82%D0%BE%D1%80%D0%BE-%D0%BD%D0%B8%D0%B2%D0%BE)

Can someone help with a solution ?

Thank you in advance
Title: Re: Display modal popup upon 'Add to cart' not working
Post by: jenkinhill on August 14, 2013, 08:46:31 AM
ataman it works fine for me in Chrome Version 28.0.1500.95 m
Title: Re: Display modal popup upon 'Add to cart' not working
Post by: ataman79 on August 14, 2013, 08:46:41 AM
Quote from: ataman79 on August 14, 2013, 08:25:11 AM
Hi I have the same problem  - in Chrome the pop up is not showing.

My Joomla is 2.5.14, PHP 5.3.24

Here is the site: http://norbekov.bg/%D0%B7%D0%B0%D0%BF%D0%B8%D1%88%D0%B8-%D1%81%D0%B5-%D0%B7%D0%B0-%D1%83%D1%87%D0%B5%D0%B1%D0%BD%D0%BE-%D0%BE%D0%B7%D0%B4%D1%80%D0%B0%D0%B2%D0%B8%D1%82%D0%B5%D0%BB%D0%B5%D0%BD-%D1%81%D0%B5%D0%BC%D0%B8%D0%BD%D0%B0%D1%80-%D0%B2%D1%82%D0%BE%D1%80%D0%BE-%D0%BD%D0%B8%D0%B2%D0%BE (http://norbekov.bg/%D0%B7%D0%B0%D0%BF%D0%B8%D1%88%D0%B8-%D1%81%D0%B5-%D0%B7%D0%B0-%D1%83%D1%87%D0%B5%D0%B1%D0%BD%D0%BE-%D0%BE%D0%B7%D0%B4%D1%80%D0%B0%D0%B2%D0%B8%D1%82%D0%B5%D0%BB%D0%B5%D0%BD-%D1%81%D0%B5%D0%BC%D0%B8%D0%BD%D0%B0%D1%80-%D0%B2%D1%82%D0%BE%D1%80%D0%BE-%D0%BD%D0%B8%D0%B2%D0%BE)

Can someone help with a solution ?

Thank you in advance

So, very strange. Now it works under chrome ???
I actualize the VM plugin table 2 times - and seems to work now. You can find it Joomla under Components->virtuemart-aio

Can you try the same and share the results ?
Title: Re: Display modal popup upon 'Add to cart' not working
Post by: ataman79 on August 14, 2013, 08:47:45 AM
@jenkinhill
yes , now it works - as I wrote in my upper post. Hope it will help others too
Title: Re: Display modal popup upon 'Add to cart' not working
Post by: z-analysts on August 14, 2013, 17:58:19 PM
Quote from: ataman79 on August 14, 2013, 08:47:45 AM
@jenkinhill
yes , now it works - as I wrote in my upper post. Hope it will help others too

Thanks, ataman79! That worked for me as well.
Title: Re: Display modal popup upon 'Add to cart' not working
Post by: amymattian on September 11, 2013, 16:19:21 PM
Having the same problem on the category-page but not on the product page:
http://shamaanirumpu.net/rumpu-ukon%20puoti/fi/nayttaa-etusivun/shamaanirummut

I have updated for 2.0.22c version both the VM2 and the AIO. But no change. This issue is at least with Chrome and Firefox so not a browser issue (since it does work fine on the product page). Also when clicking Add to cart on the category-page the item is not moved directly to the cart in the upper-corner of the site. Only when moving forward the upper-cart gets updated.

What else can be causing this?

In the middle of making the site multilingual, but quite there yet... having some issues regarding that too...  :(

- Anne


p.s. on this category page it does not work:
http://shamaanirumpu.net/rumpu-ukon%20puoti/fi/nayttaa-etusivun/shamaanirummut
Title: Re: Display modal popup upon 'Add to cart' not working
Post by: Maxim Pishnyak on September 12, 2013, 10:15:38 AM
It's clearly issue with your Joomla template. You are using commercial VM theme from yagendoo. See this http://forum.virtuemart.net/index.php?topic=108212.0
Title: Re: Display modal popup upon 'Add to cart' not working
Post by: dbcig2013 on September 29, 2013, 12:32:19 PM
I had the same problem ( totaly intermittent !!) and impossible to solve it . For me!!
i m not efficient enought in php coding  to investigate more ...

i finally uncheked the """Display modal popup upon 'Add to cart'""  to be sure not loosing more customer.

What is sure: this  ""Display modal popup upon 'Add to cart'"" seems to create a lot of issues for many people, .

And if you have a look in the others forum (i.e where you bought your customize template) it appears this modal  module need to be investigate a little bit more as most of the people unchecked it at the end !

=> Perhaps pb with provider, browser, template, php versions.etc.... probably it will be difficult to solve.
Title: Re: Display modal popup upon 'Add to cart' not working
Post by: Maxim Pishnyak on September 29, 2013, 14:19:19 PM
Quote from: dbcig2013 on September 29, 2013, 12:32:19 PM
I had the same problem ( totaly intermittent !!) and impossible to solve it .
I disagree

Same problem = Same solution = Possible to solve.

Either you haven't any problem or you still need to give YOUR details about your specific issue.
Title: Re: Display modal popup upon 'Add to cart' not working
Post by: dbcig2013 on September 29, 2013, 16:09:36 PM
last joomla version ; last virtuemart version ( 22c)

Sure, there is a solution !! that is why we all post and all esperate the post will be read and a solution gave soon .

As the site is in production, it is not possible for me to try to resolved it. I already spend night and day without acceptable results.   I have no other choice than unchecked this modal option for the moment.

but i continue to investigate .
for the moment, i eliminate the pb like that :

unchecked "Display modal popup upon 'Add to cart' "
And : Configuration > Template (scroll down little bit and look at the "Activate Css Styles & Javascripts" section)

Make sure "Fancybox" is disabled.

And adding the 2 last line in the template

....
</body>
</html>

<?php
   JHTML::stylesheet("facebox.css","components/com_virtuemart/assets/css/");
   JHTML::script("facebox.js", "components/com_virtuemart/assets/js/");
?>
Title: Re: Display modal popup upon 'Add to cart' not working
Post by: ThemeRox on October 07, 2013, 21:52:04 PM
Really unhappy with the virtuemart update.We are developing premium virtuemart template and after update add to cart is not working. Its not adding any product. I don't know why every update comes with bug or errors.
All of our template down for this issue. Check here the running version is previous version and its working fine
http://themerox.com/themeforest/bestshop
But when updated to version 2.0.24 its stop adding everything. I had checked everything code and console no - error or conflict. Updated main file and also IO. I had checked two source code this part is not comming after update in source code
QuotevmLang = "";
vmCartText = ' was added to your cart.' ;
vmCartError = 'There was an error while updating your cart.' ;
loadingImage = '/themeforest/bestshop/components/com_virtuemart/assets/images/facebox/loading.gif' ;
closeImage = '/themeforest/bestshop/components/com_virtuemart/assets/images/facebox/closelabel.png' ;
Virtuemart.addtocart_popup = '1' ;
faceboxHtml = '<div id="facebox" style="display:none;"><div class="popup"><div class="content"></div> <a href="#" class="close"></a></div></div>'  ;

I had checked by disable my template to default template its not working too. I had added Ad to cart at virtuemart front page by this code
Quote<form method="post" class="product" action="index.php" id="addtocartproduct<?php echo $product->virtuemart_product_id ?>">
                        <div class="width_sope2 addtocart-bar">
                              <?php // Display the quantity box ?>
                              <!-- <label for="quantity<?php echo $this->product->virtuemart_product_id;?>" class="quantity_box"><?php echo JText::_('COM_VIRTUEMART_CART_QUANTITY'); ?>: </label> -->
                              <span class="quantity-box">
                                 <input style="display:none;" type="text" class="quantity-input" name="quantity[]" value="1" />
                              </span>
                              
                              <?php // Display the quantity box END ?>

                              <?php // Add the button
                              $button_lbl = JText::_('ROX_COM_VIRTUEMART_CART_ADD_TO');
                              $button_cls = ''; //$button_cls = 'addtocart_button';
                              if (VmConfig::get('check_stock') == '1' && !$this->product->product_in_stock) {
                                 $button_lbl = JText::_('COM_VIRTUEMART_CART_NOTIFY');
                                 $button_cls = 'notify-button';
                              } ?>

                              <?php // Display the add to cart button ?>
                              <span class="addtocart-button">
                                 <input type="submit" name="addtocart"  class="addtocart-button" value="<?php echo $button_lbl ?>" title="<?php echo $button_lbl ?>" />
                              </span>

                           <div class="clear"></div>
                           </div>

                           <?php // Display the add to cart button END ?>
                           <input type="hidden" class="pname" value="<?php echo $product->product_name ?>">
                           <input type="hidden" name="option" value="com_virtuemart" />
                           <input type="hidden" name="view" value="cart" />
                           <noscript><input type="hidden" name="task" value="add" /></noscript>
                           <input type="hidden" name="virtuemart_product_id[]" value="<?php echo $product->virtuemart_product_id ?>" />
                           
                        </form>

Everything was working nice at old version. But for now its totally Sucks. Any one can confirm its a bug or not? Its really painfull.
Title: Re: Display modal popup upon 'Add to cart' not working
Post by: ThemeRox on October 07, 2013, 23:48:32 PM
Quote from: amymattian on September 11, 2013, 16:19:21 PM
Having the same problem on the category-page but not on the product page:
http://shamaanirumpu.net/rumpu-ukon%20puoti/fi/nayttaa-etusivun/shamaanirummut

I have updated for 2.0.22c version both the VM2 and the AIO. But no change. This issue is at least with Chrome and Firefox so not a browser issue (since it does work fine on the product page). Also when clicking Add to cart on the category-page the item is not moved directly to the cart in the upper-corner of the site. Only when moving forward the upper-cart gets updated.

What else can be causing this?

In the middle of making the site multilingual, but quite there yet... having some issues regarding that too...  :(

- Anne


p.s. on this category page it does not work:
http://shamaanirumpu.net/rumpu-ukon%20puoti/fi/nayttaa-etusivun/shamaanirummut

Just add this line vmJsApi::jPrice(); to your com_virtuemart\virtuemart\default_products. I had just found this solution. And its working fine for me now.
Title: Re: Display modal popup upon 'Add to cart' not working
Post by: AH on October 08, 2013, 10:54:19 AM
Glad to see you got it working for your custom  template design.

The update worked for the default templates provided.  Which is what it is coded for.


Title: Re: Display modal popup upon 'Add to cart' not working
Post by: admiss on January 09, 2014, 09:07:59 AM
Hi everyone,

I use Virtuemart 2.0.22b with Joomla 2.5

I've visited a lot of forums, read a lot of posts, but I'm still really sangry (sad+angry), because I just can't solve this annoying problem >:(

When I "Add to cart" a product, nothing happens. The "confirmation" pop up doesn't appear.
(he added product (and its price) can be seen in "Total" only after one click on product categories/or menu items).

(//)

Uncaught TypeError: Object [object Object] has no method 'fancybox'
                         <script>
//<![CDATA[
vmSiteurl = 'http://www.foodhungary.co.uk/' ;
vmLang = '&amp;lang=en' ;
Virtuemart.addtocart_popup = '1' ;
vmCartText = '%2$s x %1$s was added to your cart.' ;
vmCartError = 'There was an error while updating your cart.' ;
loadingImage = '/components/com_virtuemart/assets/images/facebox/loading.gif' ;
closeImage = '/components/com_virtuemart/assets/images/fancybox/fancy_close.png' ;
usefancy = false
//]]>

      window.addEvent('domready', function() {

         SqueezeBox.initialize({});
         SqueezeBox.assign($$('a.modal'), {
            parse: 'rel'
         });
      });

jQuery(document).ready(function () {
   jQuery('.orderlistcontainer').hover(
      function() { jQuery(this).find('.orderlist').stop().show()},
      function() { jQuery(this).find('.orderlist').stop().hide()}
   )
});

<!--//--><![CDATA[//><!--
jQuery.noConflict();
jQuery(document).ready(function() {
if(jQuery("a.lightbox")) { jQuery("a.lightbox").fancybox({'mouseWheel':false,'openEffect':'fade','closeEffect':'fade','nextEffect':'fade','prevEffect':'fade','openSpeed':200,'closeSpeed':200,'nextSpeed':200,'prevSpeed':200,helpers: {overlay: {closeClick:true}}}); }
});
//--><!]]>

//<![CDATA[
jQuery(document).ready(function() {
      jQuery('#VMmenu821_9982 li.VmClose ul').hide();
      jQuery('#VMmenu821_9982 li .VmArrowdown').click(
      function() {

         if (jQuery(this).parent().next('ul').is(':hidden')) {
            jQuery('#VMmenu821_9982 ul:visible').delay(500).slideUp(500,'linear').parents('li').addClass('VmClose').removeClass('VmOpen');
            jQuery(this).parent().next('ul').slideDown(500,'linear');
            jQuery(this).parents('li').addClass('VmOpen').removeClass('VmClose');
         }
      });
   });
//]]>

function keepAlive() {   var myAjax = new Request({method: "get", url: "index.php"}).send();} window.addEvent("domready", function(){ keepAlive.periodical(840000); });
  </script>


Uncaught TypeError: Cannot read property 'settings' of undefined    vmprices.js:88
(anonymous function)                                                                                   vmprices.js:88
k                                                                                                                    jquery.min.js:2
l.fireWith                                                                                                        jquery.min.js:2
y                                                                                                                    jquery.min.js:2
d                                                                                                                    jquery.min.js:2

http://www.foodhungary.co.uk/components/com_virtuemart/assets/js/vmprices.js



Is it possible, that Facebox.js and Fancybox.js are intsalled in the wrong library (place)?
Should I re-install the whole Virtemart and/or Joomla?
WHAT should I do?

[attachment cleanup by admin]
Title: Re: Display modal popup upon 'Add to cart' not working
Post by: jenkinhill on January 09, 2014, 12:47:13 PM
QuoteUncaught TypeError: Object [object Object] has no method 'fancybox'
means that you have a jQuery conflict preventing fancybox from working, probably you are using more than one jQ version. You will need to debug this.  See http://forum.virtuemart.net/index.php?topic=119638.0

Note that your VM version is known to have critical security issues, so you should seriously consider updating. http://forum.virtuemart.net/index.php?topic=118683.0
Title: Re: Display modal popup upon 'Add to cart' not working
Post by: lenny989 on February 20, 2014, 14:22:59 PM
Hi to all. I'm new here and I apologize if my question is not on right place.

I have problem with Add to cart pop-up.
First, when product details page is opened, in console, I get this:
http://prntscr.com/2u6ktb (http://prntscr.com/2u6ktb)
Complete URL: http://orasi.hr/index.php?option=com_virtuemart&nosef=1&view=productdetails&task=recalculate&virtuemart_product_id=13&format=json&quantity%3D1%26customPrice%255B0%255D%255B4%255D%3D21%26quantity%255B%255D%3D1%26option%3Dcom_virtuemart%26virtuemart_product_id%255B%255D%3D13
When I click Add to cart button nothing happens and console says:
http://prntscr.com/2u6low (http://prntscr.com/2u6low)
Complete URL: http://orasi.hr/index.php?option=com_virtuemart&nosef=1&view=cart&task=addJS&format=json&quantity%3D1%26customPrice%255B0%255D%255B4%255D%3D21%26quantity%255B%255D%3D1%26option%3Dcom_virtuemart%26view%3Dcart%26virtuemart_product_id%255B%255D%3D13&_=1392902101441

What can be the problem?

OS: Linux
Apache version: 2.2.25
PHP version: 5.4.21
MySQL version: 5.5.35-cll
Joomla template: Default Beez20 visualy edited.
Joomla version: 2.5.11
Virtue mart version:  2.0.20b


Title: Re: Display modal popup upon 'Add to cart' not working
Post by: jenkinhill on February 21, 2014, 12:27:00 PM
You should first update your Joomla & VirtueMart versions.  http://forum.virtuemart.net/index.php?topic=118683.0
Title: Re: Display modal popup upon 'Add to cart' not working
Post by: Jazajay on February 22, 2014, 11:23:13 AM
Hi all
I know this is going back some; but, what people are describing sounds very similar to a problem I was having. You click the button, you got the load circle; but, no pop up box, or update to the cart.

You then went to another page and the cart had been updated.

This too was intermittent.

My problem was a browser specific security issue.

Viewing the page in the non www. version in Firefox prevents the pop up from happening due to a security issue.

Adding the www. to the URL, then pressing the button and it worked fine.

What I would do is, firstly try adding / taking away the www. to the front of the URL.

If this resolves it you need to redirect that version of the domain to the version you have setup in your site setup - that way when every ou click the button you will also be on the right domain. :)

This happened to me in version 2.0.26D and this resolved it in this issue. :)
Title: Re: Display modal popup upon 'Add to cart' not working
Post by: darkorion on March 16, 2014, 17:29:56 PM
for popup modal problem:

to solve it only install jquery easy ( http://extensions.joomla.org/extensions/core-enhancements/performance/jquery-scripts/18327 ) and JT Safe Jquery ( http://extensions.joomla.org/extensions/core-enhancements/performance/jquery-scripts/24032 )
go to virtuemart in configuration / themes  and disable virtuemart jquery

work normaly and dont need to change any virtuemart files...

www.highshop.com.br/site
Title: Re: Display modal popup upon 'Add to cart' not working
Post by: fastestpc on April 05, 2014, 22:16:58 PM
Quote from: nbirrell on August 03, 2013, 03:01:23 AM
Hi, I am having an issue with the modal popup after adding an item to cart and also with my cart still showing up as having 0 items in it even after adding something to cart.
....................................

I met the same problem. I think it cause by server, the same code ( Joomla! 2.5.11, lastest virturemart 2.0.26d). One server ok (see http://www.lorca.vn/thi%E1%BA%BFt-b%E1%BB%8B-b%E1%BA%BFp-lorca.html ) and the other ( see http://www.chupanhcuoidep.vn/ao-cuoi-daminh-tan.html). And check inspect on chrome i see erro report

Failed to load resource: the server responded with a status of 404 (Not Found) http://www.chupanhcuoidep.vn/templates/dmt/images/vmgeneral/arrow_down.png
Uncaught TypeError: Object [object Object] has no method 'off' script.responsive.js:262
Invalid App Id: Must be a number or numeric string representing the application id. all.js:56
FB.getLoginStatus() called before calling FB.init(). all.js:56
Failed to load resource: the server responded with a status of 404 (Not Found) http://www.chupanhcuoidep.vn/templates/dmt/images/selector-arrow.png
event.returnValue is deprecated. Please use the standard event.preventDefault() instead.
Failed to load resource: the server responded with a status of 406 (Not Acceptable) http://www.chupanhcuoidep.vn/index.php?option=com_virtuemart&nosef=1&view=c...anufacturer_id%3D4%26virtuemart_category_id%255B%255D%3D40&_=1396728807878


Change server is work 100%.
Title: Re: Display modal popup upon 'Add to cart' not working
Post by: delalegro on June 28, 2014, 10:01:00 AM
Quote from: Jazajay on February 22, 2014, 11:23:13 AM
Hi all
I know this is going back some; but, what people are describing sounds very similar to a problem I was having. You click the button, you got the load circle; but, no pop up box, or update to the cart.

You then went to another page and the cart had been updated.

This too was intermittent.

My problem was a browser specific security issue.

Viewing the page in the non www. version in Firefox prevents the pop up from happening due to a security issue.

Adding the www. to the URL, then pressing the button and it worked fine.

What I would do is, firstly try adding / taking away the www. to the front of the URL.

If this resolves it you need to redirect that version of the domain to the version you have setup in your site setup - that way when every ou click the button you will also be on the right domain. :)

This happened to me in version 2.0.26D and this resolved it in this issue. :)

I had the same problem.
solved it by emptying the $live_site in configuration.php
Title: VM will no longer add items 2 shopping cart / no pop-up cart / no pop up Image
Post by: nethawk2k on August 19, 2014, 00:39:08 AM
VirtueMart will no longer add items to shopping cart / no pop-up cart / no pop up Image

► Here's the issue:

When the "add to cart" is submitted, the item selected to be added is NOT added to cart and the user is sent directly to the check out form.
NOTHING is able to be added to the Shopping Cart.

http://www.mshandsome.com/thestore/index.php/com-virtuemart-menu-products/shop-now (http://www.mshandsome.com/thestore/index.php/com-virtuemart-menu-products/shop-now)

► Also:
None of the pop-ups work. After an item is selected to be added to cart, the "shopping cart pop-up" should come up so the user can see what was selected and either continue shopping, or goto check out form. The "product images" do NOT pop up in a lightbox screen.

►  What i've tried to fix:
1) in VirtueMart > Configuration > Check Out
The [Display modal popup upon 'Add to cart'] IS CHECKED
2)  in VirtueMart > Configuration > Templates > Activate CSS & JavaS
The [Use Fancybox] IS CHECKED
The [Using the VirtueMart CSS] IS CHECKED
3) BOTH joomla and VirtueMart is current

►Given:
1) VirtueMart Version: VirtueMart 2.6.8
2) Joomla Version: Joomla! 2.5.22 Stable
3) PHP Version: 5.3.28

►►PLEASE HELP!!!

I know there's someone that can help me.

Thank you in advance!!!
Title: Re: Display modal popup upon 'Add to cart' not working
Post by: GJC Web Design on August 19, 2014, 01:06:28 AM
Your loading jquery twice - so the JS is failing

either use jqueryeasy (search forum) or eliminate the jquery load from your template
note also http://forum.virtuemart.net/index.php?topic=123564.msg421778#msg421778
Title: Re: Display modal popup upon 'Add to cart' not working
Post by: nethawk2k on August 19, 2014, 01:41:27 AM
Quote from: GJC Web Design on August 19, 2014, 01:06:28 AM
Your loading jquery twice - so the JS is failing

either use jqueryeasy (search forum) or eliminate the jquery load from your template
note also http://forum.virtuemart.net/index.php?topic=123564.msg421778#msg421778

Thank you for the help!!

If I have JQuery twice, do I need to delete one o them? If so, how do I do that? or how can I "deactivate" the JQuery so jqueryeasy is the only one loading??

Once again - thank you  :D
Title: Re: Display modal popup upon 'Add to cart' not working
Post by: GJC Web Design on August 19, 2014, 10:22:29 AM
QuoteIf I have JQuery twice, do I need to delete one o them?
yes

QuoteIf so, how do I do that? or how can I "deactivate" the JQuery so jqueryeasy is the only one loading??

thats what jqueryweasy does - suck it and see -
Title: Re: Display modal popup upon 'Add to cart' not working
Post by: nethawk2k on August 19, 2014, 17:40:07 PM
Thank you for your help. I've installed jqueryeasy and tried to configure it to solve my problem. Unfortunately, it has NOT solved anything. If it's a problem of configuring the jqueryeasy, can someone please help me with that?

Once again, Iv'e installed jqueryeasy and ALL the pop-ups no longer work and NOTHING gets added to the Shopping Cart (also the shopping cart pop-up no longer pops up in a small window. Shopper is directed straight to the check out page).

Thank you

:)
Title: Re: Display modal popup upon 'Add to cart' not working
Post by: GJC Web Design on August 19, 2014, 17:56:29 PM
your still loading 2 jquery
jqueryeasy isn't published/configured

get the instructions out and read it - devs spend ages doc'ing their extensions - the least u can do is make the effort to read them
Title: Re: Display modal popup upon 'Add to cart' not working
Post by: adriespo on September 11, 2014, 08:24:14 AM
I managed to solve with the plugin named JB Library http://www.joomlabamboo.com/joomla-extensions/jb-library-plugin-a-free-joomla-jquery-plugin

I did not have to set, I just installed it and it worked.

FYI

Disclosure: I am not involved in this plugin.
Title: Re: Display modal popup upon 'Add to cart' not working
Post by: stawebnice on October 03, 2014, 01:45:47 AM
I had this problem after upgrading the VM 2.0.26d to 2.6.10 and it really helped, when I left live_site empty...
the problem is that my webhosting has this settings that if I leave the live_site param empty, it adds the folders inside www into the url, so instead of
http://www.jeart.gardenpardubice.cz/eshop/cart it looks like this: http://www.jeart.gardenpardubice.cz/subdom/jeart/eshop/cart  (this is testing web on subdomain, but on domain it enters domains/je-art.cz/ instead of subdom/jeart/ here... so I cannot use this solution... or is there any other way, e.g. .htaccess to make it work with empty live_site in configuration.php, please?

Title: Re: Display modal popup upon 'Add to cart' not working
Post by: muddauber on February 24, 2015, 04:53:17 AM
Stawebnice, thank you, thank you. I tried both jquery plugins and had updated all
my VirtueMart components and still no joy with getting my shopping cart to load.

I did what you suggested, (not found in any other documentation) and it worked like a charm.

Thanks again, you're a saint!
Title: Re: Display modal popup upon 'Add to cart' not working
Post by: fraser_john on July 14, 2015, 10:08:52 AM
Quote from: GJC Web Design on August 19, 2014, 01:06:28 AM
Your loading jquery twice - so the JS is failing

either use jqueryeasy (search forum) or eliminate the jquery load from your template
note also http://forum.virtuemart.net/index.php?topic=123564.msg421778#msg421778

Wow, this tidbit was exactly what I needed. I had added the jquery include to my index.php for Joomla so that I could get sortable columns working, it worked great, but broke the checkout process and resulted in the dreaded "Error: Please Select another shipping method".

This post put me right back on track, though my sortable table columns are no longer working, but, I know which part of my site I'd prefer to work! CHECKOUT!
Title: Re: Display modal popup upon 'Add to cart' not working
Post by: jimpett81 on October 12, 2015, 19:54:22 PM
Hi All,

I - like many it seems - am having an issue with the modal pop up after you hit the add to the cart button. My issue is that the box pops up and there is no content in it at all. I have checked the PHP files and it seems that they are calling for content to be added. I have considered writing a function of my own that displays but wonder if this is a common error and if anyone can help me resolve it without having to go outside the realms of the standard code that is already written within Joomla! ?
Title: Re: Display modal popup upon 'Add to cart' not working
Post by: jenkinhill on October 12, 2015, 20:55:32 PM
@jimpett81
You must be using facebox? Select to use fancybox in Config/Templates/Activate Css Styles & Javascripts 

Facebox has now been removed.
Title: Re: Display modal popup upon 'Add to cart' not working
Post by: jimpett81 on October 13, 2015, 11:11:14 AM
Thanks so much for your answer, I am using facebox it seems. Could you offer any help on how to enable fancybox?
Title: Re: Display modal popup upon 'Add to cart' not working
Post by: jenkinhill on October 13, 2015, 11:41:13 AM
Quote from: jenkinhill on October 12, 2015, 20:55:32 PM
Select to use fancybox in Config/Templates/Activate Css Styles & Javascripts