Post by straightlight » Sun Aug 30, 2015 11:01 pm

In admin/controller/sale/order.php file,

Code: Select all

// Store
			if (isset($this->request->get['store_id'])) {
				$store_id = $this->request->get['store_id'];
			} else {
				$store_id = 0;
			}
should be replaced with:

Code: Select all

// Store
			if (isset($this->request->get['store_id'])) {
				$store_id = $this->request->get['store_id'];
                        } elseif ($this->config->get('config_store_id')) {
                                $store_id = $this->config->get('config_store_id');
			} else {
				$store_id = 0;
			}

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 fido-x » Mon Oct 05, 2015 9:58 am

Won't make any difference.

Calling "$this->config->get('config_store_id')" from the administration will always return "0" (zero) because there is only one administration.

Image
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool

If you're not living on the edge ... you're taking up too much space!


User avatar
Expert Member

Posts

Joined
Sat Jun 28, 2008 1:09 am
Location - Tasmania, Australia
Who is online

Users browsing this forum: No registered users and 71 guests