Jump to content

Prestashop Buy now link/button in a static website - without premium addons


seekman

Recommended Posts

Jello, I am running Prestashop 1.7.

I am making a landing page for a specific product, on a separate website, which is HTML+JS. No Prestashop, no CMS.

I would like to add in this place few buttons which allow to buy a product in 2 different parameters. For the sake of easy understanding let's consider the color.

I want to put in this external site two buttons:

  • Button 1, will redirect the visitor to Prestashop and will immediately add to the cart the Product in Red color.
  • Button 2, will do the same, but with Blue color

How can I achieve or generate such buttons/links, that will automatically add to the cart specific products and their parameters? Can anyone explain step by step how to do that? If the only solution is to create a POST link, how can I generate such a specific link?

Thank you in advance

Link to comment
Share on other sites

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