Jump to content
skrittar

Integration with external application (add products to cart, return url to that cart)

Recommended Posts

Hi everyone,

I'm working on a certain application (external application in html5 and js) to create gift boxes, simple, add products to the chosen place by the customer (like inventory in games). I add new module to shop, and I add front controller there to get products from shop (product id, title, description, price and image url) in json. When the client finishes customization, I wont to add selected products to  cart, and redirect customer to shop cart, so the order process takes place in shop, not in my application.

For now, I just add iframe with url to add product to cart, but this is very slow (one iframe per product) and this soulution wont work if I convert my application into mobile version.

I tried to work with the Prestashop API to achieve this, even if I was able to add products to the cart, I was not able to redirect the user to the cart.

any suggestions will be appreciated

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More