I just created a plugin that filters out any products in a particular
category from the results (my client wanted only show certain products
to logged-in users.)
Frankly, it can't be done with the plugin as it currently exists. I
had to comment out the call to wpsc_products_by_category (at the end
of wpsc_generate_product_query (wpsc_core/wpsc_functions.php)) because
it poops all over the query sql directly (yuck!)
Only then could I add the tax_query array to the wp_query with no
apparent negative impact on the query results.
I am happy to make my plugin code available if it would help. Creating
complicated tax_query is relatively easy.
- Tom Ransom
On Nov 1, 9:22 pm, Andy Ide <
a...@primoweb.com.au> wrote:
> Hi guys,
>
> Have any of you guys coded a multiple category search?
>
> Ideally I would want a visitor to click a few categories and then
> products are shown in all those categories.
>
> I have asked around and a few have said they havent done it - but I want
> to check with you guys first, before I commit to coding it.
>
> Thanks!
>
> --
>
> *Andy Ide*
> *Need a break?* Check out my successful website on 3D Printing:
>
3DFuture.com.au <
http://www.3dfuture.com.au>