Jump to content

How To Customize The Contact Us Page In Prestashop 1.6


Recommended Posts

But creating a new CMS page will cause you to have two different contact us pages - one with contact form, another one with contact info, and that it not very convenient.

 

I have a module that inserts contents from a chosen CMS page just above the contact form so you can have both the form and information on one page.

 

Another option is to edit the contact-form.tpl file, but the information will be hard coded and not multi - language.

  • Like 1
Link to comment
Share on other sites

  • 5 months later...
  • 3 months later...

But creating a new CMS page will cause you to have two different contact us pages - one with contact form, another one with contact info, and that it not very convenient.

 

I have a module that inserts contents from a chosen CMS page just above the contact form so you can have both the form and information on one page.

 

Another option is to edit the contact-form.tpl file, but the information will be hard coded and not multi - language.

Can you share the module that insert Contact form 

Link to comment
Share on other sites

The contactform.tpl file is in your themes root folder edit the file and add the content you want in some <div> tags.

You can also add some classes to the div tags for adding CSS so you can format the added info.

 

Make a space at line 28 or after the closing </h1> tag and put it there. use <br /> to add space.

 

 

Like this

 

<div class="call1">

              <span>My Prestashop Store</span>

              <span>1234 ABC St</span.

              <span>yakama AL 11111</span>

</div>

<br />         

<div class="call2">
            <li>
            <i class="icon-phone"></i>  {l s='Call us now: '}
            <span>{l s='954-950-1234'}</span>
                </li><br />
                 <li>
            <i class="icon-mobile-phone"></i>   {l s='Cell: ' } 
                    <span>{l s='954-333-8725'}</span>
            </li><br />
                <li>
            <i class="icon-mobile-phone"></i>   {l s='Cell: ' } 
                    <span>{l s='954-899-3400' }</span>
            </li>
</div>
<br /> 

<div class="call3">

              <span>[email protected]</span>           

</div>

<br /> 

 

 

 

Now add some css to global.css like this. (example)

 

.call1{font-size:18px;color:black}

.call2{font-size:16px;color:blue}

.call3{font-size:22px;color:red}

 

 

This should set you on the right track.

Edited by tdr170 (see edit history)
Link to comment
Share on other sites

  • 6 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...