If you sell custom or personalized WooCommerce products, you might want to show extra product options to some types of customers but not all of them. For example, you might want to add custom product addons for logged-in users only.
The advantage of showing product options to logged in users is that you can separate your site into a B2C and B2B part. Your B2B users would see additional options/pricing when they are logged in. Or you can create a wholesale WooCommerce site and only allow logged in users to add additional options to your WooCommerce products.
In this tutorial, we’ll show you how you can add extra product addons to a WooCommerce product and make them available to logged-in users only. We’ll use the Advanced Product Fields for WooCommerce plugin to do this.
Adding extra product addons for logged-in users only
If you sell custom WooCommerce products on your online store, you’ll need a way to let customers customize or personalize products. You might want to offer extra product options for logged-in users only. This is a great way to encourage visitors to sign up for your email list for example.
Adding extra product options for logged-in users only means that the extra product options for customization are shown only to users who are logged in to their accounts. For instance, if you run an online store, you can set up Customer user roles or Member user roles if you run a membership site. Similarly, if you sell to both retail and wholesale customers, you can set up a Wholesale Buyer user role for your wholesale customers and a Retail Customer user role for retail customers.
Let’s quickly step through a few examples when you might want to offer extra product options for logged-in users only:
- Give Customers the option to personalize products before they add them to the shopping cart.
- Let Members choose whether to include a gift box with their purchase.
- Let Wholesale Buyers have team names printed on t-shirts.
There are many benefits of adding extra product options for logged-in users only. For starters, this can incentivize guests to create an account on your site. This is an easy way to deliver more value to people that want to engage with your brand. This can also help you build your email list and put email marketing campaigns into action.
Advantages of adding extra product options
When logged-in users can select and add extra product options, it can help you increase your average order value. For instance, if you sell a hand-made leather wallet on your online store for $25, you can let customers add a name engraving to their wallet and increase the total price to $28. This way, you’re able to add more value to existing products. And, by increasing your store’s average order value through exclusive options, you can effectively generate more revenue.
It’s also worth mentioning that making WooCommerce product addons available for logged-in users only is great for security reasons. You don’t have to worry about spam submissions when only people with the Customer account or Member account will be able to upload files to your server. This separates the people who actually want to place an order for a personalized product from those that are just wasting your time.
How to add extra product addons for logged-in users only in WooCommerce
WooCommerce by default doesn’t let you add extra options to your products so you’ll need to use a plugin. Ideally, it should let you add as many extra product options to your WooCommerce products as you’d like and adjust the price for each extra product option accordingly.
With this in mind, we’ll show you how you can add extra product options for logged-in users only using the Advanced Product Fields for WooCommerce plugin.
Step 1: Install the Advanced Product Fields for WooCommerce plugin
The first thing you need to do is get the Advanced Product Fields for WooCommerce plugin. It lets you select from 10+ different field types to display extra product options for products on your online store. Other than adding as many product options as you like, you can also adjust the product’s total price.
This means that you can charge extra for each product option and adjust the product’s final total price accordingly.
Additionally, the Advanced Product Fields for WooCommerce plugin lets you configure quantity-based options. This is ideal for collecting information from customers that want to purchase more than one unit of a product in a single order. Following our example from above, if a customer wants to place an order for two engraved wallets, they can do that without having to refresh the page or place the orders separately.
Finally, using the Advanced Product Fields for WooCommerce plugin, you can display specific product options to logged-in users only.
After installing and activating the plugin on your WordPress site, head over to WooCommerce → Settings → Product fields from the dashboard to activate the plugin’s license key.
Once you’re done, click the Save changes button to continue.
Step 2: Create product option fields
For this tutorial, we’ll show how you can add extra product options for logged-in users only using a Brown Leather Wallet product. We want to set it up so only logged-in users can choose to include a gift box with their purchase. They will be able to select a checkbox that will add a small fee to the final price of the product in exchange for packing their order in a beautiful gift box.
To get started, create a product field group. Head over to WooCommerce → Product fields from the admin panel and click the Add New button. Give the product field group a title like Wallet Personalization.
Now, we’ll create a simple checkbox field to ask the customer to input whether they want to include a gift box or not.
- Click Add your 1st field to add a new field.
- Set the Type to Checkboxes.
- Enter a Label. Something like Include a Gift Box.
- By entering information in the Instructions text field, you can display extra information near the checkbox field.
- In the Options section, click the Add option button.
- Set the Adjust pricing to Flat Fee and enter the amount in the Pricing amount text field next to it.
This will create a checkbox on the Brown Leather Wallet product’s page for logged-in users to select if they want to add a gift box to their order. Only people who are logged into their account will see the option to include a gift box with their order. And, once they select the checkbox, the final price of the product will update dynamically.
Step 3: Show extra product options to logged-in users only
Now, it’s time to set the extra product options to be shown to logged-in users only. To do this, scroll down to the Conditions meta box and click the Add your first rule button.
You can set the following rules:
- Product is equal to Brown Leather Wallet AND
- Authentication Logged in
This way, once a customer logs in to their account and visits the Brown Leather Wallet product page, they will see the extra product option that lets them include a gift box with their order. It will look something like this on the front-end:
And here’s what store visitors who aren’t logged into their account will see:
Adding extra product addons for logged-in users in WooCommerce is great for incentivizing guest shoppers and store visitors to create an account on your site. You can increase your store’s average order value and decrease the chances of spam submissions when offering extra product options on your online store.
We showed you how you can add extra product options for logged-in user roles only using the Advanced Product Fields for WooCommerce plugin. Hopefully, you’re in a good position now to take the next steps.
Ready to add extra product options that are visible to logged-in users only? Get the Advanced Product Fields for WooCommerce plugin today.
The easiest way to set up extra product options for your B2B storeFind out more