VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: joomlaforever on December 28, 2011, 15:34:44 PM

Title: Depublishing categories where there are no products
Post by: joomlaforever 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
Title: Re: Depublishing categories where there are no products
Post by: PRO on December 28, 2011, 16:26:33 PM
why create the category if you dont wanna show it?

what do you mean?
Title: Re: Depublishing categories where there are no products
Post by: joomlaforever 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
Title: Re: Depublishing categories where there are no products
Post by: PRO on December 28, 2011, 16:55:57 PM
ok, i see what u mean now.