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:
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: grid_sort_method="date"
Product title: grid_sort_method="title"
and this can be high-to-low or the other way round – it’s ignored if the method used is “pulledorder”:
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.
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.
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?
sort_type="date_created" and sort_direction="desc"
grid_sort_method="date" and grid_sort_direction="lowhigh"