VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product creation => Topic started by: marvays on July 08, 2020, 16:03:18 PM

Title: How to easily hide products from unpublished categories?
Post by: marvays on July 08, 2020, 16:03:18 PM
I simply need to set the products in the unpublished category not to be seen. Is it possible to modify it in the code?

I have a copy of the eshop and we are locating it for a new country. I just need to turn off categories and hide all products from google and users. Then we always edit products from one category, then publish them and the products will be displayed and sold. Because there are several thousand products, I do not want to publish them directly in detail one piece at a time.
Title: Re: How to easily hide products from unpublished categories?
Post by: Jumbo! on July 08, 2020, 18:43:55 PM
Disable "Show also products, which are not in at least one published category" option in VirtueMart Configuration under Shopfront tab.
Title: Re: How to easily hide products from unpublished categories?
Post by: marvays on July 08, 2020, 18:51:13 PM
Quote from: Jumbo! on July 08, 2020, 18:43:55 PM
Disable "Show also products, which are not in at least one published category" option in VirtueMart Configuration under Shopfront tab.

I have this, but not work for me :(
Title: Re: How to easily hide products from unpublished categories?
Post by: jenkinhill on July 09, 2020, 11:48:14 AM
I wonder if this is template dependent.

Tested using VirtueMart 3.8.4 10335 with default VM templates and turning off "Show also products, which are not in at least one published category" does remove products in an unpublished category from front end display.
Title: Re: How to easily hide products from unpublished categories?
Post by: pinochico on July 09, 2020, 11:50:18 AM
template, template, template :)
Martine, pls use right template, not from beginner developer :)
Title: Re: How to easily hide products from unpublished categories?
Post by: marvays on July 09, 2020, 12:09:18 PM
I am using template from olympianthemes.com
Maybe problem is here. I must check it.
Title: Re: How to easily hide products from unpublished categories?
Post by: Jörgen on July 09, 2020, 17:00:40 PM
Try first with Protostar to rule out template.  8)

Jörgen
Title: Re: How to easily hide products from unpublished categories?
Post by: pinochico on July 09, 2020, 17:07:41 PM
QuoteI am using template from olympianthemes.com

Dear visitors and customers, the template club has shutdown since January 2020.
We don't sell, update or support our Joomla! templates and extensions anymore.
Title: Re: How to easily hide products from unpublished categories?
Post by: jenkinhill on July 09, 2020, 18:13:21 PM
The Olympian templates are available & supported by Istraxx.  eg https://extensions.virtuemart.net/template/templates/hera-virtuemart-template-detail