News:

Support the VirtueMart project and become a member

Main Menu

showing some products from different categories in an menu item

Started by kiasati, May 08, 2018, 16:47:55 PM

Previous topic - Next topic

kiasati

Hi.

as i described on the title, i want to show some products from different categoris in a menu item.

if there where a field for each product to input tags, this would be possible like joomla articles.

because there isn't any field to assign tags to products, i think using custom fields is the solution.
but how can i show products that have a certain custom field in a menu item?

jenkinhill

I'd make a new category and add your special items to that category as well the normal one. Then the menu link is set to your new category.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Studio 42

YOu can use https://shop.st42.fr/en/products/shortcodes.htm to add tags
Documentation : https://shop.st42.fr/en/shorcodes-english-doc#searchable
Sample product http://pro.st42.fr/fr/android/acer-liquid-z6.html or most all from the demo shop.
Note that the only way to add menu link, is to use Menu URL(Virtuemart and Joomla don't permit to add link to customfields plugins)
If you need to use more advanced search, you have some component as
- custom filters  https://breakdesigns.net/extensions/joomla/custom-filters
- https://webkul.com/blog/joomla-virtuemart-product-custom-filter/
- https://cmsmart.net/virtuemart-extensions/custom-filter-for-virtuemart ....
But i think that all this solution are slower and need more work
My tags fillter only check if tag eixst, not the strings and dont need many work.
So choose the right solution, depending your needs.