tntmjr
tntmjr

Reputation: 17

Hide or filter a category by affiliate aspdotnetstorefront

Can a particular category be hidden from an individual affiliate. Say for instance the affiliate would like not to have "pet food" show up when his link is used??

Upvotes: 0

Views: 103

Answers (2)

CTouchstone
CTouchstone

Reputation: 1

I hid my my categories by adding an "IsHidden" column to the Category table. Then added "AND IsHidden = 0" to the following stored procedures:

  • aspdnsf_EntityMgr
  • aspdnsf_SearchCategories

Upvotes: 0

dubloons
dubloons

Reputation: 1140

Absolutely, but it's going to require customization that's specific to your navigation xml package and requirements.

The easiest way would be to hide the category from the menus in the xml package you use for navigation based on the current users affiliate.

However, 'hidden' could mean quite a bit more than that. If you need to hide the products in that category all together (for example from a users search), you'll need to do quite a bit more customization including the GetProducts stored procedure.

Upvotes: 0

Related Questions