Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sixach/wp-block-add-to-cart
The add to cart block allows you to display the price, SKU, stock quantity, and add to cart button of a single product.
https://github.com/sixach/wp-block-add-to-cart
block woocommerce
Last synced: 1 day ago
JSON representation
The add to cart block allows you to display the price, SKU, stock quantity, and add to cart button of a single product.
- Host: GitHub
- URL: https://github.com/sixach/wp-block-add-to-cart
- Owner: sixach
- License: other
- Created: 2021-05-13T15:27:45.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-10-10T14:13:43.000Z (about 2 years ago)
- Last Synced: 2023-03-03T21:09:08.313Z (over 1 year ago)
- Topics: block, woocommerce
- Language: JavaScript
- Homepage:
- Size: 10.4 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Add to Cart Block
![Sixa Add to Cart Block](https://ps.w.org/sixa-add-to-cart-block/assets/banner-772x250.jpg?rev=2632168)
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](https://nodejs.org/) and [Composer](https://getcomposer.org/) 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](https://translate.wordpress.org/projects/wp-plugins/sixa-add-to-cart-block/).## Contributors
We welcome contributions of any form.## Support
All support is handled via the dedicated [WordPress plugin support forum](https://wordpress.org/support/plugin/sixa-add-to-cart-block).
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](https://wordpress.org/support/plugin/sixa-add-to-cart-block/reviews/ "Rate sixa Add to Cart Block 5 stars") if you like it. Thank you!