Book Image

OpenCart Theme and Module Development

By : Rupak Nepali
Book Image

OpenCart Theme and Module Development

By: Rupak Nepali

Overview of this book

Table of Contents (13 chapters)
OpenCart Theme and Module Development
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

The contact us page


The contact us page shows the form used to send message to the administrator of the site. Now, go to catalog/view/theme/packttheme/template/information/ and open contact.tpl. The following line of code shows the contact us title and is taken from the catalog/language/english/information/contact.php language file:

<h1><?php echo $heading_title; ?></h1>

The following line of code shows the location text:

<h3><?php echo $text_location; ?></h3>

The following code displays the image:

<?php if ($image) { ?>
      <div class="col-sm-3"><img src="<?php echo $image; ?>" alt="<?php echo $store; ?>" title="<?php echo $store; ?>" class="img-thumbnail" /></div>
<?php } ?>

The following screenshot shows how an image can be set:

The following code shows the store name, store address and a Google Map as per the geographical code provided in our store settings:

<div class="col-sm-3"><strong><?php...