Auto Add To Cart

Hi, I have been asked to add some recipes to a website. I would like to be able to have it so that if you click on one of the ingredients, that it adds it to the cart.

For example, below, if i was to click the 2 kinles chicken breast....i would like it to add this product to my cart

does anyone have any ideas?



25g salted popcorn

  • 85g stale bread or breadcrumb
  • 1 tsp smoked paprika
  • 50g plain flour
  • 1 large egg
  • 2 skinless chicken breast, cut into long thin strips
  • oil, for frying

Are you a developer or have developer skills? If not, going to be hard to tell you "how".

But if you are, setup an on-click event for those elements and then have it do an ajax call to "checkout..add&product_id=$product_id".

If your recipes are on a different site (like a wordpress site) or you have them in a "page" or "description" then you can use our free remote checkout script located at: Instructions are in the comments.

Thanks tony, may need to come to you about this one then