Page 1 of 1

show Store owner on contact us page

Posted: Tue Oct 16, 2018 4:44 pm
by paradoxx
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.

Re: show Store owner on contact us page

Posted: Tue Oct 16, 2018 5:48 pm
by DigitCart
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 />

Re: show Store owner on contact us page

Posted: Tue Oct 16, 2018 6:15 pm
by paradoxx
That did the trick! I was way off where I was doing my tests.

Thank you very very much!

Re: show Store owner on contact us page

Posted: Tue Oct 16, 2018 6:21 pm
by DigitCart
You are welcome.