Changing the footer.

Tagged: 

This topic has been marked as not resolved.

Good afternoon.
There is a need to change the header, namely replacing the “Checkout” on the “Contact Us” in the footer.
When you try to change an error in 103 line in heder.tpl

January 12, 2013 at 5:58 pm #17095

Hi;

Do this if you are using Shoppica1:
- Open this file: catalog/view/theme/shoppica/template/common/header.tpl
- Find this line:

<li><a href="<?php echo $checkout; ?>"><?php echo $text_checkout; ?></a></li>

- Change it to :
<li><a href="<?php echo $contact; ?>"><?php echo $text_contact; ?></a></li>

- The open this file: catalog/controller/common/header.php
- Find this line:
$this->data['text_checkout'] = $this->language->get('text_checkout');

and this:
$this->data['checkout'] = $this->url->link('checkout/checkout', '', 'SSL');

- Change these two lines like :
$this->data['text_contact'] = $this->language->get('text_contact');

and :
$this->data['contact'] = $this->url->link('infromation/contact', '', 'SSL');

Do this if you are using Shoppica2:
- Open this file: catalog/view/theme/shoppica2/template/common/header.tpl

- Find this line:

<?php if ($tbData->common['checkout_enabled']): ?>
<li><a href="<?php echo $shopping_cart; ?>"><?php echo $text_shopping_cart; ?></a></li>
<li><a href="<?php echo $checkout; ?>"><?php echo $text_checkout; ?></a></li>
<?php endif; ?>
- Change it to :
<?php if ($tbData->common['checkout_enabled']): ?>
<li><a href="<?php echo $shopping_cart; ?>"><?php echo $text_shopping_cart; ?></a></li>
<?php endif; ?>
<li><a href="<?php echo $contact; ?>"><?php echo $text_contact; ?></a></li>

- The open this file: catalog/controller/common/header.php
- Find this line:
$this->data['text_checkout'] = $this->language->get('text_checkout');

and this:
$this->data['checkout'] = $this->url->link('checkout/checkout', '', 'SSL');

- Change these to line like :
$this->data['text_contact'] = $this->language->get('text_contact');

and :
$this->data['contact'] = $this->url->link('infromation/contact', '', 'SSL');

Sam

 samdz
January 12, 2013 at 6:49 pm #17097

Thanks for the quick reply.
Moving out of the basement turned into a hat to make. Now there is no error in the header.
However, clicking on the “Contact Us” page does not appear necessary, and poyavleetsya message that the requested page does not. I use Shoppica2.

  • This reply was modified 4131 days ago by  Psotico.
January 13, 2013 at 9:53 am #17107

Hi,

Sorry for the error, I wrote “infromation” but you must write “information”
change the last line to:

$this->data['contact'] = $this->url->link('information/contact', '', 'SSL');

Thank’s
Sam

 samdz
January 13, 2013 at 10:39 am #17111

Good afternoon.
Thank you for your help.
Regards Vladislav

January 14, 2013 at 4:18 am #17131
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.