Hello!
I would like to add more information in the Contact Us-section of the website. I was thinking about a box above the Address one where I can write something like "You are able to contact us anytime, either call us by using the number below or use the contact form which is the best method. We always answer on enquires within 24h or something.
I guess I have to edit the contact.tpl but how? Could anyone give me some guidance to a lousy coder?
Thanks in advance
See all my extensions: https://www.opencart.com/index.php?rout ... 20OpenCart
You could use this: http://forum.opencart.com/viewtopic.php?f=131&t=35286
or
or
Code: Select all
<h1><?php echo $heading_title; ?></h1>
<form action="<?php echo $action; ?>" method="post" enctype="multipart/form-data" id="contact">
<h2><?php echo $text_location; ?></h2>
<div class="contact-info">
<div class="content"><div class="left"><b>YOUR INFO HERE</b><br /><br />
<b><?php echo $text_address; ?></b><br />
I heart cmd-f, cmd-c, cmd-v, cmd-z + vQmod.
My favourite page...
v1.5.4.1
Where do I put that last code? In Contact.tpl?philbydevil wrote:You could use this: http://forum.opencart.com/viewtopic.php?f=131&t=35286
or
Code: Select all
<h1><?php echo $heading_title; ?></h1> <form action="<?php echo $action; ?>" method="post" enctype="multipart/form-data" id="contact"> <h2><?php echo $text_location; ?></h2> <div class="contact-info"> <div class="content"><div class="left"><b>YOUR INFO HERE</b><br /><br /> <b><?php echo $text_address; ?></b><br />
Nevermind that question, I figured it out.Gusten wrote:Where do I put that last code? In Contact.tpl?philbydevil wrote:You could use this: http://forum.opencart.com/viewtopic.php?f=131&t=35286
or
Code: Select all
<h1><?php echo $heading_title; ?></h1> <form action="<?php echo $action; ?>" method="post" enctype="multipart/form-data" id="contact"> <h2><?php echo $text_location; ?></h2> <div class="contact-info"> <div class="content"><div class="left"><b>YOUR INFO HERE</b><br /><br /> <b><?php echo $text_address; ?></b><br />
Though, its not Exactly what I want. I would like to add a box with information just above the box with Contact Details but under the header Contact Us. So it will be like this
Contact Us (the header and title)
Contact information
Contact Details.
Contact Form.
I solved it, Put code like this.
Code: Select all
<h1><?php echo $heading_title; ?></h1>
<div class="contact-info"><div class="content"><b>MY INFORMATION GOES HERE </b><br /><br />
<form action="<?php echo $action; ?>" method="post" enctype="multipart/form-data" id="contact">
<h2><?php echo $text_location; ?></h2>
<div class="contact-info">
<b><?php echo $text_address; ?></b><br />
<?php echo $address; ?></div>
Who is online
Users browsing this forum: No registered users and 222 guests