WooCommerce categories Demo

This use-case is a demonstration of showing important woocommerce categories for logged in Users.

Observe product categories at bottom of the page, that only “TV” category with subcategories “Samsung” and “Sony” are shown. Now login with krish user using below credentials and observe product categories at bottom of the page, that “TV” category with subcategories “Phillips”, “Samsung” and “Sony” and Mobile category with subcategories “iPhone” and “Samsung” are visible for krish user.¬† This is how to we can control the WooCommerce category for login users.

Click here for Category Rule Demo

Use the below demo authentication accounts.

User Name : krish
Password: bis123$
Role : Subscriber

Below screenshots shows the Logical and Category defined for Krish User.

Define Logical rule with User Profile as UnRegistered User.

 

Defining category rule to hide WooCommerce Mobile categories.

Click here for Category Rule Demo

 

This is a demonstration of complex usecase of showing “iPhone” latest model “iPhone5 ” and “iPhone6″ subcategories only in “WooCommerce Shop” page and only “iPhone4″ on other pages.

Login with krish user using below credentials and observe product categories at bottom of the page, having “Mobile” category with “iPhone4″, “Samsung” model but not latest models “iPhone5″ and “iPhone6″. Now click on “WooCommerce Shop” page observe that “Mobile” category contains “iPhone5″ and “iPhone6. This is how we can solve more and more complex usecases using RulesEngine.

Click here for Category Rule Demo

Use the below demo authentication accounts.

User Name : krish
Password: bis123$
Role : Subscriber

Below screenshots shows the depicting the above usecase.

Define Logical rule with “Page Title” not equal to “Shop” as shown below.NonShop_Rule

 

Defining category rule to hide iPhone5 and iPhone6 categories for Pages other than¬†“WooCommerce Shop” page.NonShop_CategoryRule