CartBridge Checkout Links for WooCommerce

CartBridge Checkout Links for WooCommerce

By Gik000
Details
View on WordPress

Since mid-2025 Meta no longer supports native on-platform checkout for Facebook and Instagram shops. Merchants must instead configure a Checkout URL on their own website — Meta documents this approach in the Commerce Platform Checkout URL setup guide. That URL should pre-fill the store cart and send customers straight to checkout.

CartBridge Checkout Links for WooCommerce handles this seamlessly. You configure your store URL as the checkout URL in Meta Commerce Manager and the plugin takes care of the rest: it reads the product list from the URL, fills the WooCommerce cart, and redirects the customer to the checkout page.

How it works

Meta appends a products query parameter to your checkout URL every time a customer taps “Buy” on your Facebook or Instagram shop listing:

https://yourstore.com/checkout?products=wc_post_id_123:2,wc_post_id_456:1

The plugin intercepts this request, adds the right products (and quantities) to the cart, and bounces the customer to /checkout in one smooth redirect.

Supported product ID formats

  • wc_post_id_123:2 — simple product with WooCommerce post ID 123, quantity 2
  • wc_post_id_123_variation_456:2 — variable product 123, variation 456, quantity 2
  • 123:2 — plain WooCommerce post ID (fallback format)

Optional parameters

  • coupon=CODE — applies a coupon code automatically
  • utm_source, utm_medium, utm_campaign, utm_content, utm_term — forwarded to the checkout URL for analytics
  • fbclid, cart_origin — forwarded for Meta attribution

Setup

  1. Install and activate the plugin.
  2. Follow Meta’s official Checkout URL setup guide.
  3. In Meta Commerce Manager Settings Checkout, choose Checkout on another website.
  4. Set the Checkout URL to your store’s checkout page, e.g. https://yourstore.com/checkout.
  5. Meta will automatically append the ?products=… parameter when a customer buys.

Security

  • All query-string values are sanitised before use.
  • Product IDs are validated against the WooCommerce catalogue; non-existent or non-purchasable products are silently skipped.
  • Quantities are capped at 99 per item; item count is capped at 50 per request.
  • The final redirect uses wp_safe_redirect().

Requirements

  • WordPress 6.0 or later
  • WooCommerce 7.0 or later
  • PHP 7.4 or later

Details

Plugin code:
cartbridge-checkout-for-woocommerce
Plugin version:
1.0.1
Author:
Outdated:
No
WP version:
6.0 or higher
PHP version:
7.4 or higher
Test up to WP version:
7.0
Total installations:
0
Last updated:
2026-06-17
Rating:
Times rated:
0
cart
checkout
facebook
instagram
woocommerce