Direct Purchase URLs

Direct Purchase URLs allow you to create custom links that automatically add products to the cart and redirect customers directly to the checkout page. This powerful feature streamlines the purchasing process and can significantly improve conversion rates by reducing the number of steps required to complete a purchase.

What Are Direct Purchase URLs?

Direct Purchase URLs are special links that bypass the traditional “add to cart” process by automatically adding specified products to the customer’s cart and taking them straight to checkout. These URLs are particularly useful for email marketing campaigns, social media promotions, or anywhere you want to create a frictionless buying experience.

How to Find Your Direct Purchase URL

Every product in DigiCommerce automatically generates a Direct Purchase URL that you can copy and use wherever needed.

To find your product’s Direct Purchase URL:

Navigate to your product’s edit page in the WordPress admin area. In the product details section, you’ll find a Direct Purchase URL field containing a link that looks like this:

https://yourwebsite.com/checkout/?id=43

Simply copy this URL and use it in your marketing materials, emails, or anywhere you want customers to purchase directly.

Using Direct Purchase URLs for Single Products

The basic Direct Purchase URL structure is simple and effective for promoting individual products.

Basic URL structure:

https://yourwebsite.com/checkout/?id=[PRODUCT_ID]

When a customer clicks this link, the system will:

  • Automatically add the specified product to their cart
  • Redirect them to the checkout page
  • Pre-populate all necessary product information

This creates a seamless one-click purchasing experience that can dramatically reduce cart abandonment rates.

Combining Multiple Products

One of the most powerful features of Direct Purchase URLs is the ability to add multiple products to the cart simultaneously. This is perfect for creating product bundles, upsell offers, or themed collections.

To combine multiple products, simply add additional ID parameters:

https://yourwebsite.com/checkout/?id=43&id=82&id=156

This URL will add all three products (IDs 43, 82, and 156) to the cart in a single action. You can combine as many products as needed by continuing to add &id=[PRODUCT_ID] parameters.

Example use cases for multiple product URLs:

  • Bundle deals (software + support package)
  • Starter kits (main product + complementary items)
  • Upsell sequences (basic product + premium add-ons)

Working with Variable Products

For products with variations (different pricing tiers, feature sets, or subscription options), you need to specify which variation the customer should purchase.

Variable product URL structure:

https://yourwebsite.com/checkout/?id=82&variation=1

The variation parameter uses a numbering system starting from 1:

  • variation=1 selects the first variation
  • variation=2 selects the second variation
  • variation=3 selects the third variation, and so on

Combining variable products with other items:

You can mix variable products with regular products and other variable products in the same URL:

https://yourwebsite.com/checkout/?id=43&id=82&variation=1&id=156

This URL will add:

  • Product ID 43 (regular product)
  • Product ID 82 with the first variation selected
  • Product ID 156 (regular product)

Important notes about variations:

  • The variation parameter applies to the most recent product ID mentioned before it
  • If you don’t specify a variation for a variable product, the system will use the default variation
  • Each variable product in your URL can have its own variation parameter

Advanced URL Combinations

You can create sophisticated purchasing flows by strategically combining products and variations:

Multiple variable products:

https://yourwebsite.com/checkout/?id=82&variation=2&id=95&variation=1&id=43

This adds:

  • Product 82 with variation 2
  • Product 95 with variation 1
  • Product 43 (regular product)