Sixa Add to Cart Block


Add an add-to-cart button for any WooCommerce product anywhere on your page.
Set the quantity, toggle additional information like the stock status and the price,
and automatically hide the button if the product goes out of stock.


  • Select a product from the dropdown menu
  • Add a text to your button
  • Remove the stock status and price



  • Add to Cart Display an add-to-cart button for a given product.


Minimum Requirements

  • PHP version 7.3 or greater.
  • WordPress version 5.7 or greater.
  • WooCommerce version 4.5 or greater.

Automatic installation

Automatic installation is the easiest option — WordPress will handle the file transfer, and you won’t need to leave your web browser. To do an automatic install of the plugin, log in to your WordPress dashboard, navigate to the Plugins menu, and click “Add New.”

In the search field type “Block Data Attribute”, then click “Search Plugins.” Once you’ve found the plugin, you can view details about it such as the point release, rating, and description. Click “Install Now,” and WordPress will take it from there.

Manual installation

Manual installation requires downloading the plugin and uploading it to your webserver via your favorite FTP application. The WordPress codex contains a detailed instruction on how to do this.


Automatic updates should work smoothly, but we still recommend you back up your site.


How do I use the block?

  1. Log in to your WordPress website and navigate to the Dashboard.
  2. Create a new page by visiting Pages > Add new or open an existing page in Pages.
  3. Click on the Block Inserter button in the top left and click on the Add to Cart block in the Widgets section. Alternatively, you may start typing /add-to-cart in a new paragraph block and press enter.
  4. Once you’ve inserted the block, select the product in the dropdown that appears.
  5. You may search for a product by its name in the dropdown.
  6. Select the product from the dropdown and click Select.
  7. Configure the quantity that should be added to the cart in the Inspector controls under Button settings
  8. Add a text to your Add to Cart button by clicking on the button.
  9. You may automatically hide the button if the product becomes out of stock by enabling Hide if out of stock?.
  10. You may toggle the stock status and price by toggling Stock status and Price in the Display Settings in the Inspector controls.
  11. To select a new product, click the pen icon in the block controls.
  12. Publish the page.

How do I get help with the plugin?

The easiest way to receive support is to “Create a new topic” by visiting the Community Forums page.

Make sure to check the “Notify me of follow-up replies via email” checkbox to receive notifications, as soon as a reply is posted to your question or inquiry.

Can I help translating this plugin into a new language?

The plugin is fully translation-ready and localized using the GNU framework. Translators are welcome to contribute to the plugin.

Here’s the WordPress translation website →

How do I contribute to this plugin?

We welcome contributions of any form and you can help reporting, testing, and detailing bugs.

Here’s the GitHub development repository →

Did you like the idea behind this plugin?

Please share your experience by leaving this plugin a 5 star review if you like it. Thank you!

I need help customizing this plugin?

We are an online marketing agency specializing in creating tailor-made software for WordPress and WooCommerce.
If you need professional support for this or any other WordPress project, please reach out to us →.




Sixa Add to Cart Block はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。


“Sixa Add to Cart Block” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。



  • Compatibility with WordPress 5.9


  • Initial release