O'Reilly logo

OpenCart Theme and Module Development by Rupak Nepali

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required