- This topic has 4 replies, 4 voices, and was last updated 11 years ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore General Questions › Hide/Show sold out items using Next Gen Gallery
Tagged: filter, short code, sold out, sort
On a WordPress page I am using:
[nggallery id=2 template=wp-eStore]
to show all items from a next gen gallery. Many have been sold out, but I want to move them to a different page. How can I filter for sold out? First to not show them, then to show only sold out items.
Is there a simple way to sort/filter by color? I realize I have to key the color(s) in somewhere, but where is the best spot? And what short code would I use?
There is no option to filter products based on “Sold Out”. When an item is sold out it won’t let any visitor purchase that item. You can also see which products are sold out from The “Manage Products” menu and increase your stock if you want.
If an item is sold out, I’d like to hide it from view. There is some testing for that going on now. When the item is sold out, a SOLD OUT notice is shown. What is it testing? That test could be added to the beginning of the loop and the product not shown on the page at all.
Even the ability to make an product inactive would work. It would be a more manual task but if there is a chance of getting more in stock later, the item could be reactivated without having to renter all the data.
It is checking for the “Available Quantity” field’s value of the product in question. If that available quantity reaches 0 it shows the sold out notice and does not let anyone purchase it.
Yes, you can custom code it to customize it some more (for example: not even show the item if it is sold out). This won’t be a simple change though. You can contact us for custom coding work.
Don’t know how NextGen plays into this, but if you are showing products by “Category” you can drop the category from the product and thus remove it from the display.