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.
For more tutorials and support, explore our documentation or reach out to our help desk.