Latest updates to NiftyGridZPro plugin

In the latest upgrade, there were some issues when using some of the advanced shortcode settings. They arose when using the shortcode options allow_interaction=1 and show_grid_navigation=1 and you were looking at multiple blog posts on a page.

The system got its knickers in a twist and the wrong product grid ended up responding to a visitor’s interaction on another.

All sorted now.

Just a reminder –

  • you can’t allow product grid interaction in a sidebar widget
  • you can only use one grid per post / page if you’re allowing interaction

The reason for these limitations is that the plugin uses the post / page id to recognise interaction is happening on the included product grid.

For widgets, they don’t have such an id so targeting the grid for interaction in a widget isn’t possible. You can still use a product grid in a widget, just not with interaction. Check out the sidebar on the left.

If you’re not sure what interaction is all about, check out the navigation and search form on this product grid:

<1 of 14>
<1 of 14>
Search for:
How many to get (max 120):

New sort options for NiftyGridZPro – even on collections!

I’ve spent today adding shortcode options that let you sort the product grid after its contents have been pulled from Zazzle. Yes, even for collections 👍

You can sort by:

  • In the same order as returned by Zazzle:
    grid_sort_method="pulledorder" (the default)
  • Date product created:
  • Product title:
  • Price:
  • By-line:

and this can be high-to-low or the other way round – it’s ignored if the method used is “pulledorder”:

  • grid_sort_direction="highlow"
  • grid_sort_direction="lowhigh"

I’ve added these options both to the FAQ and the shortcode builder helper page.

You might be wondering how this interacts with the sort options when pulling from Zazzle.

  1. Let’s say you pull using sort_type="popularity" and sort_direction="desc". This means you’ll get the most popular from Zazzle, with the most popular of what’s pulled appearing first in the grid and the least popular of what’s pulled going last.
  2. Let’s also say you use grid_sort_method="price" and grid_sort_direction="lowhigh".

Well, you’ve probably guessed that the most popular that were pulled for the grid are now arranged with the cheapest first and most expensive going last.

I’ll leave you with this question – answers in the comments, if you want to play!

What do you get with these shortcode options?

  1. sort_type="date_created" and sort_direction="desc"
  2. grid_sort_method="date" and grid_sort_direction="lowhigh"

Over to you… 🙂