Author Topic: showing some products from different categories in an menu item  (Read 275 times)

kiasati

  • Jr. Member
  • **
  • Posts: 102
    • JoomlaJoy
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

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 26998
  • Always on vacation
    • Jenkin Hill Internet
Re: showing some products from different categories in an menu item
« Reply #1 on: May 08, 2018, 19:02:06 pm »
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

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

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

Currently using VM 3.4.0.9935 on Joomla 3.8.12 PHP 7.0.31
Testing VM 3.4.0.9941 on Joomla 3.8.12

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 3404
  • Joomla & Virtuemart addon developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3.0.x.y
Re: showing some products from different categories in an menu item
« Reply #2 on: May 08, 2018, 22:29:17 pm »
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.