first commit
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace googleshopping\traits;
|
||||
|
||||
trait StoreLoader {
|
||||
protected function loadStore($store_id) {
|
||||
$this->registry->set('setting', new \Config());
|
||||
|
||||
$this->load->model('setting/setting');
|
||||
|
||||
foreach ($this->model_setting_setting->getSetting('advertise_google', $store_id) as $key => $value) {
|
||||
$this->setting->set($key, $value);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user