News:

Looking for documentation? Take a look on our wiki

Main Menu

Add to Cart button not working.

Started by KlingstedtBrothers, March 28, 2013, 20:30:59 PM

Previous topic - Next topic

KlingstedtBrothers

Joomla: 2.5.9
VM: 2.0.20b
Template: Custom (hand coded by me)
Link: http://www.herkytheclown.com/component/virtuemart/magic/thumb-tip-detail?Itemid=0

The add to cart button is not working for me.  I coded the template myself so it's possible I may not have included something I should have.  Any help would be appreciated.

Thanks!

jenkinhill

I get these errors on trying add to cart:

HTML1524: Invalid DOCTYPE. The shortest valid doctype is "<!DOCTYPE html>".
thumb-tip-detail, line 1 character 1
SEC7118: XMLHttpRequest for http://herkytheclown.com/index.php?option=com_virtuemart&nosef=1&view=cart&task=addJS&format=json&quantity%3D1%26quantity%255B%255D%3D1%26option%3Dcom_virtuemart%26view%3Dcart%26virtuemart_product_id%255B%255D%3D1&_=1364511162580 required Cross Origin Resource Sharing (CORS).
thumb-tip-detail
SEC7120: Origin http://www.herkytheclown.com not found in Access-Control-Allow-Origin header.
thumb-tip-detail
SCRIPT7002: XMLHttpRequest: Network Error 0x80070005, Access is denied.
thumb-tip-detail

And no, I don't know what they mean. Simple check is to test with Beez20 template. If VM add to cart works it rules out VM and server issues, just leaving your template.
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