Author Topic: Custom product category view  (Read 346 times)

divined

  • Beginner
  • *
  • Posts: 33
  • A beginner
  • Skype Name: George
Custom product category view
« on: July 13, 2017, 11:18:54 am »
Hello everybody

I have this problem with my site that I'm building. Specifically, I would like to display only the product categories and not the products per se on my initial product category view. Can this be done through the CMS or do I need to do some coding?

Site URL: www.gpb.gr

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 26201
  • Always on vacation
    • Jenkin Hill Internet
Re: Custom product category view
« Reply #1 on: July 13, 2017, 12:35:41 pm »
Kelvyn

Jenkin Hill Internet,
Keswick, Lake District

Unsolicited PMs/emails will be ignored.

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

Currently using VM3.2.4 on Joomla 3.8 PHP 7.0.23

Testing VM3.2.5 on J!3.8

divined

  • Beginner
  • *
  • Posts: 33
  • A beginner
  • Skype Name: George
Re: Custom product category view
« Reply #2 on: July 13, 2017, 12:47:35 pm »
Sorry for not providing my Jooma and Virtuemart versions. Here are the data:

joomla: 3.7.2
virtuemarkt: 3.2.2
php: 7.0.19

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 26201
  • Always on vacation
    • Jenkin Hill Internet
Re: Custom product category view
« Reply #3 on: July 13, 2017, 13:54:35 pm »
OK, the configuration options in 3.2.2 are different form older versions.

For the order of configuration priority see  http://forum.virtuemart.net/index.php?topic=137598.0

There is an option "Show products of the selected category" in VM Configuation/Templates, on the settings tabs in the Joomla menu config for the store and on the Product Category Form for each individual category.  In addition display can be changed by the use of template overrides.   Plenty of options to choose from!
Kelvyn

Jenkin Hill Internet,
Keswick, Lake District

Unsolicited PMs/emails will be ignored.

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

Currently using VM3.2.4 on Joomla 3.8 PHP 7.0.23

Testing VM3.2.5 on J!3.8

divined

  • Beginner
  • *
  • Posts: 33
  • A beginner
  • Skype Name: George
Re: Custom product category view
« Reply #4 on: July 14, 2017, 07:43:31 am »
Thank you for the reply

I tried these options ('Show products for related categories') and they do work for the various categories pages. What about though the root product category page? I still get a list of all my products regardless of category.

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 26201
  • Always on vacation
    • Jenkin Hill Internet
Re: Custom product category view
« Reply #5 on: July 14, 2017, 12:20:23 pm »
ON my sites I usually I don't show any products on the homepage except for featured & latest. The image shows the settings used for the menu item.  This is using the default VM templates, no overrides.

Kelvyn

Jenkin Hill Internet,
Keswick, Lake District

Unsolicited PMs/emails will be ignored.

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

Currently using VM3.2.4 on Joomla 3.8 PHP 7.0.23

Testing VM3.2.5 on J!3.8

divined

  • Beginner
  • *
  • Posts: 33
  • A beginner
  • Skype Name: George
Re: Custom product category view
« Reply #6 on: July 15, 2017, 23:21:49 pm »
Thank you very much

Your reply and associated image were very helpful!