Jump to content

Equivalent of ajaxCart.js in prestashop 1.7 ?


Recommended Posts

Hello !

I just downloaded the 1.7 version of prestashop and I try to redo things that I used to do in the 1.6 version, like custom module and editing the template files.

For training I've created a module that display a custom page with a set of products that I choose, and I want to add a simple button to add the product.

In 1.6 you just add to call ajaxCart.add with the id and quantity of your chosen product and prestashop will then handle it, but I just can't find that function in 1.7, does it even exist ? The product page works in ajax and even show a modal so I think that this kind of function exist somewhere. Does somebody knows ?

 Thank you for your responses !

Link to comment
Share on other sites

  • 2 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...