, , , , ,

Search WooCommerce Products In Product Table

In WooCommerce there are some most having feature to increase your conversion rate. All the thing you’ve to do is making the buying experience easy for your customer. When they feel comfort to buy and it becomes easier to find their desired products then they’ll visit your site to purchase.

To make the purchasing experience great a WooCommerce store should have a Search option. There are some plugins to add the search feature in WooCommerce store. In this guide I’ll show how to add and use the search feature in woocommerce.

Here in this guide I’ve used a plugin that is enabled to add the search feature. Also it shows the WooCommerce products in a table view.

Lets see how to enable Search feature with Woo Product Table Pro plugin and show the products in a product table. There’re two types of search in this plugin. One is Instant Search and the other is Advanced Search. Both of the search procedure will be shown here.

Woo Product Table Pro plugin follows the following major step to show the products in a table view.

  • First of all install the plugin on WordPress and active it to use it.
  • Generate shortcode and paste it to desired page/post
  • Publish and see how does it looks.

Instant Search

Instant search in product table is used to find the products that are already loaded in the table. Suppose in the product table there have loaded 50 products. Then from those loaded products you can search any products by Product Title/Category/Tag. If the searched item belongs to the previously loaded products in the table then the searched item will show in the table, if not, the table will be blank.

Step 1: Enable Instant Search Filter

Navigate to Dashboard->Product Table->Configure and find Instant Search Filter option. Then select yes from the text-box.

enable instant search

Image of enabling instant search


Step 2: Configure the shortcode generator

Now configure the shorcode generator to define how and which products will be shown in your table.

To configure shortcode navigate to Dashboard->Product Table->Product Table. There will be five different tabs. They are listed below.

  • Column (use to select what will be shown in table and set the table header)
  • Basics (use to define which category/tag to include/exclude, set table template etc)
  • Conditions (set sorting order, min/max price, stock/all product, post limit)
  • Mobile Issues (customize the table for mobile though it is responsive)
  • Search Box And Filter (customize advanced search box and filter)
Product tables tab

Image of Product tables tab


 

Related article:

How to Make a WooCommerce Product Table Using Woo Product Table Pro
Custom Fields In WooComerce
How to use Custom Taxonomy in WooCommerce?

 

Step 3: Use the customized shortcode in a post/page

After all customization generate the shortcode. Copy the shotcode from text-box and paste it to a new page/post or in an existing one. Publish the page and head over to View Page to see the results.

instant search in table

Instant search in table


Remember here, if the typed keyword related product doesn’t have in the table then the table will be blank after you search it.

Advance Search

Enabling this feature any items from the store can be find out and show the related product in a product table by Product Title.

Step 1: Configure the shortcode generator

Follow step 2 in Instant Search.

Step 2: Enable Advanced Search

Dashboard->Product Table->Product Table->Advanced Search And Filter and select Show Search Box (Default) from Advanced Search Box.

show advance search

Show advance search


Step 3: Use the customized shortcode in a post/page

Then generate shortcode, copy that and paste in a new page/post or in a existing one. Publish the page/post and go to View Page.

advance search in woo product table pro

advance search in woo product table pro


Here in the search Keyword text-box type product title and click on search. The keyword related product will be shown in a product table. To search the product in a specific category or tag just tick the related checkbox.

Taxonomy Search

Though in this plugin there are Instant Search and Advanced Search given as default  it also works with taxonomy search. So if you have a taxonomy created by taxonomy creator plugin you can search your product in specific taxonomy.

To know more about Taxonomy creating and customizing please follow, How to use Custom Taxonomy in WooCommerce?

In that article there was a custom taxonomy named color. Now following that article create a new taxonomy named size and edit your product size from product page.  Navigate to Dashboard->Products->All Products and edit the product you want.

Step 1: Customize shortcode for custom Taxonomy

Navigate to  Dashboard->Product Table->Product Table->Advanced Search And Filter and add product_cat,product_tag,size,color in Taxonomy Keywords for Advance Search Box. Also select Show Search Box (Default) from Advanced Search Box.

Note: Use small letter in text-field.

taxonomy add in shortcode generator

Taxonomy add in shortcode generator


Make other necessary changes from other tabs of shortcode generator.  Generate shortcode and copy that.

Step 2: Show and use Taxonomy search

Paste the copied shortcode in a new page/post or in an existing one. Head over to View Page and see the changes made.

custom taxonomy search

Custom taxonomy search


There any product can be searched by product category, tag, color and size. Just tick the related checkbox and click the search icon.

Filter Product

Filer in Woo Product Table Pro is used to filter the products that have been loaded in a table. Suppose a table has been loaded in page or post you want to show the products that belongs to specific category/tag/color/size or by custom taxonomy. Then you can use this filter.

Step 1: Customize shortcode for custom Filter

Navigate to  Dashboard->Product Table->Product Table->Advanced Search And Filter and select Filter Show(Default) from Mini Filter box. Add product_cat,product_tag,size,color in Taxonomy Keywords for Filter box(as I’ve created size and color for custom Taxonomy)

Note: Use small letter in text-field.

mini filter in shortcode

Mini filter in shortcode


Make other necessary changes from other tabs of shortcode generator.  Generate shortcode and copy that.

Step 2: Show and use Taxonomy Filter

Paste the copied shortcode in a new page/post or in an existing one. Head over to View Page and see the changes made.

filter products in product table

Filter products in product table


To know more about the plugin follow Woo Product Table Pro.

, , ,

WooCommerce Custom Taxonomy – Adding And Customizing

WooCommerce Custom Taxonomy is the feature to show extra product data based on a class. It may be your product color, size or may be style.

 

What is WooCommerce Custom Taxonomy/WooCommerce Custom Field?

Most WordPress beginner face conflict between Custom Taxonomy and Custom Field. So let’s clear the conflict in a brief.

First of all, the both items are used to show extra product data. But there are some types of data we use for each product individually like product title, price, e-mail, maps. In that case use Custom Field.

On the other hand, sometimes we need to classify a group of product like color, size, category etc. Use Custom Taxonomy to classify a group of product.

So you can use WooCommerce Custom Taxonomy and WooCommerce Custom Field to show extra product information. Use Custom Taxonomy to show the info of a group of product and Custom Field to show individual info of a single product.

However, this article is about using Custom Taxonomy. If you want to know more about Custom Field see How to Use Custom Fields?

 

How to add WooCommerce Custom Taxonomy?

Adding a WooCommerce Custom Taxonomy requires a plugin. There are some plugin to perform that. Among them I suggest to use Custom Post Types and Custom Fields creator – WCK as it is user friendly.

Now I’ll show step by step how to add and show Custom Taxonomy in WooCommerce.

Step 1: Installation the required plugin

First navigate to Dashboard->Plugin->Add New and in the Search Plugin text-box type WCK. There will appear some plugin. Among them install and active Custom Post Types and Custom Fields creator – WCK.

 

install custom field creator

Installation of custom field creator

 

Step 2: Create Custom Taxonomy

Follow the steps below to create custom Taxonomy

  • Navigate to Dashboard->WCK->Taxonomy Creator
  • From here create a Taxonomy Name (The name of the taxonomy. Name must not contain capital letters or spaces.)
  • Input the Singular Label
  • Input the Plural Label
  • Select Attach to option. Also Select product if you want to add the taxonomy for product.
  • Select Hierarchical true

And finally add the entry.

 

create taxonomy

Create custom taxonomy

 

I want to add custom Taxonomy to my product to show the products color information. So in the picture given above I’ve added a Taxonomy named color and attached it to product.

Step 3: Add product

Now head over to Dashboard->Product->Add New (or edit an existing one)

Input the Product Name in Add New Product text-box.

 

add product name

Add product name

 

Step 4: Add Product image

Head over to sidebar and click on Set product image from product image section.

 

set product image

Set product image

 

Click on Upload Files->Select Files and select the image file for your product.

After selecting the image file click on Set product image button as given in screenshot.

 

upload product image

Uploading product image

 

Step 5: Input the Taxonomy for product

Here the created value taxonomy was Color (in step 2). So at the sidebar there will be a section called Color.

Now we’ll input the value of color for this product. To input the color name click on +Add New Color and input the value in the text-box. Finally click on the Add New Color button.

 

input color name

Image input color name

 

Now click on Publish button from top right sidebar.
Click on View Page to see the changes done.

There is a plugin named Woo Product Table Pro by which you can show the Custom Taxonomy in a Product Table in a dynamic way. Using the plugin the product table may look like

 

 Color variation in product table

Color variation in product table

 

In the table you can see a column red marked Color showing the color of different product.

So isn’t it easy to make WooCommerce Custom Taxonomy and show the Custom Taxonomy in product table. Whatever I know making some easy tasks beginner falls in problem. If you face any problem please go through the comment section.

, , , , ,

WooCommerce Filter for Product Table: Adding and Customizing

This is a complete guide about adding and customizing WooCommerce Filter for Product Table.

 

What is filter in WooCommerce?

Actually filter in WooCommerce is the feature that enable a dropdown to filter your products. The procedure are performed with Ajax that needs no page reload.

So filtering helps to find the desired products more specifically that saves the valuable time of your customer. As a result sells increases with conversion rate.

Why should I use?

Few days back I just need to buy a pair of shoes. So I had look into a Ecommerce site who are famous for exporting worldwide brand shoes, slippers and some other accessories. They have thousands of products in their store which assigned different categories.

I wanted to purchase a pair of casual shoe of size 9 in Black. But unfortunately there was no functionality for filtering product for size. For this I’ve to switch to another site as I was then in a little hurry.

Now let’s see how to add Filter in WooCommerce Product Table.

In this guide I’ve used Woo Product Table pro (the bestselling Product table of CoeCanyon) to use Filter in Product Table. Good news is that you can add filter to product table in three ways. There are:

  • Default filter in Woo Product Table
  • Add Filter by Custom Taxonomy
  • Filter by Custom Fields

 

Default Filter in Woo Product Table

 

Now we’ll add WooCommerce Filter for Product Table which is given default. First make a product table. To do navigate to Dashboard->Product Table->Product Table.

Now customize your table by shorcode generator and generate shortcode. Copy the shortcode and paste in a new page.

If you don’t know about using Woo Product Table, please follow  How to Make a WooCommerce Product Table Using Woo Product Table Pro

Let’s have a look how is the product table before using Filter.

 

Before filter

Before filter

 

Now we’ll add a filter to the table.

To add filter navigate to Dashboard->Product Table->Product Table and customize shortcode. Go to Search Box And Filter Tab and in Mini Filter box choose Filter Show(Default).

 

active filter

Active filter in shortcode

 

Now generate shortcode and paste it to a page or post where you want to show the filter.

 

Default filter in shortcode

Default filter in shortcode

 

Here I’ve taken a new page named Filter and pasted the previously copied shortcode in text area. Now publish the page and click on view page.

 

After selecting filter

After selecting filter

 

On the top of the table there is a WooCommerce Filter for Product Table by which you can filter your products in Category and Tag.

 

Add Filter by Custom Taxonomy

There is a good news that you can add WooCommerce Filter for Product Table  by custom taxonomy. Following the five steps given below you can do that very easily.

Step 1: Installation plugin

To add filter by custom taxonomy we need to install an additional plugin to create custom taxonomy. There are some plugins in wordpress to do that. I’ve used  Custom Post Types and Custom Fields creator – WCK.

Navigate to Dashboard->Plugins->Add New search for  Custom Post Types and Custom Fields creator – WCK.

 

wck plugin installation

Custom field plugin

 

Install and activate the plugin.

 

Step 2: Create Custom Taxonomy

Go to Dashboard->WCK->Taxonomy Creator

Select the name of the taxonomy (must not contain capital letters or spaces), Singular Label and plural Label. Then choose Attach to Page/Post/Product.

Here I’ve chosen product as I’ll show it for product. Select Hierarchical True and click on Add Entry.

 

create taxonomy for filter

Create custom taxonomy

 

To see more on using Custom Taxonomy please see Custom Taxonomy in WooCommerce

 

Step 3: Add Taxonomy to Products

Now Navigate to Dashboard->Products->All Products and edit the products you want to do.

At the right sidebar you’ll get the taxonomy what you have created before.

add taxonomy to product

Add taxonomy to product

 

Click on Add New(Taxonomy Name) and input the value. Then click on on Add New (Taxonomy Name) button.

 

Step 4: Customize in Shortcode Generator

Now navigate to Dashboard->Product Table->Product Table->Search Box And Filter.

In Taxonomy Keywords for Filter (Separate with comma[,]) type your taxonomy name. In the box there is color and size for taxonomy that we created in taxonomy creator and product_cat and product_tag for default taxonomy in Product Table Plugin.

Remember here, each taxonomy must be separated with comma.

 

add category tag in filter for product table

Customize in Shortcode Generator for Custom Taxonomy

 

In the given screenshot color and size are for custom taxonomy. The rest of two are for WordPress default Taxonomy Category and Tag.

Step 5: Use the Shortcode

Generate shortcode and paste to a page/post and publish it. Go go View Page to look the change.

 

add all filter in product table

Custom taxonomy in filter

So in table shown above you can see a WooCommerce Filter for Product Table.

 

Custom Taxonomy in Back End

You can also skip step 4 if you want to use customized shortcode in the page directly.

To do that go to your desired page/post and type the code below

 

filter='color,size,product_cat,product_tag'

Change color and size beyond your custom taxonomy.

 

Filter from Custom Field

There is a great news that in WooCommerce Product Table plugin you can use Custom Fields. You can use Advanced Custom Fields with this WooCommerce Filter for Product Table to show extra product data.

With the comparability of Custom Field it can be used to Filter products. Isn’t that awesome.

When there are too many products in product table to find the exact desired one, customer can find by Filtering products from table.

You can make a WooCommerce Filter for Product Table in easy three steps.

 

Step 1: Install and Configure Advanced Custom Fields

Install and activate Advanced Custom Fields plugin from WordPress Plugins root directory.

acf-for-Product-table

 

There are some customization needed to use Advance Custom Field.

To know about creating and customizing Custom Field please see How to Use Custom Field in WooCommerce Product Table Pro.

 

Step 2: Customize the Shortcode

Now in the desired page add cf_brand, just following to product_title in the column_keyword’s inverted comma(“”)

 

input column header

 

Note: 1. You can change the order of position of cf_brand  upon your demand.

2. Before I created a custom field named brand. So here I have used brand. Try your own.

Now type Brand, after Product Title in column-title’s inverted comma (“”) section as I’ve shown below.

 

input column title

 

Step 3: View the Table

Then update the page and from the top of the page click on view page.

Then there will be a additional column say Brand. And the Product table may look like after adding the custom field:

 

Custom Field in product table

Custom Field in product table

 

So here an extra column has appeared than before named Brand. I hope you’ve got it customizing WooCommerce Filter for Product Table.