By default, the Wholesale Registration Page from the Wholesale Lead Capture plugin in WooCommerce automatically includes the shortcode [wwlc_registration_form]. This shortcode generates the wholesale registration form based on your current settings. It’s a quick way to display the form without needing to configure anything manually.
However, that’s just the beginning.
You can reuse this shortcode anywhere on your website. Whether it’s a landing page, a custom signup area, or even a hidden registration page for select customers, the flexibility is yours. Additionally, this shortcode works well with most WordPress themes and page builders, making integration easy.
Creating Multiple Wholesale Registration Forms for Different User Roles
Sometimes, you may want to create separate registration pages for different wholesale user roles. For example, you might want a different registration form for distributors, retailers, or VIP buyers. Fortunately, this is possible using the same shortcode, but with added parameters.
Here’s an example:
[wwlc_registration_form role=wholesale_customer]
With this version of the shortcode, any user who registers through that form will automatically be assigned the wholesale_customer user role.
To assign a different role, simply replace wholesale_customer with the correct role slug. You can find the available role slugs by navigating to your WordPress dashboard and going to Wholesale > Roles.
Enabling Auto-Approval for Wholesale Registrations
In some cases, you may want to automatically approve wholesale registrations without manually reviewing them. This helps speed up the onboarding process and improves user experience.
To enable auto-approval, use this shortcode:
[wwlc_registration_form auto_approve=true]
With this shortcode, any user who registers using that form will be instantly approved and granted access based on your settings. This is ideal for trusted partners or pre-screened applicants.
Combine Auto-Approval with a Specific User Role
But what if you need both? No problem. You can combine the auto-approve feature with a specific role assignment in one shortcode. Here’s how it looks:
[wwlc_registration_form auto_approve=true role=wholesale_customer]
This shortcode ensures that users are not only approved instantly but are also assigned the correct wholesale role. It’s a powerful way to streamline your workflow.
Redirect Users After Registration (Optional)
Moreover, if you’re managing multiple wholesale registration pages, you might want to redirect users to different pages after they complete the form. This can help you send them to a welcome page, a pricing guide, or a members-only shop area.
To learn how to set up custom redirection after registration, please refer to our full guide. It walks you through the process step by step.
Using the [wwlc_registration_form] shortcode in WooCommerce gives you powerful control over your wholesale user registration process. Whether you’re targeting different user roles, automating approvals, or customizing redirects, there’s a shortcode variation that fits your needs.
Don’t forget to test each registration form on a staging site before launching it live. This ensures everything works as expected and improves the overall experience for your wholesale customers.
Frequently Asked Questions
How do I create a registration page for a wholesale role?
First, insert the shortcode [wwlc_registration_form role=your_slug] anywhere on your site. Next, find your slug under Wholesale > Roles in the dashboard. Then, repeat the process for each customer type that needs a separate sign-up page.
Does the shortcode work with Elementor or Gutenberg?
Yes, it does. In fact, it works with most WordPress page builders. For Gutenberg, use a Shortcode block. Meanwhile, in Elementor or similar tools, use a Code widget to paste it.
How many wholesale registration pages can I create?
In general, there is no built-in limit. Therefore, you can create as many pages as you need. Each one can also have its own identifier or approval rules for different customer groups.
Can I set a different redirect destination for each form?
Yes, absolutely. After signup, you can redirect users to different pages. For example, you can send them to a welcome page, pricing guide, or members-only shop. To do this, configure the redirect settings inside Lead Capture for each form.
Why is my shortcode showing plain text instead of a form?
If this happens, first check that the Wholesale Lead Capture plugin is active. Then, make sure you placed the shortcode inside a proper block. For example, use a Shortcode block instead of the visual editor.
Need Help?
If you have a question or run into any issues, we’re here to help.
- Premium users: Open a support ticket
- Free users: Visit our community forum
