Post by codeinacan » Sun Nov 20, 2011 7:45 am

Using the latest build of OpenCart fresh install, my Error logs report the following:
2011-11-19 22:35:52 - PHP Notice: Undefined variable: entry_tax in /admin/view/template/total/handling.tpl on line 28
2011-11-19 22:38:32 - PHP Notice: Undefined variable: entry_tax in /admin/view/template/total/low_order_fee.tpl on line 28

Also the errors appear in the admin dashboard under Extensions - Order Totals - then the specific page of....
handling.tpl &
low_order _fee.tpl

Both these forms are not functional when enabled. I have been trying to locate the source of errors and have been unsuccessful. Any ideas from the community, I used search and could not locate this subject anywhere on forum yet?

Regards,
codeinacan

Newbie

Posts

Joined
Sun Nov 20, 2011 7:31 am

Post by wernerrenrew » Sun Nov 20, 2011 9:58 pm

Hi,

You are right this is a bug.
Go to admin/view/template/total/handling.tpl line 28

change this

Code: Select all

$entry_tax
to

Code: Select all

$entry_tax_class
Regards Werner

User avatar
Active Member

Posts

Joined
Thu Oct 27, 2011 9:48 pm
Location - Netherlands

Post by codeinacan » Mon Nov 21, 2011 4:23 am

Werner
Thank you, your bug fix was applied.
for (handling.tpl) change the ($entry_tax) to ($entry_tax_class) on line 28
for (low_order _fee.tpl) change the ($entry_tax) to ($entry_tax_class) on line 28

Tested and WORKS.
[solved]
OpenCart version v1.5.1.3.

Regards
codeinacan

Newbie

Posts

Joined
Sun Nov 20, 2011 7:31 am

Post by SamirAria » Wed Sep 10, 2014 8:17 pm

Hello, i have recently install boss theme extroic and i have following undefined variable mesgs so how should i solve this with coding or anyother solution plz share with me.
opencart 1.5.6.4 installed ...

Undefined variable: color_css in/customers/9/b/0/bilnavi.se/httpd.www/catalog/view/theme/bt_extroic/template/common/header.tpl on line 22
Notice: Undefined variable: templatecolor in /customers/9/b/0/bilnavi.se/httpd.www/catalog/view/theme/bt_extroic/template/common/header.tpl on line 67
Notice: Undefined variable: header_top in /customers/9/b/0/bilnavi.se/httpd.www/catalog/view/theme/bt_extroic/template/common/header.tpl on line 98
Notice: Undefined variable: boss_megamenu in /customers/9/b/0/bilnavi.se/httpd.www/catalog/view/theme/bt_extroic/template/common/header.tpl on line 108
Notice: Undefined variable: header_bottom in /customers/9/b/0/bilnavi.se/httpd.www/catalog/view/theme/bt_extroic/template/common/header.tpl on line 115
Notice: Undefined variable: footer_top in /customers/9/b/0/bilnavi.se/httpd.www/catalog/view/theme/bt_extroic/template/common/footer.tpl on line 7
Notice: Undefined variable: footer_bottom in /customers/9/b/0/bilnavi.se/httpd.www/catalog/view/theme/bt_extroic/template/common/footer.tpl on line 39

Newbie

Posts

Joined
Wed Sep 10, 2014 5:28 am

Post by suryamunjal23 » Sun Apr 23, 2017 4:07 pm

Getting this error
Undefined variable: vie_config in /home/suryamunjal/public_html/vqmod/vqcache/vq2-system_storage_modification_catalog_view_theme_default_template_common_header.tpl on line 45

i m using v2.3.0.2. any idea how to solve it?

Newbie

Posts

Joined
Thu Apr 20, 2017 4:16 pm
Who is online

Users browsing this forum: No registered users and 4 guests