A simpler WooCommerce add to cart shortcode
Author: | Jonathan Bossenger (profile at wordpress.org) |
WordPress version required: | 4.0 |
WordPress version tested: | 5.1.13 |
Plugin version: | 1.0 |
Added to WordPress repository: | 08-03-2017 |
Last updated: | 30-05-2022 |
Rating, %: | 100 |
Rated by: | 2 |
Plugin URI: | http://jonathanbossenger.com/ |
Total downloads: | 3 127 |
Active installs: | 200+ |
Click to start download |
The plugin creates a shortcode [add_to_cart_by_product] which can be used in the editor area of any WooCommerce product. It will then render the default WooCommerce ‘add to cart’ button, but without the user needed to specify the product id.