VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: Mister Paul on September 16, 2020, 18:32:20 PM

Title: Only Published products when ordering the category products to be displayed?
Post by: Mister Paul on September 16, 2020, 18:32:20 PM
Hi,

I use a menu link "VirtueMart Category Layout" to display all published products from a category (see screenchot : https://www.cjoint.com/data/JIrtLCCexy1_Capture-2020-09-16-à-18.11.14.jpg (https://www.cjoint.com/data/JIrtLCCexy1_Capture-2020-09-16-%C3%A0-18.11.14.jpg)).
It works well and I order that listing using Reorder ans Save order buttons.
Fine!

But some of my products have some kind of peremption and ± 10 products per week get unpublished. So now I get many unpublished products at the middle of published ones... And it becomes quite inconvenient to order the listing: I have to jump though unpublished products...

What about a « Status » dropbox : Published/Unpublished to filter the products
(in fact unpublished products should be skipped when displaying category product listing)

An easy hack?
;)

I have VirtueMart 3.4.2 for now (and need to update my version).
Title: Re: Only Published products when ordering the category products to be displayed?
Post by: Mister Paul on September 19, 2020, 20:37:21 PM
OK if I don't have any answer it should be because my question isn't well explained...

Second chance:
I'd just need to filter the published products when I am ordering products on backend for a "VirtueMart Category Layout".
How could it be possible?