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.

The most generated errors being found on Opencart forum originates from contributed programming.

Regards,
Straightlight


Guru Member
Online

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

The most generated errors being found on Opencart forum originates from contributed programming.

Regards,
Straightlight


Guru Member
Online

Posts

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

Users browsing this forum: No registered users and 13 guests