Post by straightlight » Fri Oct 13, 2017 6:58 am

In catalog/controller/checkout/cart.php file,

find:

Code: Select all

$frequencies = array(
						'day'        => $this->language->get('text_day'),
						'week'       => $this->language->get('text_week'),
						'semi_month' => $this->language->get('text_semi_month'),
						'month'      => $this->language->get('text_month'),
						'year'       => $this->language->get('text_year')
					);
					
move it above this line:

Code: Select all

$data['products'] = array();
It does not need to be added on a loop statement.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by straightlight » Sun Oct 15, 2017 1:34 am

Additional files to where the frequencies array should be moved above the first loop:

Code: Select all

catalog/controller/checkout/cart.php
catalog/controller/checkout/confirm.php
catalog/controller/extension/payment/pp_express.php

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 25 guests