- Google Address Autocomplete
- Flatsome UX Builder
- ActiveCampaign
- Paypal Reference Transactions
- How PaypPal/Stripe Works
- Enabling Enfold Avia Layout Builder
- Setting Up Authorize.net for Upsell & Downsell
- Supported Payment Gateways
- Setting Up A/B Testing with Google Optimize
- Setting Quantity and Discount for Products on the Checkout Page
- Using CartFlows with Custom Templates
- Using CartFlows with Beaver Builder
- Hiding Checkout Fields on the Checkout Page
- Global Checkout
- Using WooCommerce
- Installing WooCommerce
- General Settings Overview
- Using Your Theme's Header & Footer in a Step
- Embedding a Checkout Form on the CartFlows Checkout Page
- Hiding WooCommerce Pages and Products
- Dynamic Offers aka Rule Engine
- Instant Layout for Checkout and Thank You Step
- Adding Products from the URL to the Checkout Page
- Setting Up A/B Testing for Steps
- Deleting Plugin Data During Uninstallation
- Importing Ready-Made Templates for Flows and Steps
- Importing and Exporting Funnels and Individual Page Builder Templates
- URL Parameters
- Replacing the Main Checkout Order with an Upsell or Downsell
- Using the "Order Custom Field" Rule of Dynamic Offers with Custom Field Editor
- Optin
- Separate Orders
- Setting Up Pre-Checkout Upsell
- Refund Offer
- Applying a Coupon from the URL
- How to Enable Webhooks in WooCommerce Cart Abandonment Recovery Plugin?
- Shortcode Reference for Email Fields in Cart Abandonment
- Filters to Customize Product Table
- Cart Recovery Emails not Sending [Cart Abandonment]
- Abandoned Orders Not Capturing [Cart Abandonment]
- How to Resolve the Recovery Email Going to Spam?
- Cart Abandonment Cookies/GDPR Compliance
- Setting Up WooCommerce Cart Abandonment Recovery
- Flow In Test Mode
- How to Troubleshoot a Conflict with the Plugin & Theme?
- Resolving the "Please select a Simple, Virtual and Free product" Error
- How to Solve the Never-Ending Loading Issue on the Checkout Page?
- How to Solve the “Order Not Found” Error Message on the Thank You Page?
- How to resolve “Checkout ID not Found” Error message?
- How to Resolve “Session Expired” Error message?
- How to Resolve “Order Does not Exist Error” on Upsell & Downsell Page?
- How to Resolve “Sorry this product cannot be purchased” Error Message?
- How to Resolve “No product is selected…” error message?
- How to Turn Off the Auto-fill of Address Fields on Entering Zip-Code?
- How to Enable the Theme’s Scripts & Styles without Changing the Page Template?
- How to Turn Off the Auto-fill of Checkout Fields?
- How to Allow Cache Plugins to Cache the CartFlows Pages?
- How to Change the “Choose A variation” text?
- VAT Field of WooCommerce EU/UK VAT Compliance (Premium) plugin is not displaying.
- How to enable the product tab on store checkout
- How to show the order summary open on mobile devices
How to Add the Products on the Checkout Page via URL
In CartFlows Pro, we introduce one of the demanding features which is adding the products on the checkout page via URL.
In this article, let’s see further details about the feature and how easily it can be implemented within a very few steps.
This feature is enabled by default in the CartFlows Pro. So, you don’t have to enable any setting to use this feature. You just need to send the product IDs from URL parameters and it will automatically add that product on the CartFlows checkout page.
With the help of this feature, you can share the different products for different users by adding the product ID in the URL of the Checkout page.
Let’s see what URL parameters are used to add the products.
To add the products to the checkout page via URL you need to use the ?wcf-add-to-cart=product_id parameter and you can also add the quantity for those products using the parameter &wcf-qty=1.
The parameter wcf-qty is optional that means, if you haven’t added or mentioned this parameter then that product’s quantity will be set to 1 automatically i:e to default.
Here is the example:
Suppose you want to add a product A on the checkout page via URL with quantity as 4 then you need to create the URL as follows:
www.yourdomain.com/checkout-page/?wcf-add-to-cart=3&wcf-qty=4
Here the 3 is the product ID which you want to add in the checkout page and the 4 is the quantity for that product.
In some cases, you might want to add multiple products from the URL with different quantities, then you just need to put the comma (,) between the product IDs and quantities.
Here is the example of it:
www.yourdomain.com/checkout-page/?wcf-add-to-cart=3,6&wcf-qty=4,8
Note: If you have selected the products in the backend setting of the checkout and also adding the Products in the checkout page via URL then the Products which are added from the URL will be added and the selected products will be skipped.
Frequently Asked Questions about the Working of PayPal/Stripe!
How to find the product ID to add it in the URL from the Parameter?
To get the product ID, go to Products Menu -> Search for the product which you want to use and hover to that Product name. You will get the Product’s ID listed just below the product name.
We don't respond to the article feedback, we use it to improve our support content.