Orange County, CA

(949) 876 - 5309

Category: Business Bloomer

WooCommerce: Display Out of Stock Products (Shortcode)

A client of mine wanted to show out of stock products on a separate page – so I coded a simple shortcode for you all!
You can use this same shortcode for different goals. For example, you might want to display what products you’ve sold so far to enhance customer trust (which is the same as displaying those products that are not in stock). Or maybe, you might want to have a specific page where customers can go to see what’s coming back in stock (if you don’t sell unique pieces and restock your products).
Either way, let’s see how to (1) create a shortcode and (2) how to use a WordPress query to return just those products that have 0 stock!
WooCommerce: Show Out of Stock Products via a Shortcode PHP Snippet: Display Out of Stock Products via a Shortcode – WooCommerce After you add the PHP below to your website, you can use the shortcode “out_of_stock_products” (see image) on any page you like.
Please note – all your products must be set to “Manage Stock”.
/** * @snippet Display Al..

Read More

How to Increase Your WooCommerce Website Opt-In Rates?

Popups. They sometimes feel like the necessary evil of ecommerce websites. We all see them several times a day, and we click away from them just as often.
On the other hand, if you run one or more ecommerce websites, it’s hard to ignore them completely. After all, anyone with an email marketing campaign needs a way to capture the email addresses of potential customers.
Unfortunately, since few people get excited by popups while they’re browsing, it shouldn’t come as a surprise that the average opt-in rate on a website averages 1.95%. That’s not a very impressive number.
If you are trying to grow your email list, however, you’re probably looking for a new, fun, gamified way to capture email addresses – without annoying your users.
Take Advantage of WooCommerce Coupons The good news is: WooCommerce can help you with the challenge.
You can automatically generate discount coupons for your visitors.
There are several advantages to this: first of all, your visitors will receive a great..

Read More

The 10 Commandments of Content Marketing: WordCamp Rome 2017 Slides & Video

I had the pleasure to speak at WordCamp Rome 2017. Yes, the very first WordCamp in my hometown (I left Rome in 2007 to move to Ireland)!
I was super happy to present a talk called “The 10 Commandments of Content Marketing” (OMG how difficult it was to speak in English in front of my Italian friends…).
The talk covered my 5 years of content marketing, and how I’ve seen it all while creating content on my WordPress website: during the first 2 years I wasted time and energy to write blogs no one would read. Then I found my inspiration, my path, my content strategy – and in the last 3 years website traffic has risen from 0 to 15,000+ users (and still growing) per week. Now my blog is my only source of sales leads.
I first and foremost described what mistakes (sins) I made. What about saving 2 years of your life?
Then I listed the “10 Commandments of Content Marketing” – 10 simple tips you can take away to increase your website traffic and focus on the only purpose of content marketin..

Read More

WooCommerce: “Is This a Gift?” Checkbox @ Single Product Page

A client of mine asked me to code a checkbox on the single product page called “Is this a gift?”. They noticed that their customers who want to gift the product to a friend get confused with the “Shipping to a different address” form in the WooCommerce checkout.
So, what about renaming “Shipping to a different address” into “Who is this gift for?” if a “gift” is in the cart? Well, this snippet does just that and you can adapt it / customize it to your specific case.
“Is this a gift?” checkbox @ WooCommerce single product page PHP Snippet: “Is This a Gift?” Checkbox @ Single Product Page – WooCommerce /** * @snippet “Is This a Gift?” Checkbox @ Single Product Page – WooCommerce * @how-to Watch tutorial @ * @sourcecode * @author Rodolfo Melogli * @testedwith WooCommerce 3.2.5 */ // ————————- // 1. Display Is this a Gift checkbox add_action( 'woocommerce_before_add_to_cart_quantity', &#03..

Read More

How to Display WooCommerce Variations with Color / Size Buttons?

Displaying product pages nicely is the entrepreneur’s dream.
Good UX means a much higher probability the interested customer is going to add to cart and complete the checkout.
However, WooCommerce variable products come with annoying dropdowns for each attribute (color, size, style, etc. depending on what options you have set up). And as you’ve already got a hint of my personal opinion, dropdowns are UX-killers.
Today, we take a look at a handy, free plugin you can use to displaying the product options (variations) in a user-friendly way. I’ve used this on many websites and it’s pretty reliable. As usual, it’s just the click of a button!
1. Install “Variation Swatches for WooCommerce” Plugin This free plugin is downloadable from the WordPress repository and has more than 10,000 active installations.
The developer is ThemeAlien. Link:
Variation Swatches for WooCommerce Plugin 2. Edit Existing Attributes e.g. “Color..

Read More

WooCommerce: Turn Address Checkout Field Into Drop-down

Talking about UX optimization, the WooCommerce checkout is where you should focus most of your time. The checkout page of an ecommerce website is one of the main reasons for shopping cart abandonment – additional hidden charges, lack of trust, confusion and also, too many fields to fill out.
Today, we will see how to turn the “Address 2” field into a dropdown. This is if you sell to specific areas and you want to minimize the writing time – why not let customers pick from a list instead?
Turn the WooCommerce checkout address field into a dropdown select PHP Snippet: Turn Address Checkout Field Into Drop-down – WooCommerce /** * @snippet Turn Address Checkout Field Into Drop-down – WooCommerce * @how-to Watch tutorial @ * @sourcecode * @author Rodolfo Melogli * @testedwith WooCommerce 3.2.5 */ add_filter( 'woocommerce_default_address_fields' , 'bbloomer_address_field_dropdown' ); function bbl..

Read More

WooCommerce: Display YITH Wishlist Buttons @ Shop Page

This week’s snippet is about one of the most popular WooCommerce plugins on the WordPress repository: YITH WooCommerce Wishlist developed by YITHEMES.
With over 500,000+ active installations, you can probably understand why this is extremely on demand. Having a “wishlist” on your WooCommerce website is a great idea: customers can save their desired products and get back later to complete the purchase.
One of the most requested customizations of such plugin is to display the wishlist buttons on the shop (also called product archive or product loop) pages, under each product’s add to cart button. And the fix is extremely simple!
Display YITH Wishlist buttons on the WooCommerce product archive PHP Snippet: Display YITH Wishlist Buttons @ Shop Page – WooCommerce /** * @snippet Display YITH Wishlist Buttons @ Shop Page – WooCommerce * @how-to Watch tutorial @ * @sourcecode * @author Rodolfo Melogli * @testedwith Wo..

Read More

How to Apply Store-Wide Bulk Discounts in WooCommerce?

It’s Black Friday / Cyber Monday weekend and I’m pretty sure many WooCommerce entrepreneurs would love to apply a bulk 30% discount on their website without having to generate a coupon code.
Let’s not forget that despite coupons are trackable and you can assess your marketing efforts with its usage statistics, requiring the user to take one additional step at checkout (entering the correct coupon code) might reduce the 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 alternatives I recommend to apply bulk 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.
1. Bulk Editing Prices This is the easiest solution. You can just do this from the “Products” admin page of the WordPress dashboard.

Video Recap:
Go to the “Products” admin page Tick all the products..

Read More

How To Become an Advanced WooCommerce Developer?

Well, get ready for a 2,700+ words article: becoming a WooCommerce expert won’t take you just a couple of days.
A few months won’t be enough either.
If you want to join that very small group of advanced freelancers and agencies that exclusively work with WooCommerce clients and charge top dollar, if you want to become a WooCommerce authority and build a successful career, if you want clients to come to you as opposed to you chasing them, well – you need to digest and assimilate what I’m about to tell you.
In this (long) article I will help you understand what is advanced WooCommerce, and then break this down into 5 simple steps.
Five makes-a-lot-of-sense steps you should follow in order to complete your journey.
So, want to become a WooCommerce ninja? A WooCommerce wrangler? A WooCommerce guru?
Well, despite I dislike all those ninja-like “terms”, let me tell you a thing or two. Then, join me in the comments and let’s keep the conversation going.
—– —– —– —– —– —– —– —–
Table o..

Read More

WooCommerce: Send Checkout User Info to Email Recipient

When my blog readers become official Business Bloomer supporters, a few custom fields are conditionally displayed on the WooCommerce checkout (thanks to this snippet or this other snippet).
For example I show a custom user Twitter field. Thanks to the snippets, this is automatically saved into the WordPress User Profile page. But as I love to thank each Business Bloomer supporter on Twitter, I wanted to generate an additional email reminder (to myself, or to an assistant’s email address for example) with the Twitter username I should be thanking. You might need something like this if you need to send a new customer email address to a coworker. Or maybe a new address to a dropshipper…
So, how do you send a custom email with some user information, after such user completes the checkout and a new WooCommerce order is created?
Send WooCommerce Checkout User Information to a custom Email Recipient PHP Snippet: Send Checkout User Info to Email Recipient – WooCommerce /** * @snippet Send C..

Read More
Facebook Auto Publish Powered By :