Author Topic: Cant hide subcategories in product view after upgrade  (Read 2721 times)

tassoss

  • Beginner
  • *
  • Posts: 14
Cant hide subcategories in product view after upgrade
« on: April 05, 2017, 13:52:13 pm »
Hi everyone,

I have updated virtuemart to 3.2.1 (running on joomla 3.6.5 and php 5.6.22) but since then when I go to a parent category and click to view a product, below the descripition all the children categories are displayed. How can I hide them as before.

When I go to Configuration->Templates and choose "Show Children Category" to Νο, nothing happens.

If I open a product through the children category everything it's fine. This is only happening in the parent category.

Thank you in advance for you help.

Best regards

Tasos

StefanSTS

  • Global Moderator
  • Jr. Member
  • *
  • Posts: 460
  • VirtueMart Version: VM 4.2 on Joomla 4.5
Re: Cant hide subcategories in product view after upgrade
« Reply #1 on: April 05, 2017, 17:21:00 pm »
Hi Tasos,

you have three ways to do what you want.

First:
- VM config, tab templates

Second:
- menu item for the specific category, tab 2

Third:
- category setting for the specific category

There is something like "show subcategories" in each possibility.
First is general setting, second -> menu item overrides generals setting, third -> category setting overrides menu item.

Hope it helps
Stefan
--
Stefan Schumacher
www.jooglies.com - VirtueMart Invoice Layouts

Please use only stable versions with even numbers for your live shop! Use Alpha versions only if you know what risk you are taking.

StefanSTS

  • Global Moderator
  • Jr. Member
  • *
  • Posts: 460
  • VirtueMart Version: VM 4.2 on Joomla 4.5
Re: Cant hide subcategories in product view after upgrade
« Reply #2 on: April 05, 2017, 17:43:19 pm »
Ok,

indeed that was the setting for the category view and I did not read properly that you were talking about the productdetails view.

You can solve this for now by putting a hidden configuration for
showCategory=0
into the
/administrator/components/com_virtuemart/virtuemart.cfg

Stefan

EDIT: after that open VM configuration and save it once to load the hidden parameter.
--
Stefan Schumacher
www.jooglies.com - VirtueMart Invoice Layouts

Please use only stable versions with even numbers for your live shop! Use Alpha versions only if you know what risk you are taking.

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9942
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Cant hide subcategories in product view after upgrade
« Reply #3 on: April 06, 2017, 01:36:13 am »
you should mention it is the only parameter with a typo and therefore need an hidden config
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

tassoss

  • Beginner
  • *
  • Posts: 14
Re: Cant hide subcategories in product view after upgrade
« Reply #4 on: April 06, 2017, 09:28:15 am »
Hi Stefan,

I have changed the config file to showCategory=0 I have cleared browser cache etc but the problem remains.

Any other suggestions?

Thank you

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9942
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Cant hide subcategories in product view after upgrade
« Reply #5 on: April 06, 2017, 10:27:53 am »
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9942
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Cant hide subcategories in product view after upgrade
« Reply #6 on: April 06, 2017, 10:48:10 am »
But in future we need another config setting there cat_productdetails and also a config per view.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

tassoss

  • Beginner
  • *
  • Posts: 14
Re: Cant hide subcategories in product view after upgrade
« Reply #7 on: April 06, 2017, 11:16:35 am »
Hi Milbo,

i have changed it both to virtuemart.cfg and virtuemart_defaults.cfg-dist and its working fine.

Thanks again for your help and time.  :D


kuba_b

  • Beginner
  • *
  • Posts: 1
  • A beginner
Re: Cant hide subcategories in product view after upgrade
« Reply #8 on: April 25, 2017, 09:20:19 am »
For me the above worked only for categories and products, but it did not work for VM components such as 'VM - Featured product'.
I had to manually change the value |showCategory="0"| in the database (table '%_virtuemart_configs' column 'config'), then it worked everywhere.

lgiulio

  • Beginner
  • *
  • Posts: 35
  • A beginner
Re: Cant hide subcategories in product view after upgrade
« Reply #9 on: June 11, 2017, 10:38:18 am »
Hello,

I've updated to version 3.2.3.
error .

Call to a member function displayMediaThumb() on null

https://www.passionepuglia.it/it/pasta-artigianale/orecchiette

Can I fix it?

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27541
  • Always on vacation
    • Jenkin Hill Internet
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.6.3.10163 on Joomla 3.9.12 PHP 7.0.33