How do I add a cart form to the product view? With Drupal Commerce 8.x-2.0-beta5, I created some products and a view that lists all products with their variations.

I wanted to add the cart form to any variation, but I was not able to do so.

How can I achieve it?
To display an "add to cart" button on a product's display you need to:


Go to /admin/commerce/config/product-types/TYPE/edit/display
Make sure that Variations field is displayed
Select "Add to cart form"


Views display:

You simply need to add the "Product: Variations" field and set its display as "Add to cart form"

You of course you need to have the "Commerce Cart" module enabled :)

Not intuitive really. I might end up using Commerce Variation Add to Cart module.