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:
- Navigate to the /wp-content/plugins/woocommerce-wholesale-lead-capture/templates/ directory
- Copy the .php file you wish to override
- 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.