Title: CartBridge Checkout Links for WooCommerce
Author: Gik000
Published: <strong>17 Tháng 6, 2026</strong>
Last modified: 22 Tháng 6, 2026

---

Tìm kiếm plugin

![](https://ps.w.org/cartbridge-checkout-for-woocommerce/assets/banner-772x250.png?
rev=3575495)

![](https://ps.w.org/cartbridge-checkout-for-woocommerce/assets/icon-256x256.png?
rev=3575495)

# CartBridge Checkout Links for WooCommerce

 Bởi [Gik000](https://profiles.wordpress.org/gik000/)

[Tải về](https://downloads.wordpress.org/plugin/cartbridge-checkout-for-woocommerce.1.0.1.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/cartbridge-checkout-for-woocommerce/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/cartbridge-checkout-for-woocommerce/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/cartbridge-checkout-for-woocommerce/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/cartbridge-checkout-for-woocommerce/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/cartbridge-checkout-for-woocommerce/)

## Mô tả

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](https://developers.facebook.com/docs/commerce-platform/setup-checkout-url).
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](https://developers.facebook.com/docs/commerce-platform/setup-checkout-url).
 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

## Cài đặt

 1. Upload the `cartbridge-checkout-for-woocommerce` folder to `/wp-content/plugins/`.
 2. Activate the plugin through the **Plugins** screen in WordPress.
 3. Configure your Checkout URL in Meta Commerce Manager (see the Description tab).

No other configuration is needed.

## Hỏi đáp

### Does this work with variable products?

Yes. Meta passes variation IDs in the format `wc_post_id_123_variation_456:qty`.
The plugin maps those to the correct WooCommerce variation automatically.

### What happens if a product is out of stock?

Out-of-stock and non-purchasable products are silently skipped. If _no_ valid product
can be added to the cart, the redirect is suppressed and the customer stays on the
landing page.

### Can I use any page as the checkout URL?

Yes. The plugin listens on _every_ front-end request and activates only when the`
products` parameter is present, so you can point Meta to any page of your site.

### Does the plugin conflict with page caching?

URLs containing the `products` parameter should be excluded from your caching layer.
Most caching plugins (LiteSpeed Cache, W3 Total Cache, WP Rocket, etc.) allow you
to add query-string exclusion rules for this parameter.

### Is the plugin GDPR-compliant?

The plugin does not collect, store, or transmit any personal data. It only reads
URL parameters provided by Meta and uses them to populate a server-side WooCommerce
cart session.

## Đánh giá

Không có đánh giá nào cho plugin này.

## Người đóng góp & Lập trình viên

“CartBridge Checkout Links for WooCommerce” là mã nguồn mở. Những người sau đã đóng
góp vào plugin này.

Những người đóng góp

 *   [ Gik000 ](https://profiles.wordpress.org/gik000/)

“CartBridge Checkout Links for WooCommerce” đã được dịch qua 2 ngôn ngữ. Cảm ơn 
[những người tham gia dịch](https://translate.wordpress.org/projects/wp-plugins/cartbridge-checkout-for-woocommerce/contributors)
vì đóng góp của họ.

[Dịch “CartBridge Checkout Links for WooCommerce” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/cartbridge-checkout-for-woocommerce)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/cartbridge-checkout-for-woocommerce/),
check out [SVN repository](https://plugins.svn.wordpress.org/cartbridge-checkout-for-woocommerce/),
hoặc theo dõi [nhật ký phát triển](https://plugins.trac.wordpress.org/log/cartbridge-checkout-for-woocommerce/)
qua [RSS](https://plugins.trac.wordpress.org/log/cartbridge-checkout-for-woocommerce/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

#### 1.0.1

 * Renamed plugin to CartBridge Checkout Links for WooCommerce for WordPress.org
   directory compliance.
 * Replaced generic wc prefix with cartbridge prefix throughout the codebase.
 * Removed redundant load_plugin_textdomain() call.
 * Added plugin directory banners and icons.
 * Added link to Meta’s official Checkout URL documentation in the plugin description.
 * Added complete translations for 14 languages.

#### 1.0.0

 * Initial release.

## Meta

 *  Phiên bản **1.0.1**
 *  Cập nhật lần cuối **5 tháng trước**
 *  Số lượt cài đặt **20+**
 *  Phiên bản WordPress ** 6.0 hoặc cao hơn **
 *  Đã kiểm tra lên đến **7.0.8**
 *  Phiên bản PHP ** 7.4 hoặc cao hơn **
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/cartbridge-checkout-for-woocommerce/),
   [Russian](https://ru.wordpress.org/plugins/cartbridge-checkout-for-woocommerce/),
   và [Turkish](https://tr.wordpress.org/plugins/cartbridge-checkout-for-woocommerce/).
 *  [Dịch sang ngôn ngữ của bạn](https://translate.wordpress.org/projects/wp-plugins/cartbridge-checkout-for-woocommerce)
 * Thẻ
 * [cart](https://vi.wordpress.org/plugins/tags/cart/)[checkout](https://vi.wordpress.org/plugins/tags/checkout/)
   [facebook](https://vi.wordpress.org/plugins/tags/facebook/)[Instagram](https://vi.wordpress.org/plugins/tags/instagram/)
   [woocommerce](https://vi.wordpress.org/plugins/tags/woocommerce/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/cartbridge-checkout-for-woocommerce/advanced/)

## Đánh giá

Chưa có đánh giá nào được gửi.

[Your review](https://wordpress.org/support/plugin/cartbridge-checkout-for-woocommerce/reviews/#new-post)

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/cartbridge-checkout-for-woocommerce/reviews/)

## Những người đóng góp

 *   [ Gik000 ](https://profiles.wordpress.org/gik000/)

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/cartbridge-checkout-for-woocommerce/)

## Ủng hộ

Bạn có muốn hỗ trợ vào sự phát triển của plugin này?

 [ Ủng hộ plugin này ](https://liberapay.com/unmoscerinonelweb.com/donate)