Close

Contact Us Form not in Footer

tleeman
4 years ago
#16371 Quote
Avatar
  • 6
The Contact Us Topic information displays with the Contact Us Form when the Contact Us link is selected from the Main Menu.  Selecting the Contact Us link from the front page Footer, only the topic information is displayed.  Can I get the Contact Us Form to also display from the Footer link?  Using version 4.1, thanks.
Valentin
4 years ago
#16372 Quote
Avatar
  • Moderator
  • 172
tleeman wrote:
The Contact Us Topic information displays with the Contact Us Form when the Contact Us link is selected from the Main Menu.  Selecting the Contact Us link from the front page Footer, only the topic information is displayed.  Can I get the Contact Us Form to also display from the Footer link?  Using version 4.1, thanks.



Hi tleeman,

this item cannot be shown in the footer of the Traction theme without some code modifications.

You need to open the following file in your text editor:

~ Presentation\Nop.Web\Themes\Traction\Views\Shared\Components\Footer\Default.cshtml

and add the bolded code on line 49 like so:


...
@if (Model.AllowCustomersToApplyForVendorAccount && Model.DisplayApplyVendorAccountFooterItem)
{
    <li><a href="@Url.RouteUrl("ApplyVendorAccount")">@T("Vendors.ApplyAccount")</a></li>
}
@if (Model.DisplayContactUsFooterItem)
{
   <li><a href="@Url.RouteUrl("ContactUs")">@T("ContactUs")</a></li>
}

</ul>
...
Best Regards,

Valentin Kirov
Nop-Templates.com