WooCommerce: Add Checkout Fee for a Payment Gateway (e.g. PayPal)

Here’s a simple PHP snippet to add a fee to the checkout for every payment or for a specific payment gateway. Please do remember that for certain payment gateways such as PayPal, adding checkout fees is currently against their Terms of Service so make sure to check this first. As usual, this needs to be copied and pasted in your child theme’s functions.php file. Enjoy! Continue reading WooCommerce: Add Checkout Fee for a Payment Gateway (e.g. PayPal)

WooCommerce: Set Default Billing State / Country @ Checkout

This is a simple PGP snippet that I successfully used on a bunch of websites in order to set the default Billing country or state. This is a great way to save the user some time during checkout (and therefore increase your conversion rate) in case you almost exclusively sell to customers located in a given country or state. Nothing else to say, just… enjoy! Continue reading WooCommerce: Set Default Billing State / Country @ Checkout

WooCommerce: edit or translate “Shipping and Handling” on the Cart & Checkout page

A client, clearly from a European English-speaking country (not many, uh?), wanted to change the cart page when it says “Shipping” or “Shipping and Handling” in the totals table. The same string appears on the checkout page. As it’s only 1 string, my favourite method is by implementing a very simple PHP function, that needs to be placed in your functions.php file. Continue reading WooCommerce: edit or translate “Shipping and Handling” on the Cart & Checkout page

WooCommerce: Add Shipping Notices on Checkout Page

A WooCommerce client wanted to show some text in the checkout page, and specifically “Please allow 5-10 business days for delivery after order processing.” so that customers are aware of how shipping works. This is a vital information you should disclose on every page of your ecommerce website, and of course on the checkout page too. Continue reading WooCommerce: Add Shipping Notices on Checkout Page

WooCommerce: Custom Related Products

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

6 Popular WooCommerce Payment Gateways

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

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

WooCommerce: Why & How to Disable Ajax Cart Fragments

If you’re here it’s because your WooCommerce website is slow and you’re wondering why the “/?wc-ajax=get_refreshed_fragments” URL generates delays and server loads (spikes).

Besides, there is too much online literature about WooCommerce Ajax Cart Fragments (including specific plugins and performance plugin options), and you want to learn quickly what they are before understanding if and how you should disable them.

Performance optimization tools like Pingdom and GTMetrix often put the blame on this little WooCommerce functionality. And disabling it carefully can give you a boost in speed, page load and ultimately sales conversion rate.

So here’s all you need to know.

Continue reading WooCommerce: Why & How to Disable Ajax Cart Fragments

10 Travel WordPress Themes to Turn Your Hobby Into a Business

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

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

7 Easy Ways to Increase Your WooCommerce 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 7 Easy Ways to Increase Your WooCommerce Sales