Move Text Below Product Images

For SEO for e-commerce sites, category pages are more important than product pages. One important SEO ranking factor is the amount of relevant text describing the category. The problem is that if you write text it will appear above the product images, and if you write more than a couple of lines of text it will push the product images way down the page.

What you want is to have the text appear below the grid of product images, and this is how to accomplish it.

Mr WordPress has a YouTube video in which he describes adding a line of php to accomplish that.

I am using a child theme on one of my e-commerce sites, and I have a functions.php file within that child theme. So I added the php there. If you are using a parent theme then you can put your code in a snippets plugin.

Here’s the code:

remove_action( 'woocommerce_archive_description', 'woocommerce_taxonomy_archive_description', 10 ); 
add_action( 'woocommerce_after_shop_loop', 'woocommerce_taxonomy_archive_description', 100 );

An Alternative

If you are not comfortable doing this then I found a plugin in the WordPress repository that may do the job. It’s named Move Category description under products for WooCommerce. You should be able to find it from that description. It’s the one by Marco Barbadoro.

The thing I don’t like about it is that the shortcode you add at the beginning and end of the text you want to move, has the word ‘mcdusaltasotto’ baked in.

I just downloaded the plugin and I see that it consists of two files and a readme file. In the file named salta-sotto.php, the word mcdusaltasotto is on line 33 and I assume you can change this to whatever word you like. Most simple text editors will open the file. If you are on a Mac then the free COTEditor Plain-Text Editor for macOS is about as simple as it gets.

Note: The fact that the plugin is in the WordPress repository is a recommendation that it is safe to use, but I haven’t used it – so exercise the usual caution if you decide to use it.

WooCommerce: Setting Different Time Limits To Cancel Orders

In WooCommerce> Settings > Products > Inventory page, you can choose how long the system will hold stock for unpaid orders. When the limit you set is reached, the pending order will be cancelled. Or you can leave the field blank to disable it. That is generally not a good idea, because you might find customers put products in the basket and leave – and soon you will have no available stock to sell.

But what happens if you have a variety of methods of payment, for example credit card or cheque or ban transfer? You can’t set a limit of, say, 60 minutes, because that won’t allow enough time for a bank transfer or for a cheque to arrive.

The WooCommerce Cancel Abandoned Order plugin allows you to set specific time limits to hold stock for different kinds of payment.