<?xml version="1.0" encoding="utf-8"?>
<modification>
	<name><![CDATA[So Menu - OpenCartWorks]]></name>
	<code>ocmod-menu-opencartwork</code>
    <version><![CDATA[3.0.0]]></version>
    <author><![CDATA[OpencartWorks]]></author>
	<link>http://www.OpencartWorks.com</link>
	
<!-- ======= Show Menu Opencart For Navigation==========-->
    <file path="admin/controller/common/column_left.php">
        <operation>
			<search><![CDATA[$design = array();]]></search>
			<add  position="before"><![CDATA[
				$magentech = array();
				if ($this->user->hasPermission('access', 'extension/module/soconfig')) {		
					$magentech[] = array(
						'name'	   => 'So Themes Config',
						'href'     => $this->url->link('extension/module/soconfig', 'user_token=' . $this->session->data['user_token'], true),
						'children' => array()
					);
				}
				if ($this->user->hasPermission('access', 'extension/module/somobile')) {		
					$magentech[] = array(
						'name'	   => 'So Mobile',
						'href'     => $this->url->link('extension/module/somobile', 'user_token=' . $this->session->data['user_token'], true),
						'children' => array()
					);
				}
				if ($this->user->hasPermission('access', 'extension/module/so_page_builder')) {		
					$magentech[] = array(
						'name'	   => 'So Page Builder',
						'href'     => $this->url->link('extension/module/so_page_builder', 'user_token=' . $this->session->data['user_token'], true),
						'children' => array()
					);
				}
				if ($this->user->hasPermission('access', 'extension/module/so_megamenu')) {		
					$magentech[] = array(
						'name'	   => 'So Mega Menu',
						'href'     => $this->url->link('extension/module/so_megamenu', 'user_token=' . $this->session->data['user_token'], true),
						'children' => array()
					);
				}
				if ($this->user->hasPermission('access', 'extension/module/so_searchpro')) {    
                  $magentech[] = array(
                    'name'     => 'So Search Pro',
                    'href'     => $this->url->link('extension/module/so_searchpro', 'user_token=' . $this->session->data['user_token'], true),
                    'children' => array()
                  );
                }
                if ($this->user->hasPermission('access', 'extension/module/so_html_content')) {   
                  $magentech[] = array(
                    'name'     => 'So Html Content',
                    'href'     => $this->url->link('extension/module/so_html_content', 'user_token=' . $this->session->data['user_token'], true),
                    'children' => array()
                  );
                }
                if ($this->user->hasPermission('access', 'extension/module/so_home_slider')) {    
                  $magentech[] = array(
                    'name'     => 'So Home Slider',
                    'href'     => $this->url->link('extension/module/so_home_slider', 'user_token=' . $this->session->data['user_token'], true),
                    'children' => array()
                  );
                }
                /*if ($this->user->hasPermission('access', 'extension/module/so_filter_shop_by')) {   
                  $magentech[] = array(
                    'name'     => 'So Filter Shop By',
                    'href'     => $this->url->link('extension/module/so_filter_shop_by', 'user_token=' . $this->session->data['user_token'], true),
                    'children' => array()
                  );
                }*/
                if ($this->user->hasPermission('access', 'extension/module/so_newletter_custom_popup')) {   
                  $magentech[] = array(
                    'name'     => 'So Newletter',
                    'href'     => $this->url->link('extension/module/so_newletter_custom_popup', 'user_token=' . $this->session->data['user_token'], true),
                    'children' => array()
                  );
                }
                if ($this->user->hasPermission('access', 'extension/module/so_deals')) {    
                  $magentech[] = array(
                    'name'     => 'So Deals',
                    'href'     => $this->url->link('extension/module/so_deals', 'user_token=' . $this->session->data['user_token'], true),
                    'children' => array()
                  );
                }
                if ($this->user->hasPermission('access', 'extension/module/so_extra_slider')) {   
                  $magentech[] = array(
                    'name'     => 'So Extra Slider',
                    'href'     => $this->url->link('extension/module/so_extra_slider', 'user_token=' . $this->session->data['user_token'], true),
                    'children' => array()
                  );
                }
                if ($this->user->hasPermission('access', 'extension/module/so_sociallogin')) {    
                  $magentech[] = array(
                    'name'     => 'So Social Login',
                    'href'     => $this->url->link('extension/module/so_sociallogin', 'user_token=' . $this->session->data['user_token'], true),
                    'children' => array()
                  );
                }
                if ($this->user->hasPermission('access', 'extension/module/so_listing_tabs')) {   
                  $magentech[] = array(
                    'name'     => 'So Listing Tabs',
                    'href'     => $this->url->link('extension/module/so_listing_tabs', 'user_token=' . $this->session->data['user_token'], true),
                    'children' => array()
                  );
                }
                if ($this->user->hasPermission('access', 'extension/module/so_categories')) {   
                  $magentech[] = array(
                    'name'     => 'So Categories',
                    'href'     => $this->url->link('extension/module/so_categories', 'user_token=' . $this->session->data['user_token'], true),
                    'children' => array()
                  );
                }
                if ($this->user->hasPermission('access', 'extension/module/so_popular_tags')) {    
                  $magentech[] = array(
                    'name'     => 'So Popular Tags',
                    'href'     => $this->url->link('extension/module/so_popular_tags', 'user_token=' . $this->session->data['user_token'], true),
                    'children' => array()
                  );
                }
                if ($this->user->hasPermission('access', 'extension/module/so_quickview')) {    
                  $magentech[] = array(
                    'name'     => 'So Quickview',
                    'href'     => $this->url->link('extension/module/so_quickview', 'user_token=' . $this->session->data['user_token'], true),
                    'children' => array()
                  );
                }
                if ($this->user->hasPermission('access', 'extension/module/so_onepagecheckout')) {    
                  $magentech[] = array(
                    'name'     => 'So Onepage Checkout',
                    'href'     => $this->url->link('extension/module/so_onepagecheckout', 'user_token=' . $this->session->data['user_token'], true),
                    'children' => array()
                  );
                }
                if ($this->user->hasPermission('access', 'extension/module/so_latest_blog')) {    
                  $magentech[] = array(
                    'name'     => 'So Latest Blog',
                    'href'     => $this->url->link('extension/module/so_latest_blog', 'user_token=' . $this->session->data['user_token'], true),
                    'children' => array()
                  );
                }
                if ($this->user->hasPermission('access', 'extension/module/so_instagram_gallery')) {    
                  $magentech[] = array(
                    'name'     => 'So Instagram Gallery',
                    'href'     => $this->url->link('extension/module/so_instagram_gallery', 'user_token=' . $this->session->data['user_token'], true),
                    'children' => array()
                  );
                }
                if ($this->user->hasPermission('access', 'extension/module/so_countdown')) {    
                  $magentech[] = array(
                    'name'     => 'So Countdown Popup',
                    'href'     => $this->url->link('extension/module/so_countdown', 'user_token=' . $this->session->data['user_token'], true),
                    'children' => array()
                  );
                }
     
				if ($this->user->hasPermission('access', 'extension/module/so_call_for_price')) {    
                  $magentech[] = array(
                    'name'     => 'So Call For Price',
                    'href'     => $this->url->link('extension/module/so_call_for_price', 'user_token=' . $this->session->data['user_token'], true),
                    'children' => array()
                  );
                }
                if ($this->user->hasPermission('access', 'extension/module/so_facebook_message')) {    
                  $magentech[] = array(
                    'name'     => 'So Facebook Message',
                    'href'     => $this->url->link('extension/module/so_facebook_message', 'user_token=' . $this->session->data['user_token'], true),
                    'children' => array()
                  );
                }
                if ($this->user->hasPermission('access', 'extension/module/so_facebook')) {    
                  $magentech[] = array(
                    'name'     => 'So Facebook',
                    'href'     => $this->url->link('extension/module/so_facebook', 'user_token=' . $this->session->data['user_token'], true),
                    'children' => array()
                  );
                }
				if ($magentech) {					
					$data['menus'][] = array(
						'id'       => 'menu-magentech',
						'icon'	   => 'fa-cubes icon-so', 
						'name'	   => 'OpenCartWorks',
						'href'     => '',
						'children' => $magentech
					);		
				}
				
				]]></add>
				
        </operation>
    </file>
</modification>                                                                                                                     