Skip to content

Category: Multivendor

Adding "Sold Out" tag on the product thumbnail

Many WooCommerce users need this minor feature in their site. Few theme has this feature by default. Today I will show you how to add “Sold Out” tag on the product thumbnail when that product is not available in stock.

Untitled


How to add “SOLD OUT” tag :

You can add this tag by using this action “woocommerce_before_shop_loop_item_title”. I will suggest you to use a child theme to implement this minor feature on your site. I have provided the code snippet below. Just copy those lines and paste them into your wp-content/themes/child-theme/funtion.php file.

add_action( 'woocommerce_before_shop_loop_item_title', function() {
global $product;

if ( !$product->is_in_stock()) ) {
echo ‘Sold Out‘;
}

Create a Multi-vendor Marketplace within 5 minutes – Part 1

9Tpbkddac If you are thinking to create a marketplace like amazon, eBay or Etsy, you will require tons of work and lot of money then please think something different now. You have a better solution.
You can create your own multi-vendor marketplace like Amazon, eBay orEtsy within 5 minutes. It’s hard to believe but yes it is true. Now you are thinking how it will possible to create a multi-vendor e-commerce site within a short time! No need to worry, you will get everything and you will say it is possible after reading this article.

What will require?

1. A Clear business plan.
2. WordPress site.
3. Plugins.
4. Theme