Hierarchy Product Category Drop Down

Description

This plugin displays a drop-down select with WooCommerce product categories.
It is possible to select just one or two selects and click the search button.
It displays only the categories that have products.

Main Features:

Displays product categories as dependent drop-down selects.

Can be added to any page as a widget or with a shortcode.

Max depth of categories: 3 (one main category and 3 sub-categories) i.e.
– Main category
— First subcategory
— Second subcategory
—- Third subcategory

Use shortcode [hpcdd_show_selector] to display the dropdown selects on your website

This plugin is inspired by the abandoned Product Category Dropdowns.

Shortcode parameters

hplevels – set the number of dropdows, overriding the global plugin settings. For example, setting this to hplevels=”2″ will show 2 drop-downs

hptaxonomy – set the taxonomy to be used for the dropdown. Default is product_cat

taxonomy_id – set the id of the taxonomy and populate the drops-downs with it’s child levels. See demo for usage.

Translators

Available Languages

  • English (Default)
  • Bulgarian

LINKS

DEMO

For questions and Support: milen@blacktiehost.com

Installation

Manual from zip file

  1. Upload hpcdd.zip file to the /wp-content/plugins/ directory and unpack it
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

Using WordPress Installer (Option 1)

  1. Go to Plugins > Add new > Upload
  2. Select hpcdd.zip file and click Install
  3. Activate the plugin through the ‘Plugins’ menu in WordPress

Using WordPress Installer (Option 2)

  1. Go to Plugins > Add new
  2. Search for “Hierarchy Product Category Drop Down”
  3. Click Install

After plugin activation, use shortcode [hpcdd_show_selector] to display the dropdown selects on your website

Reviews

April 7, 2023 1 reply
Hi, Very nice and usefull plugin. I’m using the shorcode option for showing only one level (or dropdown) of the product category and works perfectly. But I can’t understand the parameter hplevels=»2″ or how to write it. In the page appears a second level that’s is not usefull and don’t need. What’s is wrong in my shortcode? that’s my shortcode. [hpcdd_show_selector hplevels=“1” taxonomy_id=22] thank you
July 10, 2022 3 replies
I need just exactly what you have here, but unfortunately there are a few things that don't work. I have a Woocommerce shop where you can buy printer equipment. So I have a main category and 2 sub categories. One with the series, one with the actual printer. Since I want to show only the printers in the category list on the product page I didn't add it to the main and first subcategory. When I click on the manufacturer it shows a 1, that's ok. But on the series subcategory there is always a 0 even though there are products. But the main problem is that the link doesn't work. When I chose all the categories it goes to the shop page and not to the chosen product. By the way I'd love to translate the plugin to German, but haven't done something like that before 😉 maybe we can get in touch?
Read all 2 reviews

Contributors & Developers

“Hierarchy Product Category Drop Down” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.5.0 – Released: Mar, 07 – 2023

  • NEW: Options to set parent taxonomy ID via shortcode parameter

1.4.3 – Released: Mar, 01 – 2023

  • bug fixes

1.4.2 – Released: Mar, 01 – 2023

  • minor fixes

1.4.1 – Released: Mar, 01 – 2023

  • minor fixes
  • NEW: CSS styling for submit button

1.4.0 – Released: Frb, 22 – 2023

  • NEW: Option to set form submit button always active

1.3.1 – Released: Oct, 26 – 2022

  • Minor fixes

1.3.0 – Released: Oct, 24 – 2022

  • NEW: Select dropdown is disabled until parent option is selected
  • NEW: Submit button is disabled until last option is selected

1.2.1 – Released: Oct, 4 – 2022

  • NEW setting to show or hide number of products after category name in drop-down

1.2.0 – Released: Jul, 10 – 2022

  • fixed compatibility with some themes (showing categories instead of products)

1.1.0 – Released: Jun, 26 – 2022

  • added parameters to shortcode
  • can set number of dropdown selects with shortcode parameter
  • can set the taxonomy with shortcode parameter
  • FIX: search not working on some WordPress themes

1.0.1 – Released: Jun, 24 – 2022

  • minor bug fixes

1.0.0 – Released: Jun, 21 – 2022

  • Initial release