- Hiding Fields on the Checkout Page
- Installing WooCommerce
- Using WooCommerce
- Using Your Theme's Header & Footer in a Step
- Embedding a Checkout Form on the CartFlows Checkout Page
- Hiding WooCommerce Pages and Products
- Using Pricing Tables
- Adding an Affiliate Program
- Setting a Funnel as the Homepage
- GDPR Compliance
- 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 Funnels and Steps
- Importing and Exporting Funnels and Individual Page Builder Templates
- URL Parameters
- Replacing the Main Checkout Order with an Upsell or Downsell
- Rolling back to a Previous Version
- 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
- Funnel in Test Mode
- Troubleshooting Plugin and Theme Conflicts
- Resolving the "Please Select a Simple, Virtual, and Free Product" Error
- Fixing Endless Loading on the Checkout Page
- Fixing the "We can't seem to find an order for you." Error on the Thank You Page
- Fixing the "Checkout ID Not Found" Error
- Fixing the "Session Expired" Error Message
- Resolving "Order Does Not Exist" Error on Upsell/Downsell Page
- Fixing the "Sorry, This Product Cannot Be Purchased" Error
- Resolving "No Product is Selected" Error
- Disabling Auto-fill of Address Fields Based on Zip Code
- Enabling Theme's Scripts & Styles Without Changing Page Template
- Disabling Auto-fill of Checkout Fields
- Allowing Cache Plugins to Cache CartFlows Pages
- Changing the "Choose a Variation" Text
- VAT Field Not Displaying for WooCommerce EU/UK VAT Compliance Plugin
- Enabling the Product Tab on Store Checkout
- Displaying the Order Summary Open on Mobile Devices
How to Enable the Theme’s Scripts & Styles without Changing the Page Template?
By default, CartFlows intentionally does not load your theme’s header, footer, or styling on funnel pages. This ensures maximum flexibility and avoids design conflicts—especially helpful when creating focused, distraction-free checkout experiences.
Why the Header & Footer Are Hidden
To maintain full design control and prevent potential layout issues, CartFlows uses its own template for funnel pages. If you’d prefer to show your theme’s header and footer, the recommended approach is to set the page template to Default in the page editor. Here’s how to do that.
However, in some cases, you may notice that the header and footer appear without styling—especially when not using a Default template. If you’d like to load your theme’s CSS and JavaScript files without changing the page template, you can use the following filters.
How to Load Theme Scripts & Styles with a Filter
Add the following code snippet to your child theme’s functions.php
file:
/**
* Filter to load theme's styles & scripts.
*
* @param bool $remove_styles true/false
* @return bool $remove_styles true/false
*/
add_filter( 'cartflows_remove_theme_styles', 'wcf_load_theme_files', 10, 1 );
add_filter( 'cartflows_remove_theme_scripts', 'wcf_load_theme_files', 10, 1 );
function wcf_load_theme_files( $remove_styles ){
$remove_styles = false;
return $remove_styles;
}
💡 Need help adding custom code? Follow this guide to safely insert custom code into WordPress.
Once added, your theme’s styles and scripts will load on CartFlows pages—even if you’re not using a Default template.
We don't respond to the article feedback, we use it to improve our support content.