Jump to content

Adding items to cart via URL?


Zemotard

Recommended Posts

Hello is it possible to add items in a shopping cart by using an URL?   Indeed, I have developed a calculator which recommends a number of articles & qty according to specific rules.   From my calculator( webpage) I would to redirect the user to my prestashop site to automatically add the items / qty resulting from my calculator in his basket to facilitate the act of purchase.

  Is it possible ? If so, could you tell me how?   Thank you in advance.

Hello is it possible to add items in a shopping cart from a URL?   Indeed, I have developed a calculator which recommends a number of articles & qty according to specific rules.   I wish that from my calculator I could redirect the user to my site prestashop to automatically add the items / qty  resulting from my calculator in his basket to facilitate the act of purchase.   Is it possible ? If so, could you tell me how?   Thank you in advance.

Edited by Zemotard (see edit history)
Link to comment
Share on other sites

  • 2 months later...

Thanks for your answer.

But I don't success to  integrate this module.

 

The both parts of the code you provide to me have to be stored in an html file, then I have to replace the value URL_TO_YOUR_CONTROLLER by my prestashop URL site ? I'm right ? 

 

Regards

Edited by Zemotard (see edit history)
Link to comment
Share on other sites

  • 4 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...