This is a simple Magento 2 module which adds a widget which provides the ability to insert an add to cart button on a CMS page or static block.
- productid
- The id of the product which should get added to cart
- buttontitle
- This fills the title attribute of the button
- buttonlabel
- The label of the button
- buttoncssclasses
- You can specify the CSS classes of the button.