How to restrict shipping to logged-in WooCommerce users

How to restrict shipping to logged-in WooCommerce users

Giving benefits to logged-in users has been a practice for a very long time. We all have been witnesses to some sites that don’t provide complete information about something (for example, if the shirt is on stock, what colors are available, how much is the shipping, etc.) if you are not logged in.

That’s one cool trick you can do anywhere to boost user registrations on your website and collect emails. Why do we need the emails of users who buy from us? Obviously, for email marketing and newsletters!

The benefits that you can get from restricting shipping to logged-in users are enormous. First, they will create an account if they don’t have one. Second, they will market you to their friends, who will also create an account. And third, your email listing will become longer due to the user registrations resulting from special offers for having an account on your WooCommerce store.

It is a nifty little trick that you can achieve with the help of the WooCommerce Table Rate Shipping – PRO plugin.

How to restrict shipping to logged-in users with the WooCommerce Table Rate Shipping – PRO plugin

Let us show you how to do that! Open up your WordPress dashboard, go to WooCommerce, and then Shipping. In that section, you need to go to the shipping zones, where under the shipping method, you should select the Table Rate Pro. After clicking on that, you will be presented with shipping methods. You will create the shipping methods you want to apply to your store in that area.

Firstly, you will create a method for those who are not logged in, and you will do that by clicking on Add New. You can give the method whatever name you want, for example, Not Logged in.

Then you have a few fields that you may skip and go directly to the last one, the Table Rates. You will set the “Condition” to be “Item Count”, “Min Value” to 0, “Max Value” to *, “Base Amt” to 3, “Per Item” to 1, “Per oz” to 0. Please note that all the values mentioned are optional, and you may put whatever values you want.

The “Max Value” represents the maximum number of items for which the method will apply. If you put ” *, ” then it is infinity. No matter how many items they buy, the shipping method will be applied. The “Base Amt” is how much the total shipping will cost, regardless of how many items are in the cart. The “Per Item” represents how much will be added to the shipping cost for each item in the cart. Save and voila!

Also Read: Use of Holographic Foiling in Packaging Boxes

And now for the benefits of logged-in users. We got the same process. Add New, and put the name whatever you want, for example, Logged In. The Table Rate should be populated the same with one exception. The “Base Amt” should be lower compared to the one set in the Not Logged In method.

For all this to work, you will just scroll a bit up and check two checkboxes, the “Hide other methods”, and the “Only for logged-in users”. In this way, you will disable the option for logged-in users to choose between shipping methods and only give them this one!

Final Words

In the end, we all need little tricks that will help us boost our WooCommerce store to the next level. Even if it is something small as giving a bit off for the shipping, you get a lot back. So, don’t wait and check out the WooCommerce Table Rate Shipping – PRO plugin.

About IITSWEB

IITSWEB is the Chief Business Development Officer at IITSWEB, a Magento design and development company headquartered in Redwood City, California. He is a Member of the Magento Association and an Adobe Sales Accredited Magento Commerce professional. Jan is responsible for developing and leading the sales and digital marketing strategies of the company. He is passionate about ecommerce and Magento in particular — throughout the years his articles have been featured on Retail Dive, Hacker Noon, Chief Marketer, Mobile Marketer, TMCnet, and many others.

View all posts by IITSWEB →

Leave a Reply

Your email address will not be published. Required fields are marked *