WordPress plugin intelligence profile

Add multiple products to cart via url for Woocommerce

Add multiple products to WooCommerce cart with native add-to-cart parameters.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 6.9
Current version1.1.0
WordPress coverageTested up to WordPress 6.9
Minimum stackWP 5.0 · PHP 7.4
Directory statusactive
Last directory update16 Mar 20267mo ago
Active installations200Adoption metric — not a quality score
WordPress.org rating5.0 / 5 from 2 ratings
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Add multiple products to cart via url for Woocommerce version 1.1.0 as active, updated 7mo ago and tested up to WordPress 6.9.

Overview

About this plugin

This plugin allows adding multiple simple (not variable or grouped) products to the WooCommerce cart using URL parameters. While WooCommerce natively supports adding a single product to the cart via a URL parameter like add-to-cart=product_id&quantity=quantity, this plugin extends that functionality to support multiple products in a single URL.

How it works:

  • URL Format:?add-to-cart=product_id:quantity,product_id:quantity,product_id:quantity
  • Single Quantity: If the quantity is not specified (eg.?add-to-cart=product_id,product_id:quantity ), the product is added with a quantity of 1.

Examples:

  • Adding multiple products with specific quantities:

add-to-cart=12:2,34:1,56:5

  • Adding multiple products with default quantity:

add-to-cart=12,34:2,56

Configuration

The plugin works out of the box with no configuration required. php to adjust the default limits:

Maximum products per request (default: 50)

define( ‘ADD_MULTIPLE_TO_WC_CART_PRODUCT_LIMIT’, 50 );

Limits how many product entries are processed in a single URL. Extra products beyond the limit are silently ignored.

Maximum quantity per product (default: 999)

define( ‘ADD_MULTIPLE_TO_WC_CART_QTY_MAXIMUM’, 999 );

Caps the quantity of each individual product. Any quantity above this value is clamped to the maximum.

Example — allow up to 10 products with a max qty of 100:

define( ‘ADD_MULTIPLE_TO_WC_CART_PRODUCT_LIMIT’, 10 );

define( ‘ADD_MULTIPLE_TO_WC_CART_QTY_MAXIMUM’, 100 );

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • add to cart
  • products
  • url
  • woocommerce
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 6.9

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 6.9.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to6.9
Minimum requirementsWordPress 5.0 · PHP 7.4
Update activity16 Mar 20267mo ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.