Title: CartLink Generator for WooCommerce — Direct Checkout &amp; Share Cart Links
Author: Elvin Haci
Published: <strong>21.12.2024</strong>
Last modified: 21.09.2026

---

Шукати плагіни

![](https://ps.w.org/cartlink-generator/assets/banner-772x250.png?rev=3597365)

![](https://ps.w.org/cartlink-generator/assets/icon-256x256.png?rev=3597365)

# CartLink Generator for WooCommerce — Direct Checkout & Share Cart Links

 Від автора [Elvin Haci](https://profiles.wordpress.org/elvinhaci/)

[Завантажити](https://downloads.wordpress.org/plugin/cartlink-generator.1.2.0.zip)

 * [Деталі](https://uk.wordpress.org/plugins/cartlink-generator/#description)
 * [Відгуки](https://uk.wordpress.org/plugins/cartlink-generator/#reviews)
 *  [Встановлення](https://uk.wordpress.org/plugins/cartlink-generator/#installation)
 * [Розробка](https://uk.wordpress.org/plugins/cartlink-generator/#developers)

 [Підтримка](https://wordpress.org/support/plugin/cartlink-generator/)

## Опис

**Turn a chat message into a one-click checkout.** CartLink Generator for WooCommerce
lets you build a cart for a customer — products, quantities, even custom prices —
and share it as a single link. When they open it, the cart is pre-filled and they
go straight to checkout. No searching, no adding to cart, no friction.

It’s built for the way people actually sell today: over **WhatsApp, Instagram DMs,
Telegram, Messenger, email and live chat**. Instead of telling a customer “search
for product X, add 2, then find product Y,” you send them one link that does it 
all — cutting 3–4 steps out of the buying journey and driving faster conversions.

Generate the link in the admin, then share it instantly with the built-in **WhatsApp,
Telegram and email buttons**, or let your customer scan the auto-generated **QR 
code** in person or from a printed flyer.

### Why store owners use it

 * **Chat commerce & social selling** — send a ready-to-buy cart link in any conversation.
 * **Direct “Buy Now” links** — skip the cart page entirely and land the customer
   on checkout.
 * **Custom quotes & negotiated prices** — set a per-product price or a fixed subtotal
   discount for a specific customer.
 * **Sales reps & wholesale** — prepare an order for a client and let them confirm
   with one tap.
 * **Campaigns & flyers** — drop a QR code on print or social and send scanners 
   straight to a pre-filled cart.
 * **Know who paid** — every link shows “opened” and “ordered” status, so chat sellers
   never have to ask “did you check out?”.

### Key Features

 * Create and share dynamic **cart or checkout** links with pre-filled products 
   and quantities.
 * Set **custom prices** per product or a **fixed subtotal discount** for the whole
   cart.
 * Add **custom fees** (name, quantity, price — e.g. “Tip for chat operator”) that
   are applied to the generated cart at checkout.
 * **Custom link slugs** — `/cartlink_autogenerate/summer-box/` instead of a random
   id. Availability is checked as you type; a slug stays locked while its link is
   active and can be reused after expiry only when you confirm it.
 * **Pre-filled checkout** — attach the customer’s name, email and phone to the 
   link and the checkout opens with those fields already filled (classic and block
   checkout).
 * **Coupon links** — attach a coupon code and it is applied automatically when 
   the link opens, while other coupons stay blocked on generated carts.
 * **Order tracking** — see whether each link was opened and which order it turned
   into, right in the Recent links table. The order gets a note (and meta) pointing
   back to the link.
 * **One-click sharing** to WhatsApp, Telegram and email, plus native mobile share.
 * **QR code** generated for every link — perfect for in-person and print.
 * **Recent links** management screen: review, copy or revoke any link you’ve created.
 * **Live total** preview while you build the cart.
 * Fast **autocomplete product search** (searches by name and SKU).
 * Choose link **expiry** (1 day, 7 days, 30 days, 1 year) with automatic cleanup
   of expired data.
 * Redirect customers to the **Cart** or **Checkout** page.
 * Menu placement as a top-level item or under the WooCommerce submenu.
 * Flexible storage: file-based pseudo-transients or native WordPress transients.
 * **HPOS (High-Performance Order Storage) compatible.**

### Use Cases

 * **WhatsApp & Instagram sellers** — reply to “I want these two” with a single 
   checkout link.
 * **Live chat / support teams** — turn a support conversation into a completed 
   sale.
 * **B2B & wholesale** — pre-build an order at agreed prices and send it for one-
   tap confirmation.
 * **Promotions** — share a discounted, ready-to-buy cart for a limited-time offer.
 * **In-person & print** — print the QR code on a flyer, menu, or packaging insert.

### Usage

 1. Access **CartLink Generator** from the WordPress admin dashboard.
 2. Use the autocomplete search field to find products and add them to the cart configuration.
 3. Adjust quantities, custom prices, or apply a fixed subtotal discount as needed.
    Use **Add fees** to attach extra charges (e.g. a tip or service fee) with a name,
    quantity and price.
 4. Pick how long the link should stay valid. Optionally click **Slug (auto)** to give
    the link a readable URL, and **Customer & coupon** to pre-fill the customer’s details,
    attach a coupon or add an internal note.
 5. Click **Generate Link**, then copy it, share it to WhatsApp/Telegram/email, or 
    show the QR code.
 6. Review and manage everything you’ve created from the **Recent links** table — including
    whether each link was opened and which order it became.

### Minimum Requirements

 * WordPress 5.5 or higher.
 * PHP 7.0 or higher.
 * WooCommerce 8.0 or higher.

### License

This plugin is licensed under the GPL v2 or later. See [License](https://www.gnu.org/licenses/gpl-2.0.html)
for details.
 Bundled QRCode.js library (https://github.com/davidshimjs/qrcodejs)
is licensed under the MIT License.

## Скріншоти

[⌊Turn a chat conversation with your customer into a one-click checkout link.⌉⌊Turn
a chat conversation with your customer into a one-click checkout link.⌉[

Turn a chat conversation with your customer into a one-click checkout link.

[⌊Product autocomplete — search by name or SKU and add products in seconds.⌉⌊Product
autocomplete — search by name or SKU and add products in seconds.⌉[

Product autocomplete — search by name or SKU and add products in seconds.

[⌊Admin interface — build the cart, set custom prices and expiry, see the live total.⌉⌊
Admin interface — build the cart, set custom prices and expiry, see the live total
.⌉[

Admin interface — build the cart, set custom prices and expiry, see the live total.

[⌊Generated link with instant WhatsApp/Telegram/email sharing and a scannable QR
code.⌉⌊Generated link with instant WhatsApp/Telegram/email sharing and a scannable
QR code.⌉[

Generated link with instant WhatsApp/Telegram/email sharing and a scannable QR code.

[⌊The customer opens the link and lands on a pre-filled, ready-to-pay checkout.⌉⌊
The customer opens the link and lands on a pre-filled, ready-to-pay checkout.⌉[

The customer opens the link and lands on a pre-filled, ready-to-pay checkout.

## Встановлення

 1. Download and extract the `cartlink-generator` plugin folder.
 2. Upload the folder to `/wp-content/plugins/` on your server (or install the ZIP 
    from **Plugins  Add New  Upload Plugin**).
 3. Activate the plugin via the WordPress admin dashboard under **Plugins**.
 4. Ensure WooCommerce version **8.0 or higher** is active.
 5. Open **CartLink Generator** from the admin menu and create your first link.

## Часті питання

### How can I move the CartLink Generator menu to the WooCommerce submenu?

By default, the CartLink Generator menu is added as a top-level menu. To move it
under the **WooCommerce** submenu, add the following code to your theme’s `functions.
php` file:

    ```
    define( 'GUAVEN_CARTLINK_GENERATOR_SHOW_IN_SUBMENU', true );
    ```

### Can I redirect customers to the cart page instead of the checkout page?

Yes! To redirect customers to the **Cart** page after using a generated link, add
this code to your theme’s `functions.php` file:

    ```
    define( 'CARTGENERATOR_REDIRECT_TO_CART_INSTEAD_OF_CHECKOUT', true );
    ```

### How does the plugin store generated cart data?

By default, the plugin stores cart data in date-based folders using a file-based
pseudo-transient system. If you prefer to use WordPress native transients, define
the following constant in your theme’s `functions.php` file:

    ```
    define( 'GUAVEN_CARTLINK_GENERATOR_USE_REAL_TRANSIENTS', true );
    ```

### Can I allow or restrict coupon usage for carts generated by this plugin?

By default, coupons are restricted for carts generated by the plugin. To enable 
coupon usage for these carts, define the following constant in your theme’s `functions.
php` file:

    ```
    define( 'GUAVEN_CARTLINK_GENERATOR_ALLOW_COUPONS', true );
    ```

### How does the plugin clean up old data?

The plugin automatically deletes expired carts’ data created by the plugin itself.
This keeps storage lean and uncluttered.

### Can I stop customers from changing quantities in a generated cart?

Yes! To lock quantities for generated carts, add this code to your theme’s `functions.
php` file:

    ```
    define( 'CARTGENERATOR_FORBID_QUANTITY_UPDATE', true );
    ```

### Can I choose the link URL instead of the random id?

Yes. Click **Slug (auto)** next to the expiry field and type a slug — the link becomes`/
cartlink_autogenerate/your-slug/`. The plugin checks availability while you type.
A slug is locked while its link is active; once the link has expired you can reuse
the slug, but only after ticking “Reuse anyway”, so a slug printed on a flyer never
silently points at a different cart.

### Can the checkout be pre-filled with the customer’s details?

Yes. Click **Customer & coupon** in the builder and enter the customer’s first name,
last name, email and phone. When they open the link, the checkout form already contains
those details. Only empty fields are filled: anything the customer already entered
in their session, or a logged-in customer’s saved account details, is left untouched.
An internal note (e.g. “Instagram DM, 21 Sep”) is only shown to you in the Recent
links table and in the order notes.

### Can I attach a coupon to a link?

Yes. Enter a coupon code in the **Customer & coupon** block. It is applied automatically
when the link is opened. Other coupons stay blocked on generated carts unless you
define `GUAVEN_CARTLINK_GENERATOR_ALLOW_COUPONS`.

### How do I know whether the customer opened the link or paid?

The **Status** column of the Recent links table shows “Not opened yet”, “Opened 
N times · last …” or “Order #123 · Processing” (linked to the order). The order 
itself gets an order note “Created from cart link: …” and the meta key `_gvnclg_cartlink_uid`.

### I use nginx. Is the stored link data protected?

The default file storage is protected by an `.htaccess` file, which nginx ignores.
Link files contain product ids, prices and, if you use the customer block, the customer’s
contact details. On nginx either deny access to `wp-content/uploads/cartlink_autogenerate/`
in your server config, or store links as WordPress transients instead:

    ```
    define( 'GUAVEN_CARTLINK_GENERATOR_USE_REAL_TRANSIENTS', true );
    ```

### Will old links keep working after I update the plugin?

Yes. Links are looked up by their stored identifier, so any link you have already
shared continues to work after updating.

### Does it work with product variations?

Yes — variable products and their variations can be added to a generated cart.

## Відгуки

![](https://secure.gravatar.com/avatar/7f5117cbc5005b526348616b7acafd4cf6638e69af63edde270c8422eb0bb1bc?
s=60&d=retro&r=g)

### 󠀁[Great Plugin](https://wordpress.org/support/topic/great-plugin-41705/)󠁿

 [Mohamed Ali](https://profiles.wordpress.org/samsam113/) 12.08.2026 4 replies

This plugin works like a charm and makes it very easy to create and share custom
cart links for WooCommerce.It would be even better if future versions included more
options for adding additional fees, such as delivery or installation fees, directly
when creating a cart link. An integrated email template feature would also be a 
great addition, allowing admins to create and send a professional, personalized 
message together with the purchase link.Thanks again for this plugin.

 [ Прочитати всі 1 відгук ](https://wordpress.org/support/plugin/cartlink-generator/reviews/)

## Учасники та розробники

“CartLink Generator for WooCommerce — Direct Checkout & Share Cart Links” — проект
з відкритим вихідним кодом. В розвиток плагіну внесли свій вклад наступні учасники:

Учасники

 *   [ Elvin Haci ](https://profiles.wordpress.org/elvinhaci/)

[Перекладіть “CartLink Generator for WooCommerce — Direct Checkout & Share Cart Links” на вашу мову.](https://translate.wordpress.org/projects/wp-plugins/cartlink-generator)

### Цікавитесь розробкою?

[Перегляньте код](https://plugins.trac.wordpress.org/browser/cartlink-generator/),
перегляньте [сховище SVN](https://plugins.svn.wordpress.org/cartlink-generator/)
або підпишіться на [журнал розробки](https://plugins.trac.wordpress.org/log/cartlink-generator/)
за допомогою [RSS](https://plugins.trac.wordpress.org/log/cartlink-generator/?limit=100&mode=stop_on_copy&format=rss).

## Журнал змін

#### 1.2.0

 * New: Custom link slugs — `/cartlink_autogenerate/summer-box/` instead of a random
   id, with live availability check. Active slugs are locked; a slug used by an 
   expired link can be reused only after explicit confirmation, and revoking a link
   frees its slug.
 * New: “Customer & coupon” block — attach the customer’s name, email and phone (
   checkout opens pre-filled, classic and block checkout; only empty fields are 
   filled, existing customer/session data wins), a coupon that is applied automatically
   when the link opens, and an internal note.
 * New: Order tracking — the Recent links table shows whether a link was opened (
   with count and time) and which order it turned into (live status, linked to the
   order). Orders get a note and meta pointing back to the link. Converted links
   stay in the table after they expire.
 * Improvement: Link processing now runs before WordPress’s canonical redirect, 
   so slug links are never redirected to a product with a similar slug.
 * Improvement: The coupon restriction filter no longer assumes a WooCommerce session
   exists (e.g. when coupons are applied in the admin order screen).

#### 1.1.2

 * New: “Advanced settings” block on the admin page — every customer-facing text(
   share message, warnings, fee label, etc.) can now be customized without code 
   or translation plugins.
 * Improvement: The link builder now has a clear title and a short “how it works”
   explanation, so first-time users immediately see how to create a cart link.
 * Fix: When a linked product could not be purchased (no price set, out of stock,
   deleted, or a variable product without a chosen variation), the customer ended
   up with a silently empty or smaller cart. The customer now sees a clear notice
   listing the unavailable items, and the rest of the cart still loads.

#### 1.1.1

 * New: “Add fees” — attach custom fees (name, quantity, price) to a generated cart;
   they are applied as WooCommerce fees at checkout.
 * Improvement: Product search now really matches SKUs (via WooCommerce’s native
   product search) and excludes out-of-stock products.

#### 1.1.0

 * New: One-click sharing to WhatsApp, Telegram and email, plus native mobile share
   sheet.
 * New: QR code generated for every cart link (bundled locally, no external requests).
 * New: “Recent links” management table to review, copy and revoke generated links.
 * New: Live estimated-total preview while building the cart.
 * New: Per-link expiry presets (1 day / 7 days / 30 days / 1 year).
 * Fix: Fixed-subtotal discount could leak into a customer’s own cart via a lingering
   session value — it is now scoped to generated carts and cleared when the cart
   empties.
 * Fix: Possible fatal error in product search when a result referenced a missing
   product.
 * Security: Cart link identifiers are now unguessable (random) so links carrying
   custom prices cannot be enumerated. Existing links keep working.
 * Security: AJAX endpoints now require the `manage_woocommerce` capability.
 * Improvement: Variable products/variations are added to the cart correctly.
 * Improvement: Configuration constants now honour their value (e.g. `define( X,
   false )`).
 * Improvement: Removed an unnecessary full-catalog query on the admin page for 
   faster loads on large stores.
 * Improvement: Admin styles are now scoped and no longer affect the rest of wp-
   admin.

#### 1.0.3

 * Added new feature: preserve query string in URL sharing (UTM params f.i.).

#### 1.0.2.1

 * Fixing “Fixed Adjustment is always zero” bug.

#### 1.0.2

 * “Expire-dates are always 1 hour” bug fix
 * Added new feature – Prevent product quantity update for generated carts.
 * Delete the trace of cart generator when cart gets emptied.

#### 1.0.1

 * UI improvements.

#### 1.0.0

 * Initial release.
 * Generate dynamic cart links with pre-filled products and quantities.
 * Options for menu placement and redirection.
 * Autocomplete product search for efficient cart building.
 * File-based pseudo-transients with optional native WordPress transients.
 * Automatic cleanup of old generated cart data.

## Мета

 *  Версія **1.2.0**
 *  Останнє оновлення **3 дні тому**
 *  Активних встановлень **100+**
 *  Версія WordPress ** 5.5 або вище **
 *  Tested up to **7.1.0**
 *  Версія PHP ** 7.0 або вище **
 *  Мова
 * [English (US)](https://wordpress.org/plugins/cartlink-generator/)
 * Позначки
 * [buy now](https://uk.wordpress.org/plugins/tags/buy-now/)[share cart](https://uk.wordpress.org/plugins/tags/share-cart/)
   [WhatsApp Checkout](https://uk.wordpress.org/plugins/tags/whatsapp-checkout/)
 *  [Розширений перегляд](https://uk.wordpress.org/plugins/cartlink-generator/advanced/)

## Оцінки

 5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/cartlink-generator/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/cartlink-generator/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/cartlink-generator/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/cartlink-generator/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/cartlink-generator/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/cartlink-generator/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/cartlink-generator/reviews/)

## Учасники

 *   [ Elvin Haci ](https://profiles.wordpress.org/elvinhaci/)

## Підтримка

Проблеми вирішені за останні два місяці:

     1 з 1

 [Перейти в форум підтримки](https://wordpress.org/support/plugin/cartlink-generator/)