Rank: Member
Joined: 3/14/2008(UTC) Posts: 10
|
When you hide a category it still shows up in the category dropdown list on the search page? Is this by design or am I missing something?
|
|
|
|
Rank: Member
Joined: 12/19/2006(UTC) Posts: 153
|
by un-intentional design :) i.e. a bug.
I too have noticed this. By bandaid solution was to just remove the category dropdown from the search.
|
|
|
|
Rank: Member
Joined: 4/18/2008(UTC) Posts: 12
|
I'm having the same problem. Could remove the category drop down from the search, but that's a far from ideal solution and could effect sales. Also, can't just delete the category as I'd have to re-assign all the products when I wanted to reactivate the category. I've managed a small hack type fix that works as far as I can tell, but I'm not sure about the effect it has on execution speed. Here's the fix in all it's glory (Mods - if I'm not suppose to do this because of something in the terms and conditions, then let me know and I'll remove it) In the code behind for the SearchCriteria.ascx file (\BVModules\Controls\SearchCriteria.ascx.vb for me) find the sub routine called LoadSettings. Change the lines Code: Dim cats As Collection(Of ListItem) = Catalog.Category.ListFullTreeWithIndents For Each li As ListItem In cats Me.CategoryField.Items.Add(li) Next
to read Code: Dim cats As Collection(Of Catalog.Category) = Catalog.Category.FindVisibleChildren("0") For Each c As Catalog.Category In cats Dim li As New System.Web.UI.WebControls.ListItem li.Value = c.Bvin li.Text = c.Name Me.CategoryField.Items.Add(li) Next
|
|
|
|
|
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.