Skip to content
Wordpress/Woocommerce plugin to order Layered navs widget by count descending
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
screeenshots
.DS_Store
README.md
gulpfile.js
navOrder.js
package.json
ses_woo_layered_nav_order.php

README.md

S.E.S. Woocommerce Layered Nav order

Wordpress/Woocommerce plugin to order Layered navs widget by count descending

What it does

Suppose you create a Woocommerce Layered Nav on "genre" attribute, displayed as a list

screenshot

displayed in the frontend like this

screenshot

the plugin will re-order the items with highest count first

screenshot

Install

Download the zip, install as a uploaded plugin on wordpress, activate it. No config

Tech stuff

To review, don't have a look at it yet

# npm install -g mocha

npm install mocha --save
npm install chai --save
npm install jquery --save

mocha lib/<testfile.js>


# gulp
npm install --global gulp-cli
npm install --save-dev gulp
npm install jshint gulp-jshint --save-dev
You can’t perform that action at this time.