Turn off affiliates


https://forum.kartris.com/Topic220.aspx
Print Topic | Close Window

By trenery - Tue 16 Nov 2010
Hi

How do you turn off the affiliate functionality in Kartris?

Thanks

Mike
By Neil - Tue 16 Nov 2010
Search backend config settings for

frontend.users.myaccount.affiliates.enabled

EDIT - Not sure actually if this just turns it off in the 'My Account' area

....anyone?
By trenery - Tue 16 Nov 2010
I tried that. Affiliates is still on the menu.
By Neil - Tue 16 Nov 2010
I think you need to edit the web_menu.sitemap and remove the following line

<siteMapNode url="~/CustomerAffiliates.aspx" title="$resources:Kartris,PageTitle_Affiliates"  description="$resources:Kartris,PageTitle_Affiliates"  />

By Ogma - Tue 16 Nov 2010
Correct
I have turn several features off on the site via the admin area but this does not remove from the top navigation system.

web_menu.sitemap is your man.
By Paul - Wed 17 Nov 2010
Try the frontend.users.myaccount.affiliates.enabled config setting.

A useful tip if you want to find config settings is just to go to the config setting section in the back end and then search for 'affiliate' - any config settings including this in their name will then be found. Many features have config settings to turn them on and off, or control the way they behave.

EDIT: sorry just saw the other posts... yes, the sitemap file controls the menus. There isn't a way for us to dynamically alter that at present, so the links need to be edited manually for the time being.
By trenery - Wed 17 Nov 2010
That's done it. Thanks very much everyone.