Author Topic: Category page, filter products by a custom field?  (Read 188 times)

EvanGR

  • Jr. Member
  • **
  • Posts: 374
Category page, filter products by a custom field?
« 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

pinochico

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 812
    • MiniJoomla
  • Skype Name: support-easysoftware
  • VirtueMart Version: 3
Re: Category page, filter products by a custom field?
« Reply #1 on: October 30, 2020, 14:17:26 pm »
Why are you not using Customfilters PRO?
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds from products, orders and database table
Virtuemart Email Manager - customs email templates

EvanGR

  • Jr. Member
  • **
  • Posts: 374
Re: Category page, filter products by a custom field?
« Reply #2 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.

pinochico

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 812
    • MiniJoomla
  • Skype Name: support-easysoftware
  • VirtueMart Version: 3
Re: Category page, filter products by a custom field?
« Reply #3 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).
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds from products, orders and database table
Virtuemart Email Manager - customs email templates