Skip to content

sixach/wp-block-add-to-cart

Repository files navigation

Add to Cart Block

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 is out of stock.

Requirements

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

Development

You'll need Node.js and Composer installed on your computer in order to build this theme.

  • Download or fork the repository.
  • Run npm install to install NPM dependencies
  • Run npm run dev command to compile and watch source files for changes while developing.
  • Run composer install to install composer dependencies

Production

  • Download or fork the repository
  • Run npm install to install NPM dependencies
  • Run npm run build to compile assets for production
  • Run composer install --no-dev --optimize-autoloader to install composer packages required in production

Translators

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

Contributors

We welcome contributions of any form.

Support

All support is handled via the dedicated WordPress plugin support forum. If you have any question or issues, please create a new topic in the WordPress plugin support forum.

Rate ⭐⭐⭐⭐⭐

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

About

The add to cart block allows you to display the price, SKU, stock quantity, and add to cart button of a single product.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published