1. Home
  2. Knowledge Base
  3. WooCommerce Wholesale Lead Capture
  4. Styling
  5. How To Override Login & Registration Form Templates
  1. Home
  2. Knowledge Base
  3. WooCommerce Wholesale Lead Capture
  4. How To Override Login & Registration Form Templates

How To Override Login & Registration Form Templates

The WooCommerce Wholesale Lead Capture plugin gives your wholesale customers a great way to register and login to the wholesale side of your website.

But sometimes you might need to customize the layout of the registration or login forms or do other layout tweaks to take what the plugin offers even further.

That’s where template overrides come in.

The Lead Capture plugin lets you override its templates in much the same way as WooCommerce itself does, so those that are familiar with WooCommerce’s template overriding will find this just as simple.

To override a template file:

  1. Navigate to the /wp-content/plugins/woocommerce-wholesale-lead-capture/templates/ directory
  2. Copy the .php file you wish to override
  3. Paste the file in your theme under a directory called ‘woocommerce’. This should look something like: /wp-content/themes/your-theme/woocommerce/[template file to override].php

The plugin will search your theme and detect these overrides and use them over the bundled plugin versions.

Keep in mind, when you update the plugin, sometimes template files will need to be updated to keep up with the latest features.

Was this article helpful?

Related Articles

Need Support?

Can't find the answer you're looking for?
Contact Support