WooCommerce: Set / Override Product Price Programmatically

There are times when the edit product page settings are not enough. Yes, you usually set regular and sale price via the price fields under “Product Data”; however sometimes you may have to override those prices via code, because you’re running a special promotion, you don’t want to manually change thousands of prices or maybe you need to show different values to logged in customers only.

Either way, “setting” the product price programmatically consists of two distinct operations. First, you need to change the “display” of the product price on single and loop pages; second, you actually need to set a “cart item” price, because the previous code does not really alter price values.

As usual, easier coded than said, so let’s see how it’s done. Enjoy!

Continue reading WooCommerce: Set / Override Product Price Programmatically

WooCommerce: How to Safely Update Via Staging

When a new version of the WooCommerce plugin is released, and the WordPress dashboard starts sending you notifications that it’s time to update, this question comes always to mind: “Should I update WooCommerce right now, wait a little longer, or stay on the same version unless something breaks?

Well, updating WooCommerce is ALWAYS a big risk – potentially you can break your live website and miss out on traffic and sales. This can happen every time a significant update is released – many store owners don’t update their stores because they feel the hassle is not worth the effort.

But updating WooCommerce is definitely a good idea for the long-term. The main cause of WordPress hacking is because of out-of-date plugins and themes. And this is where staging environments come in.

A staging website is a clone of your existing live store. It’s completely separate and it doesn’t affect your live store in any way. Staging is also called “testing environment” or “sandbox”, while your live site is usually called “production environment”.

Staging gives you the benefit of 1-click-cloning in a few minutes, updating and testing WooCommerce without worrying about breaking your actual live website, and finally “pushing” the changes to the live website (a.k.a. overwriting the live environment), so the functioning is 100% guaranteed.

Continue reading WooCommerce: How to Safely Update Via Staging

WooCommerce: Advanced Order Search

When it comes to saving time, the out-of-the-box WooCommerce plugin doesn’t give you many options and features. For example, searching through your WooCommerce orders is not straight forward enough because the search options are fairly limited.

By default, you can go to the WooCommerce Orders admin page (wp-admin/edit.php?post_type=shop_order) and use the basic search bar.

You can look for a customer name, a customer billing email and a few more, but that’s pretty much all you can do. You can’t look for multiple fields, you can sort, you can’t filter by order total, and so on.

You get the picture – for a store manager this Orders dashboard is not handy at all. Each extra minute wasted in trying to find something could be better invested – in marketing spend for example.

That’s why we want to show you a quick alternative in order to do advanced searches in seconds. You won’t need any PHP snippets – just a quick plugin that turns your order list into an intuitive and easy-to-use spreadsheet so that you can do all the filtering and manipulation you desire.

Continue reading WooCommerce: Advanced Order Search

WooCommerce: Dynamically Hide / Show Checkout Field

We already saw a lot of examples e.g. hiding checkout fields if a product is virtual or hiding checkout fields if a checkbox is manually checked… but this time I want to hide a field dynamically – automatically – based on whether another checkout field is empty or has a specific value.

In this example, I will demonstrate how to hide the “billing phone” if “billing company” is empty or no information is entered. Of course, you also have to disable the mandatory attribute for the billing phone from the Customizer settings, otherwise checkout validation will fail. You can readapt this snippet to any other checkout field combo – just identify the input IDs and change jQuery accordingly. Enjoy!

Continue reading WooCommerce: Dynamically Hide / Show Checkout Field

WooCommerce Category Banner Management Plugin Review

Using banners is a major digital advertisement method, used for self-promotion or the promotion of others. Both ways, it plays an important role in money making online. Mind that we are not talking about the Google Adwords banners that appear in widgets. Those are easy to set, but cannot be managed by you for your business. Instead, we’re talking about the highly-customizable banners that could run as per your needs and add to your revenue.

If you have an e-commerce store, showcasing the special offers as banners can help you improve your sales speedily. At the same time, you may promote your partner brands and advertisements through banners too. In short, banners are super-useful. 

For the shop owners running their business through a WooCommerce store, banner management isn’t a tough nut to crack. Using the plugins like WooCommerce Category Banner Management Plugin, you can do it smoothly. This aid lets you set different category-wise or page-wise banner(s) for your shop.

In this article, we have reviewed the said plugin [free version and premium version] for its usability, efficiency, and functionality for businesses like yours. So, if you want to add advanced banner capabilities to your online store, do read it.

Continue reading WooCommerce Category Banner Management Plugin Review

WooCommerce: Boost Your Sales With Advanced Analytics

Product recommendations is an efficient and proven way to boost your WooCommerce sales.

The downside is that it could be a very time-consuming activity to bundle products manually, as well as the fact that it is not always the logical “pairing” that will generate the most sales.

The way forward is to utilize AI (Artificial Intelligence) and let analytical data models do the work for you.

Meet Engage, an AI-powered product recommendation engine. The type of recommendation vary a bit depending on the page your visitor is viewing. This is mainly because the recommendation model needs input to function properly (e.g. the first time a new visitor lands on your homepage, the model doesn’t know anything about their behavior and therefore it can’t provide recommendations.

But as the user interacts with the website the model picks up on behavioral patterns and is then able to provide better recommendations.

Continue reading WooCommerce: Boost Your Sales With Advanced Analytics

WooCommerce: Conditionally Hide Widgets

You could use a popular plugin called Widget Logic, or instead you could keep it simple with a few lines of PHP. Here’s a snippet for you in case you need to conditionally hide a certain sidebar widget given a condition e.g. if you’re on the Cart page.

Of course, you can use any of the available WooCommerce conditional tags and make this more complex, but in this example we’ll keep it simple and check if we’re looking at the Cart page (thanks to the is_cart() conditional). Enjoy!

Continue reading WooCommerce: Conditionally Hide Widgets

WooCommerce: 8 Best Email Marketing Services

Emails are a vital part of a successful eCommerce store. Successful store owners nurture their potential customers using email automation and send them the right information in right time to nudge them towards purchase.

They setup automation to create a relationship with their customers by sending emails (Welcome emails, Discount emails/Upsell Offers, Abandoned cart emails, Order confirmation emails,Post-Purchase Follow Up) based on buyers journey they are in.

Continue reading WooCommerce: 8 Best Email Marketing Services

WooCommerce: How to Choose the Right Theme

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 WooCommerce: How to Choose the Right Theme

WooCommerce: Save & Display Order Total Weight

For tracking purposes, or maybe because your shop manager needs to be aware of this, saving the total weight of each order and displaying it on the single order admin page is quite simple.

That’s right – WooCommerce does not save this value by default. You either need to save it yourself into the “order meta” or recalculate the weight based on the order items and their quantities. Here, we’ll cover option one (saving is better than calculating in regard to performance).

Enjoy 🙂

Continue reading WooCommerce: Save & Display Order Total Weight

WooCommerce: 7 Easy Ways to Increase Your Sales

WooCommerce is an awesome WordPress plugin that allows you to create a custom shop no matter what you sell. Because of its endless customization options, your shop won’t look like any other website out there.

However, when it’s time to increase your website sales and optimize your conversion rate, options, snippets and plugins can leave you feeling confused and overwhelmed.

Instead of getting stressed out and giving up, here’s a curated list of strategies and plugins that can give your WooCommerce shop a higher conversion rate.

Continue reading WooCommerce: 7 Easy Ways to Increase Your Sales

WooCommerce: Top 9 Crafts & Handmade Themes

Do you want to sell your handmade items online? Don’t worry, it won’t be that hard with the best handmade and crafts WooCommerce themes. These themes are perfect for beginners thanks to visual builders, extensions and sliders.

WooCommerce is a comprehensive WordPress solution to run an ecommerce website. If you opt for WooCommerce, you’ll experience its simplicity when creating the layouts, managing styles and adding content to your store. What’s more, you’ll get a chance to pick a number of exceptional WordPress plugins that are WooCommerce-compatible.

With WooCommerce you get:

  • Multiple product types: sell not only tangible goods but also digital products, content and even appointments
  • Rich blogging experience: build a strong brand and rank higher on SERPs, thanks to WordPress CMS
  • Compatibility with other popular WordPress plugins
  • Trouble-free integration: easily embed products, checkout and other store functionality in any page of your website
  • Tags, categories and attributes to let users find exactly what they need
  • Prolific product sorting and filtering options
  • Customer ratings and reviews

These themes I’ve chosen have the most attractive designs and modern functionality, and tey let you customize your store in visual mode. Moreover, they feature premium extensions for product filtering, Ajax cart functionality, zoom, product quick view, wish-list, comparisons, etc.

And if you create WooCommerce websites on a regular basis you can get access to 132 unique WooCommerce themes at ONE subscription. But for now, these are my top 10 handmade WooCommerce themes.

Continue reading WooCommerce: Top 9 Crafts & Handmade Themes

WooCommerce: Bulk Dynamic Pricing (Without Plugins)

In today’s competitive retail landscape, offering the right price at the right time is crucial for driving sales and maximizing profits. But what if your pricing strategy could adapt automatically, rewarding customers who buy in bulk?

Enter bulk dynamic pricing, a powerful tool that allows you to create tiered discounts based on quantity.

We’re here looking to assign different product prices based on the quantity added to Cart, for example from quantity 1-100 price is $5, from 101-1000 price is $4.90 and from 1001 the price becomes $4.75.

This blog post will be your one-stop guide to setting up bulk dynamic pricing for your WooCommerce store – enjoy!

Continue reading WooCommerce: Bulk Dynamic Pricing (Without Plugins)

WooCommerce: 132 Themes at ONE Subscription

If you want to create your ecommerce business from scratch or freshen up your WooCommerce theme, today’s topic might catch your attention.

I want to share with you the new ONE subscription service for designers and developers. ONE is a service from TemplateMonster, which provides access to lots of themes and tools for design and development for a fixed yearly payment.

ONE is a service that works on a paid subscription. You don’t have to worry about credits and download restrictions. This approach gives you the opportunity to experiment with different templates before making a final decision – and if you don’t find what you need, there is also a 14 days money back guarantee.

Thanks to the subscription, you can access not only themes and templates, but also pluginsgraphic elements and even PowerPoint templates. There are also lots of Elementor templates and many different themes for ecommerce like Magento, OpenCart and, of course, WooCommerce.

Continue reading WooCommerce: 132 Themes at ONE Subscription

WooCommerce: Edit “Continue Shopping” Link Redirect

“Continue Shopping” appears on the Cart page when an item is added to Cart and you have “Redirect to the cart page after successful addition” enabled via the WooCommerce settings.

By default, “Continue Shopping” button redirects to the previously visited page – sometimes this makes no sense and you might want to send them back to the main shop page instead (or a custom page).

Here’s a quick snippet to do just that. Enjoy!

Continue reading WooCommerce: Edit “Continue Shopping” Link Redirect

Shoptimizer Theme Visual Hook Guide

Here’s a visual hook guide for Shoptimizer Theme by CommerceGurus, a WooCommerce theme specifically developed with speed, performance, sales conversion and UX in mind.

This visual guide belongs to my “Visual Hook Guide Series“, that I’ve put together so that you can find WooCommerce hooks quickly and easily by seeing their actual locations. Also, you can copy & paste in seconds and speed up your customization time.

Let me know in the comments what you think about this resource! Enjoy!

Continue reading Shoptimizer Theme Visual Hook Guide

WooCommerce: Flat Rate Calculation Based on Weight (Without a Plugin!)

We already talked about weight based shipping and in this post we found out how to charge different flat rates based on shipping weight thresholds.

But now I want to show you how you can use the default “Flat Rate” to calculate shipping costs based on cart weight, thanks to a multiplier. For example, your shipping rate might be “$5 for each Kg” – as you know the default “Flat Rate” only allows you to define one rate e.g. $10.

So, what if you want to calculate shipping charges by weight? Well, here’s a simple workaround for you. Continue reading WooCommerce: Flat Rate Calculation Based on Weight (Without a Plugin!)

WooCommerce: 10 Easy Snippets to Increase Your Sales

I had the pleasure to speak at WordCamp Prague 2019. I spoke about “10 PHP Snippets to Increase WooCommerce Sales” and managed to show some simple coding to the audience. Trust me – increasing your WooCommerce sales can also be done with a free, short, easy PHP snippet.

So, given that I want to share all the snippets I talked about, this is a quick recap. Copy them, test them (a must!) and then use them. And let me know if your conversion rate and/or AOV (average order value) increased!

At the bottom of the page you also find my talk slides. Enjoy:)

Continue reading WooCommerce: 10 Easy Snippets to Increase Your Sales