Post by paradoxx » Tue Oct 16, 2018 4:44 pm

Hi everyone,

I was wondering how to make this happen, I checked some other threads like for example:
viewtopic.php?t=169190
viewtopic.php?t=14660

and I tried to twist it to my needs but nothing was being reflected on the storefront, I'm not a programmer but I can do some stuff :/

So, how do I do an echo of the store owner to place it within the address information and in which php or tpl to show it only on the contact us page?

Image

Image

Thank you very much for your help and I hope I made myself clear enough.

New member

Posts

Joined
Sun Jun 30, 2013 5:56 am

Post by DigitCart » Tue Oct 16, 2018 5:48 pm

Hi,

In this file:

Code: Select all

catalog\controller\information\contact.php
Find:

Code: Select all

$this->data['store'] = $this->config->get('config_name');
Add after:

Code: Select all

$this->data['owner'] = $this->config->get('config_owner');
In this file:

Code: Select all

catalog\view\theme\your-theme\template\information\contact.tpl
Find:

Code: Select all

<?php echo $store; ?><br />
Add after:

Code: Select all

<?php echo $owner; ?><br />

My Extensions


User avatar
Active Member

Posts

Joined
Thu Jun 22, 2017 5:32 pm


Post by paradoxx » Tue Oct 16, 2018 6:15 pm

That did the trick! I was way off where I was doing my tests.

Thank you very very much!

New member

Posts

Joined
Sun Jun 30, 2013 5:56 am

Post by DigitCart » Tue Oct 16, 2018 6:21 pm

You are welcome.

My Extensions


User avatar
Active Member

Posts

Joined
Thu Jun 22, 2017 5:32 pm

Who is online

Users browsing this forum: barnettgs and 143 guests