- Flatsome UX Builder?
- How To Enable ActiveCampaign With CartFlows?
- How to Enable Paypal Reference Transactions?
- How Does Paypal/Stripe Work in the Case of Cartflows?
- How to Enable Enfold Avia Layout Builder in CartFlows Steps?
- How to Setup Authorize.net Gateway for the Cartflows Upsell & Downsell?
- List of all the Supported Payment Gateways by CartFlows
- How to Setup A/B Testing with Google Optimize for CartFlows?
- How to Set Quantity and Discount for Product on the Checkout Page.
- How to Add the Custom Support of any Payment Gateway for One-Click Upsell & Downsell in the CartFlows?
- How To Use CartFlows With Your Own Template?
- How To Use CartFlows With Beaver Builder?
- How To Use CartFlows With Thrive Architect?
- How to Hide Checkout Fields from the Checkout Page?
- Global Checkout
- How To Use WooCommerce?
- How To Install WooCommerce?
- General Settings Overview
- How To Use Your Themes Header & Footer In A Step?
- How To Embed A Checkout Form on the CartFlows Checkout page?
- 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
- Configuring WooCommerce Cart Abandonment Recovery Settings
- Flow In Test Mode
- How to Troubleshoot a Conflict with the Plugin & Theme?
- 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?
- What to Do if the Order Status is Stuck at MainOrderAccepted?
- 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.