Search found 3 matches

Page 1 of 1

Search found 3 matches

Re: PHP Notice: Undefined variable

at first your model file first strings should be: <?php class ModelPaymentCreditcard extends Model { Class name should start in capital letters (this are the names of the folders and module name) like in the example code. Not necessary make some connections to DB. it's depends what you want to do.....

Jump to post
  • Tue Aug 29, 2017 4:26 pm
  • Replies 5
  • Views 19168
Re: PHP Notice: Undefined variable

:) seems you forget define in admin controller file something like this... if (isset($this->request->post['creditcard_geo_zone_id'])) { $data['creditcard_geo_zone_id'] = $this->request->post['creditcard_geo_zone_id']; } else { $data['creditcard_geo_zone_id'] = $this->config->get('creditcard_geo_zon...

Jump to post
  • Tue Aug 29, 2017 2:58 pm
  • Replies 5
  • Views 19168
PHP Notice: Undefined variable

Good evening. I try to make my payment with credit card and i have some trouble with this. Opencart version is 2.0.3.1 Problem is PHP Notice: Undefined variable: creditcard_geo_zone_id in F:\Serv\OpenServer\domains\open-test.lol\admin\view\template\payment\creditcard.tpl on line 60 I check this file...

Jump to post
  • Mon Aug 28, 2017 10:10 pm
  • Replies 5
  • Views 19168

Page 1 of 1

Search found 3 matches