Jump to content

Ability to run a Prestashop cart block off of an External Site you Control


Recommended Posts

I would like to use Prestashop as a shopping cart for my other PHP ecommerce websites. To do this, all I need is the ability to add a cart block onto my external sites. Can that be done?

For example:
I want site A which is a strictly HTML and PHP website to list my products and site B to process the payments using prestashop.

To do this effectively, I would like site A to be able to list how many items a customer has added to their cart or deleted from their cart already. (Just like the cart block that prestashop has, which is basically the only part of prestashop I need to run on Site A)

Anybody done this yet? If you think you can, please post here or pm me. I am willing to compensate others for their time.

Link to comment
Share on other sites

Hi,

You can use the new feature "Web-service" available in PrestaShop v1.4 to do that.

First of all you'll have to go your PrestaShop admin panel in the Web-service tab (Located in "Tools" I think).

Then, create a user for the site A and give it access to your categories/products.

Lastly, develop a piece of PHP code on the site A to access to the Web-service.
We will provide several examples & how-to as soon as possible.

Regards,

Link to comment
Share on other sites

  • 6 months later...
  • 3 months later...
×
×
  • Create New...