VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: AHTaylor1968 on September 21, 2014, 10:43:16 AM

Title: add to cart button not working
Post by: AHTaylor1968 on September 21, 2014, 10:43:16 AM
Hi I have selected the "use only as catalogue" in configuration/shop so customers could not buy when I initially go live with the site but when I have deselected this now to enable customers to buy the button reappears but does not do anything.

The pop up modul "add to cart does not appear.  When I have hover over the button the little hand appears but nothing happens.  Not sure why as was working fine before.


Any suggestions?

VM:2.0.26d
joomla!: 2.5.18
php: 5.4.31

Just tried it again and realised that the button doesnt change when I hover it so it a CSS problem??!!
Title: Re: add to cart button not working
Post by: jenkinhill on September 21, 2014, 11:15:43 AM
You should update Joomla and VM:  http://forum.virtuemart.net/index.php?topic=118683

CSS issues will not prevent add to cart from functioning, this is usually a JavaScript issue.  http://forum.virtuemart.net/index.php?topic=118683
Title: Re: add to cart button not working
Post by: AHTaylor1968 on September 21, 2014, 11:32:26 AM
Thanks JenkinHill

Ive just accessed the shopping cart and the products are being put in the cart etc but just not showing to customer - who obviously needs to be able to see the cart etc!1

Will update and hope all ok.

Thanks again
Title: Re: add to cart button not working
Post by: AHTaylor1968 on September 21, 2014, 11:47:16 AM
My VM is actually 2.6.10!  Forgot I had updated this last week.  does this mean it is my Joomla! 2.5.18 that needs the update?

Im a bit nervous of updating to Joomla! 3 as my template is only 2.5 compatible.
Title: Re: add to cart button not working
Post by: GJC Web Design on September 21, 2014, 12:51:41 PM
There is no need to go to Joomla3!

Joomla2.5 (you should be on 2.5.24 for security reasons) with VM2.6.10 is what would be called current stable at the moment.

The simple test is to try your install with the standard template (Beez) - if it all works (which it most likely will) then it is a problem with your template

Either ask the template maker for an update for VM2.6.10 or you will need someone to update it for you.
Title: Re: add to cart button not working
Post by: AHTaylor1968 on September 21, 2014, 18:46:05 PM
Thanks for the advice.

Used another of my installed templates and problem still occurs.  Add to Cart Button appears but has no apparent function.  However, when I use another of my other main menu items and use it as a virtuemart shopping cart it shows all the products I have selected in the invoice.  So it looks like the box (is it called a modal box?) is not appearing when the add to cart button is clicked and my customers have no way of seeing their cart!   This all worked fine until I selected the "use only as a catalogue" - which was only a temp measure but now looks like a more permanent setting if I cant get the add to cart button to function etc.

Want to cry as so close but yet so far!!!

HELP!!!!
Title: Re: add to cart button not working
Post by: jenkinhill on September 21, 2014, 19:13:24 PM
Have you looked for JavaScript errors?
Title: Re: add to cart button not working
Post by: AHTaylor1968 on September 21, 2014, 22:04:29 PM
Hi Jenkinhill,

No as dont have a clue how to or what to look for!!

Any advice as to a good tutorial?
Title: Re: add to cart button not working
Post by: jenkinhill on September 21, 2014, 23:22:28 PM
As mentioned earlier:  http://forum.virtuemart.net/index.php?topic=118683
Title: Re: add to cart button not working
Post by: GJC Web Design on September 21, 2014, 23:25:02 PM
QuoteUsed another of my installed templates and problem still occurs.

why "another"?

try Beez that is std and bundled with Joomla - but without a live url very difficult to give any more advice
Title: Re: add to cart button not working
Post by: AHTaylor1968 on September 22, 2014, 09:08:41 AM
Only used "another" as the beez template did not show my main menu for some reason.

Title: Re: add to cart button not working
Post by: GJC Web Design on September 22, 2014, 11:43:09 AM
and how do u know "another is any good - up to date" ?

but again - no live url - no help - we can't just guess...
Title: Re: add to cart button not working
Post by: AHTaylor1968 on September 22, 2014, 12:24:28 PM
My site is not live yet but is it Ok if I give you the url of my test site so you can have a look?

Title: Re: add to cart button not working
Post by: GJC Web Design on September 22, 2014, 16:06:27 PM
As soon as I start looking at your site individually this is consultancy - i.e. needs to be paid for - if that's what you mean then just email me
Title: Re: add to cart button not working
Post by: AHTaylor1968 on September 22, 2014, 17:26:44 PM
Thankyou GJC for your help. 

Sorry! I thought you were asking me for the URl so you could look at it.

I appreciate individual help needs to be paid for but funds not available as yet (thats why Im doing the website!)