logo
Welcome to our new AbleCommerce forums. As a guest, you may view the information here. To post to this forum, you must have a registered account with us, either as a new user evaluating AbleCommerce or an existing user of the application. For all questions related to the older version of Gold and earlier, please go to AbleCommerce Gold forum. Please use your AbleCommerce username and password to Login. New Registrations are disabled.

Notification

Icon
Error

Options
Go to last post Go to first unread
rlopez397954  
#1 Posted : Monday, December 12, 2022 11:08:19 AM(UTC)
rlopez397954

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.


Wanna join the discussion?! Login to your AbleCommerce Forums forum account. New Registrations are disabled.

Katie S  
#2 Posted : Tuesday, December 13, 2022 3:25:15 PM(UTC)
Katie S

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
rlopez397954  
#3 Posted : Wednesday, December 14, 2022 8:30:23 AM(UTC)
rlopez397954

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.
rlopez397954  
#4 Posted : Wednesday, December 14, 2022 6:41:17 PM(UTC)
rlopez397954

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.
ray22901031  
#5 Posted : Wednesday, December 14, 2022 7:22:25 PM(UTC)
ray22901031

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.
rlopez397954  
#6 Posted : Wednesday, December 14, 2022 9:17:09 PM(UTC)
rlopez397954

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




shaharyar  
#7 Posted : Friday, December 16, 2022 7:24:22 AM(UTC)
shaharyar

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.



rlopez397954  
#8 Posted : Friday, December 16, 2022 8:42:02 AM(UTC)
rlopez397954

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.
shaharyar  
#9 Posted : Friday, December 16, 2022 11:07:28 AM(UTC)
shaharyar

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.

rlopez397954  
#10 Posted : Friday, December 16, 2022 12:17:51 PM(UTC)
rlopez397954

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.
shaharyar  
#11 Posted : Monday, December 19, 2022 5:12:44 AM(UTC)
shaharyar

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
rlopez397954  
#12 Posted : Monday, December 19, 2022 3:26:30 PM(UTC)
rlopez397954

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)
Thank You!
Users browsing this topic
Guest (2)
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.