Disable Customer Ability to change Proifile Type and join Uesr Group

When a customer logins in to his account, he can edit his profile details.



How do I stop him from changing his Profile type from “Customer” to “Affiliate” and how do I also disable his ability to join a “User Group” that I wil be using such as Wholesaler that will show different pricing?

[quote name='jmccann' timestamp='1312559021' post='118938']

When a customer logins in to his account, he can edit his profile details.



How do I stop him from changing his Profile type from “Customer” to “Affiliate” and how do I also disable his ability to join a “User Group” that I wil be using such as Wholesaler that will show different pricing?

[/quote]



Hello, jmccann!



To disable the customers' ability to sign up for the user groups, you should disable the “Allow customer to signup for user group” setting on the “Settings: General” page of your CS-Cart admin panel.



Regarding the affiliates, please note that you need to approve the affiliates first, they will not have the access to the “Affiliate” area without the approval.



Also you can remove all the code from the “account_info.pre.tpl” file (or just rename it) located in the “skins/[CUSTOMER_ACTIVE_SKIN]/customer/addons/affiliate/hooks/profiles” directory of your CS-Cart, where [CUSTOMER_ACTIVE_SKIN] is an active skin of the storefront.

How can this be done for cs-cart 3?

I have changed the general settings for user groups that works,



But for the affiliate settings



I emptied the file but dropdown box is still there.



I tried to rename the file in affiliates/hooks/profile but it causes an error to be written stating:



“Unable to read resource: /home/jewel3e4/public_html/JewelryStore/skins/basic/customer/addons/affiliate/hooks/profiles/account_info.pre.tpl”



So my problem is how can i remove this line and or the dropdown box with customer affiliate options.

ok I got it forgot to clear the cache. :P