WordPress Tutorials

Sort WooCommerce products in cart order by price

By default the WooCommerce cart is ordered by when products are ordered in sequence, this can be manipulated with the

WordPress Tutorials

Sort WooCommerce products from product category to be last in cart order

From a selected WooCommerce product category sort products to be at the end of a carts order. add_action( ‘woocommerce_cart_loaded_from_session’, ‘product_category_cart_items_sorted_end’

WordPress Tutorials

WooCommerce cart total count minus certain product category

I have a client that sells boxes and units of a product – for the units they need to be

WordPress Tutorials

Set WooCommerce cart product count total to be divisible by number

You can set WooCommerce cart total product count to be divisible by a certain number, if it is not divisible

WordPress Tutorials

Stop WooCommerce checkout fields auto-filling – leave blank

You can stop WooCommerce checkout fields from auto filling by using a Woo filter woocommerce_checkout_get_value, this could be useful in

WordPress Tutorials

Add a menu to WordPress page with PHP action hooks

Adding a menu to WordPress via PHP and action hooks requires three steps, registering the menu location, assigning a menu

WordPress Tutorials

Change WooCommerce SKU text to another label

You can change WooCommerce SKU text to another label using the gettext filter add_filter(‘gettext’, ‘translate_woocommerce’, 10, 3); /** * Change

WordPress Tutorials

Show only free shipping option on WooCommerce cart and checkout pages

By default WooCommerce will show all available shipping options on cart and checkout pages, if you have free shipping as

WordPress Tutorials

Filter WooCommerce orders by payment gateway

Here is how you can filter WooCommerce orders by payment gateway in the WordPress dashboard orders screen using a plugin

WordPress Tutorials

WooCommerce: Add a WordPress Customizer Setting

If you’ve taken the ConfigureWoo online course, you’ll know that WooCommerce adds its own “WordPress Customizer” section called “WooCommerce”, indeed.

WordPress Tutorials

WooCommerce: Update Order Field Value After a Successful Order

We’ve already seen how to update user meta after a successful order, but this time our goal is to “correct”

WordPress Tutorials

Add qty inputs next to add to cart button with and without Ajax reload on WooCommerce archives

Here is how you can add qty inputs next to add to cart with Ajax reload on WooCommerce archives. Without

WordPress Tutorials

Disable Lazy Loading in WordPress with a filter

Since WordPress 5.5, lazy loading for images was implemented, this improves the perception of page load as the image is

WordPress Tutorials

WooCommerce: Top 5 Marketing Strategies

So you’ve got your WooCommerce website up and running and all is going OK…. But OK isn’t good enough, is

WordPress Tutorials

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

WordPress Tutorials

WordPress: Create Forms Quickly with Forminator

Adding forms to your WordPress site will make it easy for site visitors to contact you or for you to