Author Topic: Depublishing categories where there are no products  (Read 1255 times)

joomlaforever

  • Beginner
  • *
  • Posts: 42
Depublishing categories where there are no products
« on: December 28, 2011, 15:34:44 pm »
hi
will be interresting for next VM developpement to put an option "depublish AUTOMATICALLY categories where there no products"?
in waiting, which kind of code could I put and where?
if numberproductincat > echo cat......
thx

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10377
  • VirtueMart Version: 3+
Re: Depublishing categories where there are no products
« Reply #1 on: December 28, 2011, 16:26:33 pm »
why create the category if you dont wanna show it?

what do you mean?
J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

joomlaforever

  • Beginner
  • *
  • Posts: 42
Re: Depublishing categories where there are no products
« Reply #2 on: December 28, 2011, 16:36:49 pm »
yes, why lol
in fact, imagine you have a cat and the stosk of products inside are 0 --> i want this cat depublished automatically
or for any other reasons ... like: i work on a shop which contains 3000 products and 350 cat, i fill my shp by csv and sql, it will nice if cat with no products will be depublished automatically

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10377
  • VirtueMart Version: 3+
Re: Depublishing categories where there are no products
« Reply #3 on: December 28, 2011, 16:55:57 pm »
ok, i see what u mean now.
J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)