VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: EvanGR on October 30, 2020, 13:28:16 PM

Title: Category page, filter products by a custom field?
Post by: EvanGR on October 30, 2020, 13:28:16 PM
Hello,

I want to override the VM Category page, to show products (in the category) with a specific custom field.

Can you give me hints on where is the code I am looking for?

Thanks
Title: Re: Category page, filter products by a custom field?
Post by: pinochico on October 30, 2020, 14:17:26 PM
Why are you not using Customfilters PRO?
Title: Re: Category page, filter products by a custom field?
Post by: EvanGR on October 30, 2020, 14:54:25 PM
We are.

But we want to do some very specific custom modification to the VM behavior as well.
Title: Re: Category page, filter products by a custom field?
Post by: pinochico on October 30, 2020, 15:46:26 PM
in category page is loading sublayout products.php
Inside sublayout products.php is loaded sublayout product.php

Restriction for customfield - I have a little information, but first try put restriction inside category page - templates/TEMPATE/html/com_virtuemart/category/default.php (sure as override in template).