Author Topic: Display modal popup upon 'Add to cart' not working  (Read 41620 times)

nethawk2k

  • Beginner
  • *
  • Posts: 4
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

► 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!!!

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 8892
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.4.2
Re: Display modal popup upon 'Add to cart' not working
« Reply #31 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
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

nethawk2k

  • Beginner
  • *
  • Posts: 4
Re: Display modal popup upon 'Add to cart' not working
« Reply #32 on: August 19, 2014, 01:41:27 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

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 8892
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.4.2
Re: Display modal popup upon 'Add to cart' not working
« Reply #33 on: August 19, 2014, 10:22:29 am »
Quote
If I have JQuery twice, do I need to delete one o them?
yes

Quote
If 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 -
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

nethawk2k

  • Beginner
  • *
  • Posts: 4
Re: Display modal popup upon 'Add to cart' not working
« Reply #34 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

 :)

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 8892
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.4.2
Re: Display modal popup upon 'Add to cart' not working
« Reply #35 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
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

adriespo

  • Beginner
  • *
  • Posts: 31
    • Adriano Esposito
  • Skype Name: adriano.esposito
Re: Display modal popup upon 'Add to cart' not working
« Reply #36 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.

stawebnice

  • Jr. Member
  • **
  • Posts: 233
  • What does not kill you, makes you stronger...
    • StaWEBnice - www stránky, seo optimalizace a copywriting
  • Skype Name: peta_ze_sklepa
  • VirtueMart Version: 3.2.14
Re: Display modal popup upon 'Add to cart' not working
« Reply #37 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?


muddauber

  • Jr. Member
  • **
  • Posts: 68
Re: Display modal popup upon 'Add to cart' not working
« Reply #38 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!

fraser_john

  • Beginner
  • *
  • Posts: 1
Re: Display modal popup upon 'Add to cart' not working
« Reply #39 on: July 14, 2015, 10:08:52 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!

jimpett81

  • Jr. Member
  • **
  • Posts: 71
  • A beginner
  • Skype Name: jimstomp
Re: Display modal popup upon 'Add to cart' not working
« Reply #40 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! ?

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27426
  • Always on vacation
    • Jenkin Hill Internet
Re: Display modal popup upon 'Add to cart' not working
« Reply #41 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.
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM 3.4.3.10057 on Joomla 3.9.8 PHP 7.0.33
Testing VM .3.6.0.10075 on Joomla 3.9.8

jimpett81

  • Jr. Member
  • **
  • Posts: 71
  • A beginner
  • Skype Name: jimstomp
Re: Display modal popup upon 'Add to cart' not working
« Reply #42 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?

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27426
  • Always on vacation
    • Jenkin Hill Internet
Re: Display modal popup upon 'Add to cart' not working
« Reply #43 on: October 13, 2015, 11:41:13 am »
Select to use fancybox in Config/Templates/Activate Css Styles & Javascripts
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM 3.4.3.10057 on Joomla 3.9.8 PHP 7.0.33
Testing VM .3.6.0.10075 on Joomla 3.9.8