Woo URL Direct Checkout is a WordPress plugin that allows you to add multiple items to the cart on the URL parameter. Simply use the "add-to-cart" URL parameter with the format of product_id:quantity separated by commas to add multiple products to the cart at once.
To use the plugin, simply add the "add-to-cart" URL parameter to the URL of the page where you want to add the products. The format is https://example.com/?add-to-cart=product_id:quantity,product_id:quantity,... where product_id is the ID of the product and quantity is the desired quantity.
Example URL: https://example.com/?add-to-cart=141:2,170:4
- Add multiple products to the cart using the URL parameter.
- Clear the cart before adding new items.
- Compatible with WooCommerce.
To install the plugin, follow these steps:
- Download the latest version of the plugin from the GitHub repository.
- Upload the plugin folder to the
wp-content/plugins/directory of your WordPress site. - Activate the plugin from the WordPress admin dashboard.
This plugin was created by Ramiz Brain.