AbleCommerce Forums
»
AbleCommerce
»
AbleCommerce 9 Bug Reports
»
9.0.7 Store Menu Shows sub category after set to Private or Hidden
Rank: Advanced Member
Groups: Authorized User, Registered, Developers, HelpDesk Joined: 11/30/2018(UTC) Posts: 86
Thanks: 8 times Was thanked: 1 time(s) in 1 post(s)
|
When using the Store Menu and changing any child categories to private or hidden, the menu category drop down still continues to show a sub category is there with the arrow and a (ghost) table shows up when mousing over the link.
I have made sure all products in sub and child categories are set to private and hidden as well. The only way to fix this is to delete the sub or child categories from the main category menu.
As a note: The Store Menu Light has a setting for this turning on and off sub and child categories and it would be nice to have this option as well when using the Store Menu for product navigation.
|
|
|
|
Rank: Advanced Member
Groups: System, Administrators, Developers, Registered, HelpDesk Joined: 10/29/2018(UTC) Posts: 472
Thanks: 4 times Was thanked: 34 time(s) in 33 post(s)
|
Hi,
This is working perfect for me. I'm using the Store Menu widget. I tested by changing the category visibility to all 3 types. The category only appears when it's set to public. I tested for both top-level category and sub-category.
Make sure there isn't a customization interfering. |
Thanks for your support!
Katie Secure eCommerce Software and Hosting |
|
|
|
Rank: Advanced Member
Groups: Authorized User, Registered, Developers, HelpDesk Joined: 11/30/2018(UTC) Posts: 86
Thanks: 8 times Was thanked: 1 time(s) in 1 post(s)
|
Hi Katie,
Make sure you have products in the main category and set to public and then add a child category with products and make the child category and it's products hidden.
It should not show a blue arrow and when mousing over the category link in the drop down show a ghost box.
The only customization's we have on this menu is the removal of the Home and Contact us Link that are there out of the box. This customization is setup in our custom themes view directory per Ablecommerce instructions.
|
|
|
|
Rank: Advanced Member
Groups: Authorized User, Registered, Developers, HelpDesk Joined: 11/30/2018(UTC) Posts: 86
Thanks: 8 times Was thanked: 1 time(s) in 1 post(s)
|
Katie,
I tried uploading a quick video, but this forum does not allow MP4. Is there another way I can get this video to you and explain what is happening?
Thanks again.
|
|
|
|
Rank: Advanced Member
Groups: Authorized User, Developers Joined: 2/17/2019(UTC) Posts: 909
Thanks: 3 times Was thanked: 15 time(s) in 15 post(s)
|
Take your MP4 and zip it. Then you can upload it.
|
|
|
|
Rank: Advanced Member
Groups: Authorized User, Registered, Developers, HelpDesk Joined: 11/30/2018(UTC) Posts: 86
Thanks: 8 times Was thanked: 1 time(s) in 1 post(s)
|
Ray thank you for your help. I'm just seeing this as I am not getting a notify when a reply post happens. Here is the video and explanation below. We are using the StoreMenu Widget which has no settings to it other than 6 maximum Categories that can be applied. Look at the video and see if this helps with understanding what I'm talking about. Store Menu.zip (45,489kb) downloaded 4 time(s).Please note that the problem is with the Propellers Sub Category. This category has 17 products in it viewable to the public and has a Child Category with products in it that have been set to private. When the menu opens up from the top Category Boat Parts the Propeller category is showing a blue arrow and when you hover over it a ghost menu pops up. If there is other settings that we do not know about please help. Thanks again
|
|
|
|
Rank: Advanced Member
Groups: Admin, Developers, Registered, HelpDesk, Authorized User Joined: 10/5/2018(UTC) Posts: 704
Thanks: 5 times Was thanked: 113 time(s) in 112 post(s)
|
I am able to reproduce the issue. Thanks for pointing this out!
I'll report this.
|
|
|
|
Rank: Advanced Member
Groups: Authorized User, Registered, Developers, HelpDesk Joined: 11/30/2018(UTC) Posts: 86
Thanks: 8 times Was thanked: 1 time(s) in 1 post(s)
|
Hi Shaharyar,
Thank you for confirming this for us. We are trying to get this site to production, can you please provide us a fix.
Thank you again for your help.
|
|
|
|
Rank: Advanced Member
Groups: Admin, Developers, Registered, HelpDesk, Authorized User Joined: 10/5/2018(UTC) Posts: 704
Thanks: 5 times Was thanked: 113 time(s) in 112 post(s)
|
I am sorry. This doesn't seems to be a simple fix.
Though I may be able to get you something on Monday.
|
|
|
|
Rank: Advanced Member
Groups: Authorized User, Registered, Developers, HelpDesk Joined: 11/30/2018(UTC) Posts: 86
Thanks: 8 times Was thanked: 1 time(s) in 1 post(s)
|
I figured that it was not a simple fix.
Your help is greatly appreciated.
Thank you again.
|
|
|
|
Rank: Advanced Member
Groups: Admin, Developers, Registered, HelpDesk, Authorized User Joined: 10/5/2018(UTC) Posts: 704
Thanks: 5 times Was thanked: 113 time(s) in 112 post(s)
|
Hi, This appears to be a simple fix. To fix: 1- Open file E:\Workspace\AbleCommerce9\trunk\Website\Controllers\CategoryController.cs 2- Search for Code:if (_categoryRepo.CountForParent(child.Id) > 0)
3- Replace with Code:if (_categoryRepo.CountForParent(child.Id, true) > 0)
4- Compile the code
|
|
|
|
Rank: Advanced Member
Groups: Authorized User, Registered, Developers, HelpDesk Joined: 11/30/2018(UTC) Posts: 86
Thanks: 8 times Was thanked: 1 time(s) in 1 post(s)
|
|
|
|
|
AbleCommerce Forums
»
AbleCommerce
»
AbleCommerce 9 Bug Reports
»
9.0.7 Store Menu Shows sub category after set to Private or Hidden
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The AbleCommerce Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close