Author Topic: How to easily hide products from unpublished categories?  (Read 898 times)

marvays

  • Jr. Member
  • **
  • Posts: 344
    • richta.cz
  • Skype Name: marvays
How to easily hide products from unpublished categories?
« 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.

Jumbo!

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 720
  • Full-stack Web Developer
    • www.virtueplanet.com
  • VirtueMart Version: Always latest
Re: How to easily hide products from unpublished categories?
« Reply #1 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.

marvays

  • Jr. Member
  • **
  • Posts: 344
    • richta.cz
  • Skype Name: marvays
Re: How to easily hide products from unpublished categories?
« Reply #2 on: July 08, 2020, 18:51:13 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 :(

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27944
  • Always on vacation
    • Jenkin Hill Internet
Re: How to easily hide products from unpublished categories?
« Reply #3 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.
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VirtueMart 3.8.7 10374 on Joomla 3.9.23 PHP 7.4.12

pinochico

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 809
    • MiniJoomla
  • Skype Name: support-easysoftware
  • VirtueMart Version: 3
Re: How to easily hide products from unpublished categories?
« Reply #4 on: July 09, 2020, 11:50:18 am »
template, template, template :)
Martine, pls use right template, not from beginner developer :)
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds from products, orders and database table
Virtuemart Email Manager - customs email templates

marvays

  • Jr. Member
  • **
  • Posts: 344
    • richta.cz
  • Skype Name: marvays
Re: How to easily hide products from unpublished categories?
« Reply #5 on: July 09, 2020, 12:09:18 pm »
I am using template from olympianthemes.com
Maybe problem is here. I must check it.

Jörgen

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3135
    • Kreativ Fotografi
  • VirtueMart Version: 3.4.x
Re: How to easily hide products from unpublished categories?
« Reply #6 on: July 09, 2020, 17:00:40 pm »
Try first with Protostar to rule out template.  8)

Jörgen
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

pinochico

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 809
    • MiniJoomla
  • Skype Name: support-easysoftware
  • VirtueMart Version: 3
Re: How to easily hide products from unpublished categories?
« Reply #7 on: July 09, 2020, 17:07:41 pm »
Quote
I 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.
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds from products, orders and database table
Virtuemart Email Manager - customs email templates

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27944
  • Always on vacation
    • Jenkin Hill Internet
Re: How to easily hide products from unpublished categories?
« Reply #8 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
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VirtueMart 3.8.7 10374 on Joomla 3.9.23 PHP 7.4.12