Developer forum

Forum » Ecommerce - Standard features » Assortments navigation showing products groups it shouldn't

Assortments navigation showing products groups it shouldn't

Nuno Aguiar
Reply

Hi,

 

Considering http://doc.dynamicweb-cms.com/documentation-9/ecommerce/product-catalog/product-catalog#2680 we have an eCom menu that keeps showing product groups despite the user not having access to the products.

 

It looks like assortments are working ok (using the new index), but there are a few ecom groups that always show regardless of the settings.

 

I posted a case on engage, but Kristian said I might have a better luck through the Forum. Can anyone help me?

 

I can provide the engage ticket and URL via email.

 

Best Regards,

Nuno


Replies

 
Nicolai Pedersen
Reply

Maybe, you could post a URL... Are you sure you chose the assortmentnavigationprovider on the navigation item?

 
Nuno Aguiar
Reply

Hi Nicolai,

 

I just emailed you the URL. We are using the Assortment Navigation Provider. It might be turned off when you test it, because the customer and QA team are testing, but we ensured both Assortments is checked (in product catalog works as expected using the index), and the proper provider.

 

I also mentioned the engage case number. There seems to be 5 groups that "don't care" about the assortments and I don't know why. I tried:

  • Rebuild assortments
  • Assigning to anonymous and/or logged in users
  • Checkin in the database for the old assortments flag on the group

 

Best Regards,

Nuno Aguiar

 
Nicolai Pedersen
Reply

Great, I've asked QA to take a look at the setup.

 
Oleg Rodionov
Reply

Hi Nuno,

 

I've tested your solution and have results correspond to expected ones. Your assortiment has only one product group can be accessed to two users. Navigation for the product page contains several product groups including the assortiment's one. So, when we are logged with one user applied for the the assortiment then the assortiment group appears in navigation menu or doesn't otherwise - http://screencast.com/t/pU0G7M2Q. Other navigation groups are always shown since access to them doesn't limited for the user (via the assortiment or permissions). The same way to watch products rendered via product catalog (if the group is applied to appropriate source settings of product catalog module). See http://manual.dynamicweb-cms.com/Default.aspx?ID=2038 , section Frontend.

 

Please, clarify if my conception doesn't correspond yours.

 

BR, Oleg QA     

 

 
Nuno Aguiar
Reply

Hi Oleg,

 

I must be doing something very wrong. I re-did some of the setting so it's easier to demo

 

Take a look at it now

 - I delete the Anonymous assortments group

 - I added almost all groups to the HHMI assortment

 - I get into the website (not logged in) and I still see all groups

http://screencast.com/t/icfGIq6PR

 

Then I recreated the Aonymous assortments group and only added the "Equipment" group.

 - I would expect the main menu to only show "Equipment" when not logged in

http://screencast.com/t/Jm5nM27l

 

And I've read throught the documentation, but I don't seem to have done anything wrong. My product list (index) works as expected, but the menu does not.

 

Best Regards,

Nuno

 
Oleg Rodionov
Reply

HI,

 

I've retested the issues the same way on our test environment based on last 881 - it's not reproduced, all performs properly (base assortiment+anonymous assortiment). So, it's probably specific issue of your solution. I'm agree that the manual should be updated to fit the navigation rules.

 

BR, Oleg

 
Nuno Aguiar
Reply

Hi Oleg,

 

Ok, so it works well with your test solution, but does not with ours. How could I get this fixed then? We still don't know what's wrong. What's the next step?

 

Nuno

 
Oleg Rodionov
Reply

Hi,

 

Probably, next step - refer the issue to DW technical support service, as usual to create appropriate investigation and research/fix it.

 

BR, Oleg

 
Nuno Aguiar
Reply

Hi Oleg,

 

That's what I did in the first place, and Kristian suggested I posted it in the Forum. In understand you probably have a better understanding of the issue than we had in the beggining, so, please help me understand what's best:

 

BR,

Nuno

 
Nicolai Pedersen
Reply

Where do you get your data from?
Do you have an integration that could be giving bad data for this?

 
Nuno Aguiar
Reply

Hi Nicolai,

 

In fact all groups come through integration. I created group manually to compare the data and got nowhere

 

Attached a query from EcomGroups with 2 groups, 1 from import (which is having issues) and the other I created. Could there be another table Assortments need for me to look into?

 

Best Regards,

Nuno Aguiar

 
Nuno Aguiar
Reply

Hi Nicolai,

 

Did you ever get a chance to look at this?

 

BR,

Nuno

 
Nicolai Pedersen
Reply

Yes, cannot figure it out.

My guess is that it is bad data...

 
Nuno Aguiar
Reply

Hi,

 

Just for future reference, this was handled through email and DW provided the necessary workaround/answer.

 

We had to create a dummy assortment with all products (no users or groups though) to trigger the AssortmentNavigation to work properly.

 

Nuno Aguiar

 

You must be logged in to post in the forum