| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
add company address next to the phone number | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
add company address next to the phone number
on the customer front page, I have my fax number next to my phone number, does anyway I can add a company address here? if possible please show me how. (I really need this. please help)
my "head.tpl" {if $config.Company.company_phone}{$lng.lbl_phone_1_ti tle}: {$config.Company.company_phone}{/if}{if $config.Company.company_fax}{$lng.lbl_fax}: {$config.Company.company_fax}{/if}</TD>
__________________
Xcart Gold V 4.0.16 Server: Apache, MySQL server 4.0.24 MySql Client: 4.1.13, PHP 4.4.0 |
|||||||
#2
|
|||||||
|
|||||||
Well you could either hardcode the address details into that section or create a new label in Languages that includes the full address e.g. lbl_company_address and you could reference it like (for example beore and on top of the phone/fax no's):
{$lng.lbl_company_address} {if $config.Company.company_phone}{$lng.lbl_phone_1_ti tle}: {$config.Company.company_phone}{/if}{if $config.Company.company_fax}{$lng.lbl_fax}: {$config.Company.company_fax}{/if}</TD> You could do it the "proper" way and reference each of the company address fields that already exist from the Company Options page in Admin t I can't find an example of that at the moment! Dan
__________________
4.4.2 and 4.6.1 |
|||||||
#3
|
|||||||
|
|||||||
Post moved, please try to post in the correct forum, this question has nothing to do with the X-Cart add-ons
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#4
|
|||||||
|
|||||||
Thanks Dan, I added new label lbl_company_address, it works fine and simple. Ryan, sorry i will be more careful next time, I clicked select forum, but somehow it went to the wrong room.
__________________
Xcart Gold V 4.0.16 Server: Apache, MySQL server 4.0.24 MySql Client: 4.1.13, PHP 4.4.0 |
|||||||
|
|||
X-Cart forums © 2001-2020
|