Jump to content

Change add to cart functionality


Dermot mgm

Recommended Posts

Hi,
I'm looking to change the function of the add to cart button to take advantage of some changes my supplier has made to his website. This will allow orders from my stores to go directly to him. My customers will be checking out on his site (all products are pre-order and credit account only)

I'm using Prestashop 1.6.0.9

The following are the examples of how products can be added to his store - by using GET or POST.

Does anyone have any suggestions as how I can best do this? Thanks

 

 

<form action="https://YOURDOMAIN.foxycart.com/cart" method="post"><input type="hidden" name="name" value="A great product" /> <input type="hidden" name="price" value="5.00" /> <select name="size"> <option value="small">Small</option> <option value="medium">Medium</option> <option value="large">Large</option> </select> <input type="submit" value="Buy It Now!" /> </form>

 

 

<a href="https://YOURDOMAIN.foxycart.com/cart?name=A+great+product&price=5">Buy this Great Product!</A>
Edited by Dermot mgm (see edit history)
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...