How to add 'add to cart' button in custom content type using Commerce 2? I have created a new content type with product title, description, price(field_price), SKU(field_sku) fields. I just want to add a Add to cart button into this content type.

What I tried?
I have read many places, it says to add 'Product references'. I have tried to do that using 'Entity reference' field and selected 'Product'. But no luck.

Can someone guide me step by step about how can we add such 'Add to cart' button in custom content type?
Follow below steps to show Add to cart button into any content type.


Add field with reference as Product and select list of product bundles you want to show in content type.
And in field settings select reference as shown in below.

Go to content type manage display and select as "Rendered Entity" as shown below.

Go to the product type which you selected in content type and click on manage display.
See for variations and select as "Add to cart form" as shown in below.



And that's it after adding node with product you will be able to see the Add to cart button into node view like below.