Post by k2tec » Wed Mar 18, 2015 6:53 pm

In version 2.0.1.2_rc
In admin-> controller->localisation->geo_zone.php is missing

Code: Select all

public function zone() {
		$output = '<option value="0">' . $this->language->get('text_all_zones') . '</option>';

		$this->load->model('localisation/zone');

		$results = $this->model_localisation_zone->getZonesByCountryId($this->request->get['country_id']);

		foreach ($results as $result) {
			$output .= '<option value="' . $result['zone_id'] . '"';

			if ($this->request->get['zone_id'] == $result['zone_id']) {
				$output .= ' selected="selected"';
			}

			$output .= '>' . $result['name'] . '</option>';
		}

		$this->response->setOutput($output);
	}

User avatar
Active Member

Posts

Joined
Mon Apr 12, 2010 8:06 pm

Post by OSWorX » Wed Mar 18, 2015 7:14 pm

Better to report such issues at GitHub.

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Administrator

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by k2tec » Wed Mar 18, 2015 11:00 pm

I shall see if I make a account for this.
I saw that this part was delete but now in the geo_zone you can't select a zone.

User avatar
Active Member

Posts

Joined
Mon Apr 12, 2010 8:06 pm
Who is online

Users browsing this forum: No registered users and 6 guests