VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: iWim on October 08, 2013, 11:25:28 AM

Title: Products in unpublished categories are displayed in results
Post by: iWim on October 08, 2013, 11:25:28 AM
Hello,

Products that are located in unpublished categories are displayed in the search results when we use VM search module.

The reason why WE have products in unpublished categories is because we use Product Builder so customers can create their own product.
Some of these selections (=products) in PB cannot be bought separately and should not be displayed in the regular shop.

Now I'm not a coder, but maybe you can make it so products from unpublished categories do not show in the search results.
Somewhere in the line of display products from categories where categories != unpublished.

If a product is in a published category it should display the product in the search results
If a product is in a published AND an unpublished category it should display the product
If a product is in an unpublished category it should not display the product

Thank you.
Wim
Title: Re: Products in unpublished categories are displayed in results
Post by: Milbo on October 08, 2013, 13:53:31 PM
http://forum.virtuemart.net/index.php?topic=114822.msg387417#msg387417