jigoshop/jigoshop — Issue #498: Category short tag accept random='true' flag
Author: mycetophorae
Created: 2012-01-07 02:58:26+00:00
State: open

For embedding 'Products related to this service' boxes, I've found the category short tag to be quite useful. However, it would be fantastic if the short code accepted a random flag so I can bring back just 4 products but they wont be the same ones every time.

Something like;

[jigoshop_category slug="andean-and-amazon-herbs" per_page="4" columns="4" random="true"]

Or even;

[jigoshop_category slug="andean-and-amazon-herbs" per_page="4" columns="4" orderby="random"] <-- Note with this one you could have multiple order by flags ;)

Peace.