{"id":213976,"date":"2024-12-21T10:53:27","date_gmt":"2024-12-21T10:53:27","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/cartlink-generator-for-woocommerce\/"},"modified":"2026-07-05T21:09:29","modified_gmt":"2026-07-05T21:09:29","slug":"cartlink-generator","status":"publish","type":"plugin","link":"https:\/\/ml.wordpress.org\/plugins\/cartlink-generator\/","author":7377845,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.1.0","stable_tag":"1.1.0","tested":"7.0.2","requires":"5.5","requires_php":"7.0","requires_plugins":null,"header_name":"CartLink Generator for WooCommerce","header_author":"Guaven Labs","header_description":"Create dynamic cart links with pre-filled products, quantities, and custom prices, perfect for businesses interacting via chat to reduce purchase steps and drive faster conversions.","assets_banners_color":"fefefe","last_updated":"2026-07-05 21:09:29","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":90,"downloads":1488,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"Elvin.Haci","date":"2024-12-22 08:20:12"},"1.0.1":{"tag":"1.0.1","author":"Elvin.Haci","date":"2024-12-30 11:21:18"},"1.0.2":{"tag":"1.0.2","author":"Elvin.Haci","date":"2025-04-02 14:43:31"},"1.0.3":{"tag":"1.0.3","author":"Elvin.Haci","date":"2025-07-03 07:23:34"},"1.1.0":{"tag":"1.1.0","author":"Elvin.Haci","date":"2026-07-05 21:09:29"}},"upgrade_notice":{"1.1.0":"<p>Adds WhatsApp\/Telegram\/email sharing, QR codes and a link-management screen. Includes an important fix for a fixed-subtotal discount that could carry over into a customer&#039;s own cart. Existing links keep working.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3597365,"resolution":"128x128","location":"assets","locale":"","width":512,"height":512},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3597365,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3597365,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3597365,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1","1.0.2","1.0.3","1.1.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3211875,"resolution":"1","location":"assets","locale":"","width":1127,"height":855},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3597353,"resolution":"2","location":"assets","locale":"","width":1607,"height":1150},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3597353,"resolution":"3","location":"assets","locale":"","width":1179,"height":630},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3597353,"resolution":"4","location":"assets","locale":"","width":1116,"height":730},"screenshot-5.png":{"filename":"screenshot-5.png","revision":3597353,"resolution":"5","location":"assets","locale":"","width":1160,"height":621}},"screenshots":{"1":"Turn a chat conversation with your customer into a one-click checkout link.","2":"Product autocomplete \u2014 search by name or SKU and add products in seconds.","3":"Admin interface \u2014 build the cart, set custom prices and expiry, see the live total.","4":"Generated link with instant WhatsApp\/Telegram\/email sharing and a scannable QR code.","5":"The customer opens the link and lands on a pre-filled, ready-to-pay checkout."}},"plugin_section":[],"plugin_tags":[15162,270257,270258,210011,241786],"plugin_category":[45],"plugin_contributors":[81159],"plugin_business_model":[],"class_list":["post-213976","plugin","type-plugin","status-publish","hentry","plugin_tags-buy-now","plugin_tags-direct-checkout-link","plugin_tags-prefilled-cart","plugin_tags-share-cart","plugin_tags-whatsapp-checkout","plugin_category-ecommerce","plugin_contributors-elvinhaci","plugin_committers-elvinhaci"],"banners":{"banner":"https:\/\/ps.w.org\/cartlink-generator\/assets\/banner-772x250.png?rev=3597365","banner_2x":"https:\/\/ps.w.org\/cartlink-generator\/assets\/banner-1544x500.png?rev=3597365","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/cartlink-generator\/assets\/icon-128x128.png?rev=3597365","icon_2x":"https:\/\/ps.w.org\/cartlink-generator\/assets\/icon-256x256.png?rev=3597365","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/cartlink-generator\/assets\/screenshot-1.png?rev=3211875","caption":"Turn a chat conversation with your customer into a one-click checkout link."},{"src":"https:\/\/ps.w.org\/cartlink-generator\/assets\/screenshot-2.png?rev=3597353","caption":"Product autocomplete \u2014 search by name or SKU and add products in seconds."},{"src":"https:\/\/ps.w.org\/cartlink-generator\/assets\/screenshot-3.png?rev=3597353","caption":"Admin interface \u2014 build the cart, set custom prices and expiry, see the live total."},{"src":"https:\/\/ps.w.org\/cartlink-generator\/assets\/screenshot-4.png?rev=3597353","caption":"Generated link with instant WhatsApp\/Telegram\/email sharing and a scannable QR code."},{"src":"https:\/\/ps.w.org\/cartlink-generator\/assets\/screenshot-5.png?rev=3597353","caption":"The customer opens the link and lands on a pre-filled, ready-to-pay checkout."}],"raw_content":"<!--section=description-->\n<p><strong>Turn a chat message into a one-click checkout.<\/strong> CartLink Generator for WooCommerce lets you build a cart for a customer \u2014 products, quantities, even custom prices \u2014 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.<\/p>\n\n<p>It's built for the way people actually sell today: over <strong>WhatsApp, Instagram DMs, Telegram, Messenger, email and live chat<\/strong>. Instead of telling a customer \"search for product X, add 2, then find product Y,\" you send them one link that does it all \u2014 cutting 3\u20134 steps out of the buying journey and driving faster conversions.<\/p>\n\n<p>Generate the link in the admin, then share it instantly with the built-in <strong>WhatsApp, Telegram and email buttons<\/strong>, or let your customer scan the auto-generated <strong>QR code<\/strong> in person or from a printed flyer.<\/p>\n\n<h3>Why store owners use it<\/h3>\n\n<ul>\n<li><strong>Chat commerce &amp; social selling<\/strong> \u2014 send a ready-to-buy cart link in any conversation.<\/li>\n<li><strong>Direct \"Buy Now\" links<\/strong> \u2014 skip the cart page entirely and land the customer on checkout.<\/li>\n<li><strong>Custom quotes &amp; negotiated prices<\/strong> \u2014 set a per-product price or a fixed subtotal discount for a specific customer.<\/li>\n<li><strong>Sales reps &amp; wholesale<\/strong> \u2014 prepare an order for a client and let them confirm with one tap.<\/li>\n<li><strong>Campaigns &amp; flyers<\/strong> \u2014 drop a QR code on print or social and send scanners straight to a pre-filled cart.<\/li>\n<\/ul>\n\n<h3>Key Features<\/h3>\n\n<ul>\n<li>Create and share dynamic <strong>cart or checkout<\/strong> links with pre-filled products and quantities.<\/li>\n<li>Set <strong>custom prices<\/strong> per product or a <strong>fixed subtotal discount<\/strong> for the whole cart.<\/li>\n<li><strong>One-click sharing<\/strong> to WhatsApp, Telegram and email, plus native mobile share.<\/li>\n<li><strong>QR code<\/strong> generated for every link \u2014 perfect for in-person and print.<\/li>\n<li><strong>Recent links<\/strong> management screen: review, copy or revoke any link you've created.<\/li>\n<li><strong>Live total<\/strong> preview while you build the cart.<\/li>\n<li>Fast <strong>autocomplete product search<\/strong> (searches by name and SKU).<\/li>\n<li>Choose link <strong>expiry<\/strong> (1 day, 7 days, 30 days, 1 year) with automatic cleanup of expired data.<\/li>\n<li>Redirect customers to the <strong>Cart<\/strong> or <strong>Checkout<\/strong> page.<\/li>\n<li>Menu placement as a top-level item or under the WooCommerce submenu.<\/li>\n<li>Flexible storage: file-based pseudo-transients or native WordPress transients.<\/li>\n<li><strong>HPOS (High-Performance Order Storage) compatible.<\/strong><\/li>\n<\/ul>\n\n<h3>Use Cases<\/h3>\n\n<ul>\n<li><strong>WhatsApp &amp; Instagram sellers<\/strong> \u2014 reply to \"I want these two\" with a single checkout link.<\/li>\n<li><strong>Live chat \/ support teams<\/strong> \u2014 turn a support conversation into a completed sale.<\/li>\n<li><strong>B2B &amp; wholesale<\/strong> \u2014 pre-build an order at agreed prices and send it for one-tap confirmation.<\/li>\n<li><strong>Promotions<\/strong> \u2014 share a discounted, ready-to-buy cart for a limited-time offer.<\/li>\n<li><strong>In-person &amp; print<\/strong> \u2014 print the QR code on a flyer, menu, or packaging insert.<\/li>\n<\/ul>\n\n<h3>Usage<\/h3>\n\n<ol>\n<li>Access <strong>CartLink Generator<\/strong> from the WordPress admin dashboard.<\/li>\n<li>Use the autocomplete search field to find products and add them to the cart configuration.<\/li>\n<li>Adjust quantities, custom prices, or apply a fixed subtotal discount as needed.<\/li>\n<li>Pick how long the link should stay valid.<\/li>\n<li>Click <strong>Generate Link<\/strong>, then copy it, share it to WhatsApp\/Telegram\/email, or show the QR code.<\/li>\n<li>Review and manage everything you've created from the <strong>Recent links<\/strong> table.<\/li>\n<\/ol>\n\n<h3>Minimum Requirements<\/h3>\n\n<ul>\n<li>WordPress 5.5 or higher.<\/li>\n<li>PHP 7.0 or higher.<\/li>\n<li>WooCommerce 8.0 or higher.<\/li>\n<\/ul>\n\n<h3>License<\/h3>\n\n<p>This plugin is licensed under the GPL v2 or later. See <a href=\"https:\/\/www.gnu.org\/licenses\/gpl-2.0.html\">License<\/a> for details.\nBundled QRCode.js library (https:\/\/github.com\/davidshimjs\/qrcodejs) is licensed under the MIT License.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Download and extract the <code>cartlink-generator<\/code> plugin folder.<\/li>\n<li>Upload the folder to <code>\/wp-content\/plugins\/<\/code> on your server (or install the ZIP from <strong>Plugins \u2192 Add New \u2192 Upload Plugin<\/strong>).<\/li>\n<li>Activate the plugin via the WordPress admin dashboard under <strong>Plugins<\/strong>.<\/li>\n<li>Ensure WooCommerce version <strong>8.0 or higher<\/strong> is active.<\/li>\n<li>Open <strong>CartLink Generator<\/strong> from the admin menu and create your first link.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"how%20can%20i%20move%20the%20cartlink%20generator%20menu%20to%20the%20woocommerce%20submenu%3F\"><h3>How can I move the CartLink Generator menu to the WooCommerce submenu?<\/h3><\/dt>\n<dd><p>By default, the CartLink Generator menu is added as a top-level menu. To move it under the <strong>WooCommerce<\/strong> submenu, add the following code to your theme's <code>functions.php<\/code> file:<\/p>\n\n<pre><code>define( 'GUAVEN_CARTLINK_GENERATOR_SHOW_IN_SUBMENU', true );\n<\/code><\/pre><\/dd>\n<dt id=\"can%20i%20redirect%20customers%20to%20the%20cart%20page%20instead%20of%20the%20checkout%20page%3F\"><h3>Can I redirect customers to the cart page instead of the checkout page?<\/h3><\/dt>\n<dd><p>Yes! To redirect customers to the <strong>Cart<\/strong> page after using a generated link, add this code to your theme's <code>functions.php<\/code> file:<\/p>\n\n<pre><code>define( 'CARTGENERATOR_REDIRECT_TO_CART_INSTEAD_OF_CHECKOUT', true );\n<\/code><\/pre><\/dd>\n<dt id=\"how%20does%20the%20plugin%20store%20generated%20cart%20data%3F\"><h3>How does the plugin store generated cart data?<\/h3><\/dt>\n<dd><p>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 <code>functions.php<\/code> file:<\/p>\n\n<pre><code>define( 'GUAVEN_CARTLINK_GENERATOR_USE_REAL_TRANSIENTS', true );\n<\/code><\/pre><\/dd>\n<dt id=\"can%20i%20allow%20or%20restrict%20coupon%20usage%20for%20carts%20generated%20by%20this%20plugin%3F\"><h3>Can I allow or restrict coupon usage for carts generated by this plugin?<\/h3><\/dt>\n<dd><p>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 <code>functions.php<\/code> file:<\/p>\n\n<pre><code>define( 'GUAVEN_CARTLINK_GENERATOR_ALLOW_COUPONS', true );\n<\/code><\/pre><\/dd>\n<dt id=\"how%20does%20the%20plugin%20clean%20up%20old%20data%3F\"><h3>How does the plugin clean up old data?<\/h3><\/dt>\n<dd><p>The plugin automatically deletes expired carts' data created by the plugin itself. This keeps storage lean and uncluttered.<\/p><\/dd>\n<dt id=\"can%20i%20stop%20customers%20from%20changing%20quantities%20in%20a%20generated%20cart%3F\"><h3>Can I stop customers from changing quantities in a generated cart?<\/h3><\/dt>\n<dd><p>Yes! To lock quantities for generated carts, add this code to your theme's <code>functions.php<\/code> file:<\/p>\n\n<pre><code>define( 'CARTGENERATOR_FORBID_QUANTITY_UPDATE', true );\n<\/code><\/pre><\/dd>\n<dt id=\"will%20old%20links%20keep%20working%20after%20i%20update%20the%20plugin%3F\"><h3>Will old links keep working after I update the plugin?<\/h3><\/dt>\n<dd><p>Yes. Links are looked up by their stored identifier, so any link you have already shared continues to work after updating.<\/p><\/dd>\n<dt id=\"does%20it%20work%20with%20product%20variations%3F\"><h3>Does it work with product variations?<\/h3><\/dt>\n<dd><p>Yes \u2014 variable products and their variations can be added to a generated cart.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>New: One-click sharing to WhatsApp, Telegram and email, plus native mobile share sheet.<\/li>\n<li>New: QR code generated for every cart link (bundled locally, no external requests).<\/li>\n<li>New: \"Recent links\" management table to review, copy and revoke generated links.<\/li>\n<li>New: Live estimated-total preview while building the cart.<\/li>\n<li>New: Per-link expiry presets (1 day \/ 7 days \/ 30 days \/ 1 year).<\/li>\n<li>Fix: Fixed-subtotal discount could leak into a customer's own cart via a lingering session value \u2014 it is now scoped to generated carts and cleared when the cart empties.<\/li>\n<li>Fix: Possible fatal error in product search when a result referenced a missing product.<\/li>\n<li>Security: Cart link identifiers are now unguessable (random) so links carrying custom prices cannot be enumerated. Existing links keep working.<\/li>\n<li>Security: AJAX endpoints now require the <code>manage_woocommerce<\/code> capability.<\/li>\n<li>Improvement: Variable products\/variations are added to the cart correctly.<\/li>\n<li>Improvement: Configuration constants now honour their value (e.g. <code>define( X, false )<\/code>).<\/li>\n<li>Improvement: Removed an unnecessary full-catalog query on the admin page for faster loads on large stores.<\/li>\n<li>Improvement: Admin styles are now scoped and no longer affect the rest of wp-admin.<\/li>\n<\/ul>\n\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>Added new feature: preserve query string in URL sharing (UTM params f.i.).<\/li>\n<\/ul>\n\n<h4>1.0.2.1<\/h4>\n\n<ul>\n<li>Fixing \"Fixed Adjustment is always zero\" bug.<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>\"Expire-dates are always 1 hour\" bug fix<\/li>\n<li>Added new feature - Prevent product quantity update for generated carts.<\/li>\n<li>Delete the trace of cart generator when cart gets emptied.<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>UI improvements.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<li>Generate dynamic cart links with pre-filled products and quantities.<\/li>\n<li>Options for menu placement and redirection.<\/li>\n<li>Autocomplete product search for efficient cart building.<\/li>\n<li>File-based pseudo-transients with optional native WordPress transients.<\/li>\n<li>Automatic cleanup of old generated cart data.<\/li>\n<\/ul>","raw_excerpt":"Generate shareable direct-checkout &amp; cart links with pre-filled products, quantities and custom prices. Perfect for WhatsApp &amp; chat selling.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ml.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/213976","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ml.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ml.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ml.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=213976"}],"author":[{"embeddable":true,"href":"https:\/\/ml.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/elvinhaci"}],"wp:attachment":[{"href":"https:\/\/ml.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=213976"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ml.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=213976"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ml.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=213976"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ml.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=213976"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ml.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=213976"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ml.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=213976"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}