All Collections
Product Recommendations
Adding an "Add to cart" button to product recommendations
Adding an "Add to cart" button to product recommendations
Joel Lang avatar
Written by Joel Lang
Updated over a week ago

To add a fully-featured button (by "fully featured" we mean to say that clicking on the button actually adds the product to the cart) we will require some technical documentation from your tech team and potentially some changes and additions to the product feed.

The requirements will be different depending on the particulars of your store but in general we'll need:

  1. A complete HTML form example that adds a specific item to the cart.

  2. For each input field in the form an explanation from where the data can be retrieved (for example you might need to add the product IDs to the feed or specify where dynamic form keys are located).

  3. If the products are configurable the feed will need to include the option text that is presented to the visitor (sizes, colors etc...)

  4. Information about any operation we need to perform after the visitor clicked the button and the form is submitted.

The steps above describe what is possibly the most complex scenario. If your store has a built-in "add to cart" popup that displays the product options (like the image below) then things we become much simpler and we'll just need documentation on how to trigger the popup for a specific product.


โ€‹

Did this answer your question?