B2C WooCommerce stores can also have a B2B section. Wholesalers can offer different prices based on different criteria. Subscription stores can offer lower prices to current members.
Either way, setting different WooCommerce prices for different users (“based on user role”) is not that difficult. All you need is a plugin (or a stack of plugins, depending on your custom requirements), and you can immediately show different prices if the logged in user has a specific role or “capability”, as well as targeting active memberships, active subscriptions or other criteria.
If you want to learn more about user roles and capabilities, I suggest to take a look at the WordPress documentation: https://codex.wordpress.org/Roles_and_Capabilities – you’ll know WordPress has 6 default roles (administrator, editor, etc.) and that WooCommerce adds another one (customer). Other plugins can set additional roles – for example https://wordpress.org/plugins/members/ by Justin Tadlock, a very popular WordPress developer.
So, while “targeting” user roles is quite easy, the only difficult part is to choose the right “user role based pricing” product. As usual, when picking a plugin, you always need to consider its functionalities as well as the quality of its support team, long-term reliability, code cleanliness, frequent updates and total number of sales.
Today, we’ll take a look at the plugins I recommend, together with their pros and cons. If you use different stacks or custom functionalities, feel free to interact via the comments. Continue reading WooCommerce: How to Set Different Prices Based on User Role?
When a variable product has the same price for all variations, a unique price is shown to website users i.e. the one at the top of the page. However, this behaves differently when each variation has its own unique price – in this case the single variation price shows after a variation is selected.
Now, this can be good or this can be bad – it depends. So in this snippet we’ll see a quick fix to make this behavior consistent i.e. showing the variation price after selection every time, no matter the conditions.
Thankfully, it’s literally one line of PHP. Enjoy! Continue reading WooCommerce: Always Display Single Variation Price
Many retailers use this price tag strategy quite successfully. And displaying the amount of savings can increase your ecommerce store conversion rate as well 🙂
So, turning simple product default pricing from “
$30 $20″ to “Was $30 – Now $20 – Save $10” is quite easy. With a little CSS you can also style the display and customize it according to your brand guidelines! Continue reading WooCommerce: Display Prices as “Was $$$ – Now $$$ – Save $$$”
I’m pretty sure that during one of those Black Friday sales all you wanted to do was to apply a bulk discount to your WooCommerce products without having to generate a coupon code.
Let’s not forget that despite coupons are trackable and you can assess your marketing efforts with their usage statistics, requiring the user to take one additional step at checkout (entering the correct coupon code) reduces your sales conversion rate (the same applies with useless checkout fields by the way – less work to do, higher conversion rate).
In today’s post, we’ll see what are the 3 options I recommend in order to apply bulk store discounts. It pretty much depends on your product types (simple vs variable for example) and whether you want to do this via the settings or with a little bit of PHP. Continue reading WooCommerce: How to Edit Product Prices in Bulk?
In older versions of WooCommerce free prices used to display as “FREE!” and products with empty prices were not publishable. Now they’ve changed this around, but I still believe “FREE” looks much better than “$0.00”. It’s much more enticing, isn’t it?
Well, here’s how you restore the old functionality – as usual it’s as simple as using a PHP filter provided by WooCommerce and overriding the default behavior. Continue reading WooCommerce: Display “FREE” Instead of $0.00 or Empty Price
You may want to disable the Grouped product price range on the Shop and Single Product page. This usually looks like $100-$999. With this snippet you will be able to display “From: ” in front of the minimum price, or otherwise completely hide it 🙂 Continue reading Disable Grouped Product Price Range $$$-$$$ | WooCommerce
This has been on my to-write list for a looooooong while! You might want to show a “POA” or “Call for Price” when you have a product with no price. Many businesses require this, mostly real estate and wholesalers. So let’s see how it’s done 🙂 Continue reading WooCommerce: POA / Call for Price Button @ Single Product Page
In my opinion, the WooCommerce Cart table is somewhat confusing. Why isn’t the “sale price” displayed there? Well, this is a mystery!
I’m pretty confident that showing the “slashed” price would actually help your customers convert better.
So, what about 10 PHP lines in exchange for an increase in sales? Great! Here’s the snippet 🙂 Continue reading WooCommerce: Display Regular & Sale Price @ Cart Table
Sometimes you may want to add a prefix or a suffix to your prices. It could be something like “From…”, “Only…”, “…tax free” and so on. The first good news is this is very easy to do with a WooCommerce filter (remember, filters change the value of an existing variable, while actions add content). The second good news is that you don’t need to know PHP, just copy/paste my snippet! Continue reading WooCommerce: Add Prefix / Suffix to Product Prices
Interesting WooCommerce customization here. A client of mine asked me to hide/remove prices from the shop page and category pages as she wanted to drive more customers to the single product pages (i.e. increasing the click-through rate).
As usual, a simple PHP snippet does the trick. I never recommend to use CSS to “hide” prices, as they would still be visible in the code – PHP stops the prices from loading, so they’re invisible to the user. Continue reading WooCommerce: Hide Prices on the Shop & Category Pages
You may want to force users to login in order to see prices and add products to cart.
All you need is pasting the following code in your functions.php (please note: your theme may have overwritten some default WooCommerce functions, hence the code below may not work. Contact me if you need custom code). Enjoy! Continue reading WooCommerce: Hide Price & Add to Cart for Logged Out Users
You may want to disable the variable product price range which usually looks like $100-$999. With this snippet you will be able to hide the highest price, plus add a “From: ” in front of the minimum price. All you need is pasting the following code in your child theme’s functions.php 🙂 Continue reading WooCommerce: Disable Variable Product Price Range $$$-$$$
A nice way to avoid user frustration is to never let them pick a product / variation that is out of stock, only to realize later they can’t purchase it.
A variable product comes with a “select dropdown” on the single product page, from which customers can pick their favorite variation. Problem is that ONLY after selecting this they will find out about price, stock status and may be able to add to cart.
Today, we’ll completely disable (grey-out) those select dropdown options (variations) that are out of stock, so that users don’t waste time and only pick one of those that are in stock. Enjoy! Continue reading WooCommerce: Disable Out of Stock Variations @ Variable Product Dropdown
This is a guest post by Maarten Belmans of Studio Wombat – if you like the article, make sure to thank him in the comments!
If you use WooCommerce for your online business, you may have needed the ability to add extra options.
That functionality allows buyers to personalize their products exactly the way they want – whether they want to add their favorite pizza topping or buy a laptop with extra RAM.
When you provide those options, you optimize the customer experience on your website. But in order to provide those customization options, you’ll need a product add-on plugin.
That type of plugin makes it easy for you to create additional form fields, which in turn allows your visitors to customize the products they want to purchase. Continue reading How to Add Extra Product Options (Add-Ons) to WooCommerce
The default WooCommerce Dashboard Products page (/wp-admin/edit.php?post_type=product page) shows the list of products in a table. Default fields are: Image, SKU, Stock, Price, Categories, Tags, Featured and Date.
Sometimes, these columns are not enough and you need more. For example, you might want to quickly take a look at a product custom field, such as “visibility” (whether the product is hidden or not).
So, here’s the snippet for that. Of course, you can adapt it to show your own custom field, an ACF field or whatever product-related information you require. Continue reading WooCommerce: Additional Products Table Column @ Admin
WooCommerce picks related products on the Single Product Page based on product categories and/or product tags. Related products are very important to the shopping experience, and sometimes this is not enough – what if you want to automatically show certain products based on different criteria?
So, here’s a quick snippet to e.g. get related products with the same product title of the current one. A very strange example, but you can use this as reference in case you want to get products based on different criteria. The get_posts() function, in fact, can be customized to get products with a given stock, certain price range, same custom field value, search term, and so on. Continue reading WooCommerce: Custom Related Products
As you probably already know, WooCommerce offers the easiest way to build an online store with WordPress.
Depending on your individual needs, WooCommerce allows you
to add digital products as well as subscriptions. One of the most important
components of your store is the payment gateway you use.
This is what offers your shoppers a secure shopping experience by connecting your store to an online payment service where they can pay for their orders, safely and securely.
What is a WooCommerce Payment Gateway?
WooCommerce payment gateways work by verifying the billing information for every customer, approving requests and ensuring you get paid.
The type of WooCommerce payment gateway to choose depends on several factors which include how easy it is to integrate with WooCommerce, the target clients you serve, related costs and the level of security you need. Continue reading 6 Popular WooCommerce Payment Gateways
WordPress truly powers the web. With over 75 million active websites currently using WordPress, it’s no wonder it’s such a natural choice for so many online businesses. When it comes to eCommerce, WordPress makes it exceptionally simple with WooCommerce.
WooCommerce is the go-to eCommerce solution for WordPress. It’s easy to install, free to use, and full of customization options that make it easy to design your own eCommerce store quickly. With thousands of easy-to-use themes, how do you know where to begin?
It’s worth being strategic when you choose your WooCommerce theme. The right theme is easy to use, enticing to your audience and helps build your brand.
Before you invest your time and money in a theme, make sure you know exactly what to look for. In this guide, we’ll cover everything you need to know to choose the right WooCommerce theme for your site. Continue reading How to Choose the Right WooCommerce Theme
Do you like to travel and share your photos and articles? Writing a travel blog is so in trend nowadays.
The tourism business is growing fast. Many people look for how and where to go to relax. Many want to visit new places. Others want to learn more about exciting and interesting places to visit.
In this article, I included the most impressive travel themes for WordPress that are distinguished by their appearance and functionality. Of course, you will not need any supernatural code knowledge.
Themes from this selection will suit for:
- travel blogs
- travel magazines
- travel agencies
- hotel reservation
Feel free to take a look at their demos, read their descriptions and the features of those that are worth your attention. Continue reading 10 Travel WordPress Themes to Turn Your Hobby Into a Business
You’re looking to assign different unit prices based on the quantity added to Cart, for example from 1-100 price is $5, from 101-1000 price is $4.90 and from 1001 units ordered price becomes $4.75.
There are many “Dynamic Pricing” plugins out there (and the number #2 on this article would suit complex pricing rules and dynamic discounts), but this time I want to teach you a simple code to DIY WooCommerce quantity-based pricing.
As usual, comments and shares are much appreciated. Enjoy! Continue reading WooCommerce: Bulk Dynamic Pricing Without a Plugin