News:

Support the VirtueMart project and become a member

Main Menu

Display modal popup upon 'Add to cart' not working

Started by nbirrell, August 03, 2013, 03:01:23 AM

Previous topic - Next topic

nethawk2k

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

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 https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 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
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

nethawk2k

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

GJC Web Design

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 -
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 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
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

nethawk2k

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

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 https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 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
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

adriespo

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

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

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

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!

jimpett81

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

@jimpett81
You must be using facebox? Select to use fancybox in Config/Templates/Activate Css Styles & Javascripts 

Facebox has now been removed.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

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

jimpett81

Thanks so much for your answer, I am using facebox it seems. Could you offer any help on how to enable fancybox?

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

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