Yet another million dollar question… not! In fact, the answer is pretty damn easy: you should use both payment gateways on your WooCommerce checkout (sorry about the spoiler). And here’s the proof. Continue reading Should I use PayPal or Stripe @ WooCommerce Checkout?
As a WooCommerce user, WooCommerce blogger and WooCommerce developer I often hear this question: “What’s the best hosting for WooCommerce?“.
Well, first and foremost, there is no “best” hosting for WooCommerce (and WordPress in general). There are so many choices out there that defining the “best” is impossible. Besides, if there were a “best” hosting platform, there would be only one hosting company left in business. Continue reading What’s the Best Hosting for a WooCommerce Website?
I had the pleasure to co-organise the very first WordCamp Dublin this year. We welcomed 26 amazing speakers, 250 attendees, incredible sponsors and enjoyed a great venue and tasty food.
Just because organising, MCing, managing speakers and writing website content were not enough, I also decided to run a 45mins workshop titled “WooCommerce Customization Masterclass” and I have to say I received great feedback despite the lack of voice, sleep and energy (thank you)!
I spoke briefly about WooCommerce customization, my WooCommerce visual hook guides, the difference between snippets and plugins and finally demoed a few snippets to add, remove and move WooCommerce content to/from the Single Product Page.
This is a nice follow up from last week’s snippet “WooCommerce: Slashed Cart Subtotal if Coupon @ Cart“, where I showed how to display original/discounted cart total on the same totals table row.
This time, I want to let users know the original and discounted cart item (product) amount after a certain coupon is applied. Who knows – this might improve your Cart U/X 🙂 Continue reading WooCommerce: Display Cart Item Subtotal With Coupon Discount
This is a nice snippet to let users know what the original cart amount was by slashing the price and showing the price after the discount on the same line (subtotal). You can then hide the coupon code line if you wish 🙂 Continue reading WooCommerce: Slashed Cart Subtotal if Coupon @ Cart
In the past, WooCommerce cart and checkout pages used to show “$0.00” beside each free shipping rate. But given that many freelance clients requested this customization, today we’re bringing this back to life with just a few lines of PHP 🙂 Continue reading WooCommerce: Display $0.00 Amount For Free Shipping Rates
You’re filling out your tax reports… and then find out WooCommerce doesn’t give you this calculation by default!
Don’t cry 🙂 Today I’ll show you a quick snippet to calculate that in a second. Feel free to change the year, the country and the states in the snippet. Continue reading WooCommerce: Calculate Sales by State
Recently I was on a coaching call with a client and the “Free Sample” challenge came up. Client has 400+ products on the website and had no intention of adding a free variation to each product manually.
So, I promised to myself I was going to study a different approach. And today you get it for free – nice! Needless to say, a comment and a social media share are much appreciated 🙂Continue reading WooCommerce: Order a “Free Sample” @ Single Product Page
I’ve been wanting to publish this guide for a long while. As a WooCommerce development freelancer, every day I repeat many operations that make me waste time… and one of them is indeed “How to get ____ if I have the $product variable/object?“.
For example, “How can I get the product SKU“? Or “How can I get the product short description“? Or maybe the product stock level, shipping class, tax class, price, regular price, sale price, and so on… hopefully this article will save you time.
Of course, not always you have access to the $product variable (I’m talking about WooCommerce hooks for example), so you’re also required to understand your case scenario and see if you can “get” that $product object in another way.
For example, you might know the $product_id. In this case, you have to find a way to “get the $product object from $product_id” – you find this example below.
Other examples might be the order or the cart pages. Once again, in here you don’t really have a $product available, so you have to loop through the order/cart items and “get” it. After that, you can then calculate and get any piece of information you require out of $product. Enjoy!Continue reading WooCommerce: Get Product Info (ID, SKU, $) From $product Object
WooCommerce.com is dropping its 50% extension renewals, and moving to a 100% renewal business model.
I found this out at WCEU 2017 and then via WP Tavern. Unfortunately, this announcement is not on WooCommerce blog, on its social media channels or even Automattic.
And yes, this is retroactive – we are now all paying 100% renewals. So, let’s see what I think about this “still not official” news. Continue reading My Take on WooCommerce.com Switching to 100% Renewals
Here’s a very simple snippet that achieves a very complex task – what if you wanted to force your Cart to charge a deposit or a fixed fee, no matter the product price?
Well, thankfully WooCommerce is pretty flexible and a lot of workarounds can be found. In this case, forcing the checkout to a fixed amount (e.g. $100) is as simple as applying a negative “cart fee” to make the total become $100.
Sounds like Japanese? Great – here’s why you’re on Business Bloomer. Copy the snippet, apply it to your test WooCommerce site and see the magic happen – without knowing anything about coding! Continue reading WooCommerce: Force Cart to Specific Amount (Deposit)
I’m just back at my desk, after 4 amazing days in Paris for WordCamp Europe 2017! To make it easier on you, I’m now going to tell you my opinion without spending too much time.
Reading time: 5 minutes! Continue reading #WCEU Paris 2017: My 5-minutes Opinion
A #BloomerArmada fan had a nice challenge with a client – how to display the total amount of sales generated by a given coupon code?
And, as fans are VIPs to me, I was able to create this snippet and make this blog skip the queue of contents I have in my long list – so there you go! Continue reading WooCommerce: Calculate Sales by Coupon Code
Interesting, isn’t it? This has been on my to-write list for ages, so today I want to show you my first attempt at turning the Shop page into a list/table of products.
Let’s see how I did this – I will try to comment my PHP as much as possible so you can understand my strategy. Enjoy!Continue reading WooCommerce: Display Products in a Table Order Form
Advanced Custom Fields plugin is a great way to add custom, advanced fields to the WooCommerce Single Product Page. Many struggle to display such fields on the front-end, so this simple snippet should help you!Continue reading WooCommerce: Display Advanced Custom Fields @ Single Product
Default WooCommerce shows a “Sale” badge if the item is on sale – but what about showing the exact sale percentage as well?
I implemented this for one of my freelance clients so here you go with the easy-peasy solution! Continue reading WooCommerce: Display % Discount @ Shop & Loop Pages
So many times I needed to “play” with Cart contents in order to modify the default behaviour (such as removing a columns, hide the sale price to prices, hide an item, etc.).
There is a great PHP function that always helps – it’s called print_r and you can use this to “see” what’s inside the cart array, so that you can return certain information in a message for example.
A bit advanced, but as you grow your WooCommerce coding skills, you will use this a lot 🙂 Continue reading WooCommerce: See What’s Inside the Cart Array (print_r)
Case scenario: if you add a product ID to cart with a specific, you want another product automatically added to cart (Buy One Get One, or “BOGO”).
This second product should have price = 0 if you wish to completely give it away, or maybe a set sale price. It should also be set to “hidden” because maybe you want to hide this free product from the shop and only gift it when the first one is added to Cart.
Also, if you remove product 1, the gifted product should go away from the Cart too. So here follows the PHP snippet of course!Continue reading WooCommerce: “Buy One Get One” (Without a Plugin!)
I’ve been working online while travelling throughout South America for almost 3 months so far and I’ve had a lot of time to think about solopreneurship. After 5+ years as a sole trader, it’s now the right time to write my thoughts. I really hope to give you at least one idea, one tip you can take away.
I would love if you could spend some time to think about it, and leave your comment below to tell me what your thoughts are. Continue reading 10 Things Nobody Tells You About Working for Yourself
The conditional tags of WooCommerce and WordPress (also “WooCommerce and WordPress Conditional Logic”) can be used in your functions.php to display content based on certain conditions. For example, you could display different content for different categories within a single PHP function.Continue reading WooCommerce Conditional Logic – Tags, Examples & PHP