Post by ayazahmad1 » Thu Jan 19, 2017 1:57 am

Hi,
I am new to opencart and want a solution for this error:

<b>Notice</b>: Undefined variable: phone in <b>/home/gwbpsuxl/public_html/catalog/view/theme/default/template/information/contact.tpl</b> on line <b>127</b>

I got this error after adding Phone option in Contact Us form.

Newbie

Posts

Joined
Thu Jan 19, 2017 1:09 am

Post by imdevlper18 » Thu Jan 19, 2017 12:57 pm

Hello Ayaz,

Opencart is MVC architecture.
So you need to define phone in below file as well:
catalog/controller/information/contact.php

So you need to have little php knowledge as well.

Our Extensions: Opencart Store
Our Extensions: Cartbinder Store
Ticket: Create Support Ticket
Email us: support@cartbinder.com
Skype chat: cartbinder


User avatar
Newbie

Posts

Joined
Sun May 11, 2014 2:04 pm


Post by ayazahmad1 » Sat Jan 21, 2017 7:29 pm

imdevlper18 wrote:Hello Ayaz,

Opencart is MVC architecture.
So you need to define phone in below file as well:
catalog/controller/information/contact.php

So you need to have little php knowledge as well.
Its working after putting phone code twice in php file..

Thanks a lot dear

Newbie

Posts

Joined
Thu Jan 19, 2017 1:09 am
Who is online

Users browsing this forum: No registered users and 37 guests