Jump to content

Ajax cart not working on new theme?


Recommended Posts

Hi guys,

I've created a new theme for my store, however, the Ajax cart isn't working - it just redirects you to the order.php cart, and adds it that way.

Is there something I'm missing in my template file? I've copied across all of the header calls to different javascripts and stuff, but still doesn't seem to be working.

Also, it IS enable in the admin back end.

Thanks in advance :)

Link to comment
Share on other sites

In an other poster the team said
However, we will be giving you the option of easily turning this feature on or off in the Back Office. Please note that the Ajax cart also works without Ajax: A link (just as in previous versions) to the 'cart.php' controller will work in either case.

For developers and designers, the implementation and customization of the Ajax cart should be obvious, as long as the HTML code in the module stays the same. This has been streamlined (and XHTML1.1 W3C validated) in order to allow for simple changes via the CSS stylesheet. (FYI, we have double-checked all HTML and CSS stylesheet semantics for the new default theme.)

Nevertheless, if you wish to modify the template of the Cart Block module, nothing could be easier: just change the JSON file in the same directory as the template block and the Ajax cart should work no problem.
May be it's a good indication for you

regards

Link to comment
Share on other sites

×
×
  • Create New...