- 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
- CartFlows Dynamic Offers aka Rule Engine.
- CartFlows Instant Layout for Checkout & Thank You Step
- How to Add the Products on the Checkout Page via URL
- How to A/B Test the CartFlows Steps?
- How to create Google Address API Key
- How to Delete the Plugin’s Data While Un-Installing the Plugin
- How to Import the Ready-Made Templates for Flows and Steps in CartFlows?
- How To Import/Export Funnels & Individual Page Builder Templates?
- URL Parameters
- How to Replace the Main Checkout Order with the Upsell/Downsell?
- How to Use the “Order Custom Field” rule of Dynamic Offers with custom field editor.
- Introducing CartFlows Optin Feature!
- Introducing the “Separate Orders” Feature in CartFlows?
- Setup Pre-Checkout Upsell in CartFlows
- What is the “Refund Offer” Feature in CartFlows?
- 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 Pre-Fill the Checkout Fields via URL Parameters.
We are introducing a new feature to pre-fill the checkout fields via sending contact information from URL parameters. After many requests, we decided to integrate it in the CartFlows, and in this article, we will see how to set it up and how to use it.
So, let’s begin…
This feature is enabled by default in the CartFlows. So, you just need to send the parameters from the URL on the checkout page to pre-fill the checkout fields on the CartFlows checkout page.
Remember, this feature works on the CartFlows Checkout page and not on any other page.
To send the values from the URL parameters, you can use any contact form to send the values in the URL after successful submission.
Now, while using the contact form or any other medium you need to ensure that to create a proper checkout page URL so that your data will be automatically pre-filled on the CartFlows Checkout page.
For example, If you want to send the user’s email address, first name then your checkout page URl should be created as follows:
https://yourdomain.com/checkout-page/?billing_first_name=John&[email protected]
There are few fields names which you can use to send the data in the URL to capture it on the CartFlows Checkout page and they are listed below.
List of Billing Fields
- billing_email
- billing_first_name
- billing_last_name
- billing_phone
- billing_address_1
- billing_address_2
- billing_city
- billing_postcode
- billing_country
- billing_state
- billing_company
List of Shipping Fields
- shipping_email
- shipping_first_name
- shipping_last_name
- shipping_phone
- shipping_address_1
- shipping_address_2
- shipping_city
- shipping_postcode
- shipping_country
- shipping_state
- Shipping_company
If you don’t want to use this feature then we also have provided a filter to disable this feature on the CartFlows Checkout page. Please note that disabling this feature using the filter will disable it from all the available checkout pages.
Below is the code which you can use to disable this feature. After copying this code you have to add it in your child theme’s functions.php file at the very end of it.
add_filter( 'cartflows_auto_prefill_checkout_fields', '__return_false' );
This article will help you to add the custom PHP code on your website.
We don't respond to the article feedback, we use it to improve our support content.