Post by khaan » Sun Mar 01, 2015 6:08 pm

Hi,
Opencart is not showing all the items that have special prices.
http://valleydez.com/index.php?route=product/special

Its a custom theme, earlier it was working fine and didn't even updated. Can any body please check and resolve it?

Thank you

New member

Posts

Joined
Thu Jan 16, 2014 5:39 pm

Post by khaan » Mon Mar 02, 2015 2:58 pm

Fixed it by replacing the code on line 229 from:

Code: Select all

		foreach($limits as $limit){
			$this->data['limit'][] = array(
				'text'  => $limit,
				'value' => $limit,
				'href'  => $this->url->link('product/special', $url . '&limit=' . $limit)
			);
		}
with:

Code: Select all

		foreach($limits as $limits){
			$this->data['limits'][] = array(
				'text'  => $limits,
				'value' => $limits,
				'href'  => $this->url->link('product/special', $url . '&limit=' . $limits)
			);
		}

New member

Posts

Joined
Thu Jan 16, 2014 5:39 pm
Who is online

Users browsing this forum: No registered users and 9 guests