开发者 | alvsconcelos |
---|---|
更新时间 | 2024年12月28日 03:35 |
捐献地址: | 去捐款 |
PHP版本: | 7.4 及以上 |
WordPress版本: | 6.7.1 |
版权: | GPLv3 or later |
版权网址: | 版权信息 |
add-to-cart=product_id&quantity=quantity
, this plugin extends that functionality to support multiple products in a single URL.
How it works:
?add-to-cart=product_id:quantity,product_id:quantity,product_id:quantity
?add-to-cart=product_id,product_id:quantity
), the product is added with a quantity of 1.example.com/cart/?add-to-cart=12:2,34:1,56:5
example.com/cart/?add-to-cart=12,34:2,56
add-multiple-product-wc-cart.zip
to the /wp-content/plugins/
directory.Use the URL format: ?add-to-cart=product_id:quantity,product_id:quantity
If no quantity is specified, the product will be added with a quantity of 1.