How to add a Terms of Service link to the homepage information control or footer

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

Please let me know if you know how to add a Terms and Service link in the footer of the homepage or in the Information control on the left hand side of the orange skin that holds stuff like blog, contact us, etc.

Thanks,

Antoine
13 years ago
Qwebec wrote:
Greetings,

Please let me know if you know how to add a Terms and Service link in the footer of the homepage or in the Information control on the left hand side of the orange skin that holds stuff like blog, contact us, etc.

Thanks,

Antoine


Hello Antoine,

To add a link in "Information Section'

First create a resource string in your database:

go into Admin Section and from there select menu item:
content management-->localisation-->  then select your language eg english

Now click on "Add New" button

you will see 2 textboxes:

Resource name:
Resource value:

Enter values like

Resource name: MyLink.TermsandCondition
Resource value: Terms and Condition

Now SAVE IT

now Go to nopCommerceStore Folder / Modules / InfoBlock.ascx

add this code with other <li> tags (in between the <ul> tag - according to your required position)

<li><a href="<%=Page.ResolveUrl("~/YourPageName_Change According To Your Page Name.aspx")%>"><span>
                <%=GetLocaleResourceString("MyLink.TermsandCondition")%></span></a></li>

now save changes on your page and run your website/project - you will see new link in your information section.
13 years ago
Qwebec wrote:
Greetings,
link in the footer of the homepage



To add any link in the footer

Just open up NopCommerceStore\Modules\Footer.ascx and add the links to that page.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.