WooWeekly #461: Order Tax | Product Title Shortcode | Register Form Fields | Virtual Orders

Hello there,

Welcome back to WooWeekly, your weekly appointment with WooCommerce tutorials, tips and updates handpicked for you (and the other 18,244 subscribers) so that you can learn something new.

I’m hoping to fly to Rome next week if all goes well, for a few days of family time and rest. Badly needed. Will I bring the PC with me… or just reply to customer emails and tickets via phone? Mmmm I’m really leaning towards the latter, let’s see.

Besides, I released 2 new WooCommerce mini-plugins yesterday, which brings me to a total of 24 mini-plugins, plus the 70% off bundle. The road to 400 mini-plugins is quite long, but I’m enjoying this challenge a lot and – surprise, surprise – converting quite a lot of sales.

Anyhow, here are this week’s WooCommerce tips – enjoy.

Rodolfo Melogli


BUT FIRST… THANK YOU, STAGE SPONSOR!

GoDaddy PRO WordPress Ecommerce hosting with WooCommerce gives you the freedom to sell anything, anywhere online – from physical products to digital downloads, services and subscriptions. We’ve integrated WooCommerce into our Managed WordPress platform where you can choose from over 75 premium WooCommerce extensions included in your plan for as long as you host your ecommerce store with us. That’s nearly $6,000 in free premium extensions — at no extra charge — to build a powerful, customized ecommerce store.


1. WooCommerce Tips & Snippets

WooCommerce: Get Order Tax Percentage

By Rodolfo Melogli, Business Bloomer

You’d think WooCommerce had an easy way to get the order tax rate percentage, the same way as you can get almost everything inside the “order object” with a single line of PHP. Well, that’s not the case unfortunately. See snippet

WooCommerce: Product Title Shortcode

By Rodolfo Melogli, Business Bloomer

On my WooCommerce product pages I found myself typing the product title at least three times: in the product name input field, ok, but also again in the product long description and in a custom product tab inside a text link. So, I coded a shortcode! See snippet

How to Cross Sell and Upsell in WooCommerce

By Gina Lucia, IconicWP

Put simply, cross-selling persuades customers to buy additional related products on top of their original purchase while upselling encourages customers to buy anything that would make the original purchase more expensive. Now you know the difference between the two, you might well be thinking, how does cross selling work in WooCommerce? Read more

WooCommerce: Add First & Last Name to My Account Register Form

By Rodolfo Melogli, Business Bloomer

Here’s yet another useful PHP snippet – and a mini-plugin alternative with super simple settings – that adds the Billing First Name and Billing Last Name to the Registration Form on the WooCommerce My Account page. See snippet

WooCommerce: Hide Checkout Fields if Virtual Product @ Cart

By Rodolfo Melogli, Business Bloomer

Here’s a simple snippet, as well as a handy mini-plugin, that checks if there are only “virtual” products in the Cart and hides all the billing fields and order notes (except name and email). See snippet

GitHub Insights: Tracking WooCommerce Evolution Over Different Versions

By Convesio

In this post, we’ll take a closer look at the WooCommerce system by analyzing its GitHub page. Read more


2. ICYMI: WooCommerce Articles

WooCommerce: Add Hyperlink to Shipping Method Label @ Cart & Checkout

By Rodolfo Melogli, Business Bloomer

How can we add a clickable text link to each shipping method, given that we can’t use the WooCommerce settings? Well, as usual, a quick PHP snippet can help us with that. See snippet

WooCommerce: Hide “Private” Products From The Shop Page

By Rodolfo Melogli, Business Bloomer

The problem is that if admins or store managers are logged in, private WooCommerce products (as well as private WordPress posts, private WordPress pages, etc.) are actually visible on the Shop, Category and product loop pages. See snippet

WooCommerce: Apply Discount to Cheapest Cart Item

By Rodolfo Melogli, Business Bloomer

If you run WooCommerce store promotions, this little snippet will help you with that. For example, how to run a “Buy 2 products, get one half off” or a “Buy 3 products, get the cheapest one for free” campaign? See snippet

WooCommerce: Set Customer Default Tax Location

By Rodolfo Melogli, Business Bloomer

So, today, we will be setting the default tax location when “Customer billing address” has been chosen AND the customer is either logged out (so, no billing address is set) or logged in but have no saved address (for example, a brand new customer). See snippet

WooCommerce: “New Order” Email Recipient Based on Billing Country

By Rodolfo Melogli, Business Bloomer

The amazing thing about WooCommerce is that you can override any setting with a few lines of code. In today’s example we will try to code a solution where the “New Order” WooCommerce email will be delivered to a custom recipient based on the billing country. Read more

WooCommerce: Count Variation Sales (Shortcode)

By Rodolfo Melogli, Business Bloomer

This will require we either query the orders that contain such variation ID, and then calculate the sum – or that we install a snippet on day 0 so that we can count variation sales from that moment onwards, without having to query and calculate anything. We will study the latter, and then display the result via a shortcode, so that you can use it anywhere, even inside the variation description. Read more


THANK YOU, BALCONY SPONSORS!

Our powerful ecommerce plugins have been created from the ground up to help store owners boost sales and improve customer experience. IconicWP plugins are designed so you can customize your online store without any coding knowledge. Plus, we’ve created up-to-date guides to get you started. Our plugins work well with many well-known WordPress templates/themes, page builders, and plugins. Plus, we’re always adding more!

Optimize the SEO of your WordPress site with SEOPress: titles and metas, xml & html sitemaps, social sharing, Analytics, Local SEO, WooCommerce SEO, automatic and manual schemas, Google News, Video sitemap, Search Console integration and so much more. Fully integrated with all page builders thanks to our Universal SEO metabox and now with AI for maximum productivity. Super easy to use, no coding required, white label, no ads. Already 300,000 active installations. Start ranking now!

Orderable, a specialized WooCommerce plugin for restaurants, revolutionizes the online ordering process by allowing customers to conveniently place pickup or delivery orders on your website, completely fee-free. This all-in-one solution handles everything, including WooCommerce installation, simplifying menu management and order processing. With its user-friendly front-end and efficient back-end, Orderable ensures a seamless experience for both customers and restaurant operators.

Nexcess Managed WooCommerce hosting is fast, easy-to-use, and includes built-in performance tools like extra PHP workers and a global CDN, which means their hosting is fully optimized for selling online. Nexcess offers free migrations, a 30 day money-back guarantee, and helpful support from WooCommerce experts 24/7/365. They are even officially recommended by WooCommerce! If you’re a serious WooCommerce store owner who needs to sell without limits, get started today by visiting Nexcess.


3. Enjoyed this issue?

Well, congratulations for reading this far – you’re one of a kind! There are many ways you can support WooWeekly and help us spread the word. Thank you in advance!

Share ithttps://wcwkly.com/newsletter-archive/

Invite friendshttps://wcwkly.com

Leave a reviewhttps://www.businessbloomer.com/shop/newsletters/wooweekly-free/

Become a sponsor for as little as $97https://wcwkly.com/sponsors/


Leave a Comment

Proudly supported by

Join them?