How to change register page

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
6 years ago
Hi all,

I am trying to figure out how to change what is displayed on the register page of our shop.

I have added some html code to the Views\Customer\Register.cshtml however i cannot see the changes on the website when i ctrl+F5 it. Is this the correct file that i need to be editing?

Also, is there a way in nopcommerce to have 2 different forms with 2 different sets of fields on, with tabs to navigate between them?

Thanks
6 years ago
SamSnap wrote:
Hi all,

I am trying to figure out how to change what is displayed on the register page of our shop.

I have added some html code to the Views\Customer\Register.cshtml however i cannot see the changes on the website when i ctrl+F5 it. Is this the correct file that i need to be editing?

Thanks



===>
Default Path: ~Views\Customer\Register.cshtml  

Theme Path: ~\Themes\{YourThmeName}\Views\Customer\Register.cshtml

SamSnap wrote:
Hi all,
Also, is there a way in nopcommerce to have 2 different forms with 2 different sets of fields on, with tabs to navigate between them?

Thanks


Yes, Have to do it by creating a Plugin which will override register route  or have to do by customizing core code.

// Sohel
6 years ago
Hi, i have already tried editing the Views\Customer\Register.cshtml and i cannot see any changes to the website? is this an issue? any idea why it is not being changed? i have even commented out this whole file but it still appears like normal?
6 years ago
SamSnap wrote:
Hi, i have already tried editing the Views\Customer\Register.cshtml and i cannot see any changes to the website? is this an issue? any idea why it is not being changed? i have even commented out this whole file but it still appears like normal?


Did you use theme ?

Theme Path: ~\Themes\{YourThmeName}\Views\Customer\Register.cshtml

// Sohel
6 years ago
The file doesn't exist under the themes directory?

i've tried copying the file from Views\Customer\Register.cshtml and placing it in the Themes\{My Store Name}\Customer\Register.cshtml and editing that but that makes no changes either
6 years ago
SamSnap wrote:
The file doesn't exist under the themes directory?

i've tried copying the file from Views\Customer\Register.cshtml and placing it in the Themes\{My Store Name}\Customer\Register.cshtml and editing that but that makes no changes either


It should work. If you are in right place.

Did you use any plugin for register?

//Sohel
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.