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.
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.
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.
Opencart Extensions | Professional opencart support | Support Ticket | support@cartbinder.com
Its working after putting phone code twice in php file..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.
Thanks a lot dear
Who is online
Users browsing this forum: No registered users and 34 guests