News:

Looking for documentation? Take a look on our wiki

Main Menu

Category page, filter products by a custom field?

Started by EvanGR, October 30, 2020, 13:28:16 PM

Previous topic - Next topic

EvanGR

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

www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products

EvanGR

We are.

But we want to do some very specific custom modification to the VM behavior as well.

pinochico

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 for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products