{{ header }}{{ column_left }}
<div id="content">
  <div class="page-header">
    <div class="container-fluid">
	  <div class="pull-right"><a href="{{ add }}" data-toggle="tooltip" title="{{ button_add }}" class="btn btn-primary"><i class="fa fa-plus"></i></a>
        <button type="submit" form="form-product" formaction="{{ copy }}" data-toggle="tooltip" title="{{ button_copy }}" class="btn btn-warning"><i class="fa fa-copy"></i></button>
        <button type="button" data-toggle="tooltip" title="{{ button_delete }}" class="btn btn-danger" onclick="confirm('{{ text_confirm }}') ? $('#form-product').submit() : false;"><i class="fa fa-trash-o"></i></button>
		<button type="button" data-toggle="tooltip" title="{{ text_edit_items }}" onclick="editProductSetting('item_edit');" class="btn btn-info"><i class="fa fa-cog"></i></button>
      </div>
      <h1>{{ heading_title }}</h1>
      <ul class="breadcrumb">
        {% for breadcrumb in breadcrumbs %}
        <li><a href="{{ breadcrumb.href }}">{{ breadcrumb.text }}</a></li>
        {% endfor %}
      </ul>
    </div>
  </div>
  <div class="container-fluid">
    {% if error_warning %}
    <div class="alert alert-danger alert-dismissible"><i class="fa fa-exclamation-circle"></i> {{ error_warning }}
      <button type="button" class="close" data-dismiss="alert">&times;</button>
    </div>
    {% endif %}
    {% if success %}
    <div class="alert alert-success alert-dismissible"><i class="fa fa-check-circle"></i> {{ success }}
      <button type="button" class="close" data-dismiss="alert">&times;</button>
    </div>
    {% endif %}
    <div class="panel panel-default">
      <div class="panel-heading">
        <h3 class="panel-title"><i class="fa fa-list"></i> {{ text_list }}</h3>
      </div>
      <div class="panel-body">
        <div class="maxy-backdrop"></div>
	    <div class="messages-body"></div>
        <form action="{{ delete }}" method="post" enctype="multipart/form-data" id="form-product">
          <div class="table-responsive">
            <table class="table table-bordered table-hover">
              <thead>
				<tr class="table-selector">
				  <td colspan="11">
				    <div class="selector-left">
					  <div class="col-xs-6">
						<div class="input-group">
						  <span class="input-group-btn"><a onclick="editProductSetting('mass_edit');" data-toggle="tooltip" title="{{ text_setting_mass_edit }}" class="btn btn-info"><i class="fa fa-cogs"></i></a></span>
						  <span class="input-group-addon input-group-edit"><i class="fa fa-pencil fa-fw"></i> {{ text_mass_edit }}</span>
						  <select id="top-mass-edit-data" class="form-control selectpicker" title="{{ text_none }}" disabled="disabled" data-container="body">
							<optgroup label="{{ text_product_general }}">
							  {% if mass_hide_name %}<option value="name">{{ entry_name }}</option>{% endif %}
							  {% if mass_hide_description %}<option value="description">{{ entry_description }}</option>{% endif %}
							  {% if mass_hide_meta_title %}<option value="meta_title">{{ entry_meta_title }}</option>{% endif %}
							  {% if presence_column_meta_h1 != 'meta-tag-h1-not-in-opencart' %}{% if mass_hide_meta_h1 %}<option value="meta_h1">{{ entry_meta_h1 }}</option>{% endif %}{% endif %}
							  {% if mass_hide_meta_description %}<option value="meta_description">{{ entry_meta_description }}</option>{% endif %}
							  {% if mass_hide_meta_keyword %}<option value="meta_keyword">{{ entry_meta_keyword }}</option>{% endif %}
							  {% if mass_hide_tag %}<option value="tag">{{ entry_tag }}</option>{% endif %}
							</optgroup>
							<optgroup label="{{ text_product_data }}">
							  {% if mass_hide_image %}<option value="image">{{ column_image }}</option>{% endif %}
							  {% if mass_hide_price %}<option value="price">{{ column_price }}</option>{% endif %}
							  {% if mass_hide_quantity %}<option value="quantity">{{ column_quantity }}</option>{% endif %}
							  {% if mass_hide_minimum %}<option value="min_quantity">{{ entry_minimum }}</option>{% endif %}
							  {% if mass_hide_model %}<option value="model">{{ text_model }}</option>{% endif %}
							  {% if mass_hide_seo_url %}<option value="seo">{{ text_seo }}</option>{% endif %}					  
							  {% if mass_hide_code %}<option value="code">{{ text_code }}</option>{% endif %}	
							  {% if mass_hide_date_available %}<option value="date_available">{{ text_date_available }}</option>{% endif %}	
							  {% if mass_hide_shipping %}<option value="shipping">{{ text_shipping }}</option>{% endif %}
							  {% if mass_hide_size %}<option value="weight">{{ text_size }}</option>{% endif %}
							  {% if mass_hide_sort_order %}<option value="sort">{{ entry_sort_order }}</option>{% endif %}
							</optgroup>
							<optgroup label="{{ text_product_links }}">
							  {% if mass_hide_manufacturer %}<option value="manufacturer">{{ column_manufacturer }}</option>{% endif %}
							  {% if mass_hide_category %}<option value="categories">{{ column_category }}</option>{% endif %}
							  {% if mass_hide_filter %}<option value="filter">{{ entry_filter }}</option>{% endif %}
							  {% if mass_hide_store %}<option value="store">{{ entry_store }}</option>{% endif %}
							  {% if mass_hide_download %}<option value="download">{{ entry_download }}</option>{% endif %}
							  {% if mass_hide_related %}<option value="related">{{ entry_related }}</option>{% endif %}
							</optgroup>
							<optgroup label="{{ text_product_sale }}">
							  {% if mass_hide_add_discount %}<option value="discount">{{ text_add_discount }}</option>{% endif %}
							  {% if mass_hide_edit_discount %}<option value="update_discount">{{ text_edit_discount }}</option>{% endif %}
							  {% if mass_hide_add_special %}<option value="special">{{ text_add_special }}</option>{% endif %}
							  {% if mass_hide_edit_special %}<option value="update_special">{{ text_edit_special }}</option>{% endif %}
							</optgroup>
							<optgroup label="{{ text_attr_option }}">
							  {% if mass_hide_attribute %}<option value="attributes">{{ tab_attribute }}</option>{% endif %}
							  {% if mass_hide_option %}<option value="options">{{ tab_option }}</option>{% endif %}
							</optgroup>
							<optgroup label="{{ text_other_data }}">
							  {% if mass_hide_images %}<option value="images">{{ text_images }}</option>{% endif %}
							  {% if mass_hide_reward %}<option value="points">{{ entry_reward }}</option>{% endif %}
							  {% if mass_hide_design %}<option value="design">{{ tab_design }}</option>{% endif %}
							</optgroup>
						  </select>
						</div>
					  </div>
					</div>
					<div class="selector-right">
					  <div class="col-xs-6">
						<div class="input-group">
						  <span class="input-group-btn"><a onclick="editProductSetting('mass_delete');" data-toggle="tooltip" title="{{ text_setting_mass_delete }}" class="btn btn-info"><i class="fa fa-cogs"></i></a></span>
						  <span class="input-group-addon input-group-delete"><i class="fa fa-trash-o fa-fw"></i> {{ text_mass_delete }}</span>
						  <select onchange="massDelete($(this).val());" id="top-mass-delete-data" class="form-control selectpicker" title="{{ text_none }}" disabled="disabled" data-container="body">
							<optgroup label="{{ text_product_general }}">
							  {% if mass_delete_name %}<option value="name">{{ entry_name }}</option>{% endif %}
							  {% if mass_delete_description %}<option value="description">{{ entry_description }}</option>{% endif %}
							  {% if mass_delete_meta_title %}<option value="meta_title">{{ entry_meta_title }}</option>{% endif %}
							  {% if presence_column_meta_h1 != 'meta-tag-h1-not-in-opencart' %}{% if mass_delete_meta_h1 %}<option value="meta_h1">{{ entry_meta_h1 }}</option>{% endif %}{% endif %}
							  {% if mass_delete_meta_description %}<option value="meta_description">{{ entry_meta_description }}</option>{% endif %}
							  {% if mass_delete_meta_keyword %}<option value="meta_keyword">{{ entry_meta_keyword }}</option>{% endif %}
							  {% if mass_delete_tag %}<option value="tag">{{ entry_tag }}</option>{% endif %}
							</optgroup>
							<optgroup label="{{ text_product_data }}">
							  {% if mass_delete_image %}<option value="image">{{ column_image }}</option>{% endif %}
							  {% if mass_delete_model %}<option value="model">{{ entry_model }}</option>{% endif %}					  
							  {% if mass_delete_sku %}<option value="sku">{{ entry_sku }}</option>{% endif %}
							  {% if mass_delete_upc %}<option value="upc">{{ entry_upc }}</option>{% endif %}
							  {% if mass_delete_ean %}<option value="ean">{{ entry_ean }}</option>{% endif %}
							  {% if mass_delete_jan %}<option value="jan">{{ entry_jan }}</option>{% endif %}
							  {% if mass_delete_isbn %}<option value="isbn">{{ entry_isbn }}</option>{% endif %}
							  {% if mass_delete_mpn %}<option value="mpn">{{ entry_mpn }}</option>{% endif %}
							  {% if mass_delete_location %}<option value="location">{{ entry_location }}</option>{% endif %}
							  {% if mass_delete_price %}<option value="price">{{ column_price }}</option>{% endif %}
							  {% if mass_delete_tax_class %}<option value="tax">{{ entry_tax_class }}</option>{% endif %}
							  {% if mass_delete_quantity %}<option value="quantity">{{ column_quantity }}</option>{% endif %}
							  {% if mass_delete_minimum %}<option value="min_quantity">{{ entry_minimum }}</option>{% endif %}
							  {% if mass_delete_seo_url %}<option value="seo">{{ text_seo }}</option>{% endif %}
							  {% if mass_delete_date_available %}<option value="date_available">{{ entry_date_available }}</option>{% endif %}
							  {% if mass_delete_size %}<option value="size">{{ entry_size }}</option>{% endif %}
							  {% if mass_delete_weight %}<option value="weight">{{ entry_weight }}</option>{% endif %}
							  {% if mass_delete_sort_order %}<option value="sort_order">{{ entry_sort_order }}</option>{% endif %}
							</optgroup>
							<optgroup label="{{ text_product_links }}">
							  {% if mass_delete_manufacturer %}<option value="manufacturer">{{ column_manufacturer }}</option>{% endif %}
							  {% if mass_delete_category %}<option value="category">{{ column_category }}</option>{% endif %}
							  {% if mass_delete_filter %}<option value="filter">{{ entry_filter }}</option>{% endif %}
							  {% if mass_delete_store %}<option value="store">{{ entry_store }}</option>{% endif %}
							  {% if mass_delete_download %}<option value="download">{{ entry_download }}</option>{% endif %}
							  {% if mass_delete_related %}<option value="related">{{ entry_related }}</option>{% endif %}
							</optgroup>
							<optgroup label="{{ text_attr_option }}">
							  {% if mass_delete_attribute %}<option value="attribute">{{ tab_attribute }}</option>{% endif %}
							  {% if mass_delete_option %}<option value="option">{{ tab_option }}</option>{% endif %}
							</optgroup>
							<optgroup label="{{ text_product_sale }}">
							  {% if mass_delete_discount %}<option value="discount">{{ tab_discount }}</option>{% endif %}
							  {% if mass_delete_special %}<option value="special">{{ tab_special }}</option>{% endif %}
							</optgroup>
							<optgroup label="{{ text_other_data }}">
							  {% if mass_delete_images %}<option value="images">{{ text_images }}</option>{% endif %}
							  {% if mass_delete_reward %}<option value="points">{{ entry_reward }}</option>{% endif %}
							  {% if mass_delete_design %}<option value="design">{{ tab_design }}</option>{% endif %}
							</optgroup>
						  </select>
						</div>
					  </div>
					</div>
				  </td>
				</tr>
				<tr class="table-pagination">
				  <td colspan="11">
					<div class="pull-left">{{ pagination }}</div>
					{% if pagination %}
					  <div class="pull-right pagination-text">{{ results }}</div>
					  {% else %}
					  <div class="pull-right">{{ results }}</div>
					{% endif %}
				  </td>
				</tr>
				<tr class="product-list-title">
                  <td style="width: 1px;" class="text-center"><input type="checkbox" onclick="$('input[name*=\'selected\']').prop('checked', this.checked);" /></td>
                  <td class="text-center" style="width: 80px;">{{ column_image }}</td>
				  <td class="text-left">{% if sort == 'pd.name' %} <a href="{{ sort_name }}" class="{{ order|lower }}">{{ column_name }}</a> {% else %} <a href="{{ sort_name }}">{{ column_name }}</a> {% endif %}</td>
				  <td class="text-left">{% if sort == 'p2c.category_id' %} <a href="{{ sort_category }}" class="{{ order|lower }}">{{ column_category }}</a> {% else %} <a href="{{ sort_category }}">{{ column_category }}</a> {% endif %}</td>
				  <td class="text-left">{% if sort == 'm.name' %} <a href="{{ sort_manufacturer }}" class="{{ order|lower }}">{{ column_manufacturer }}</a> {% else %} <a href="{{ sort_manufacturer }}">{{ column_manufacturer }}</a> {% endif %}</td>
                  <td class="text-left">{% if sort == 'p.model' %} <a href="{{ sort_model }}" class="{{ order|lower }}">{{ column_model }}</a> {% else %} <a href="{{ sort_model }}">{{ column_model }}</a> {% endif %}</td>
                  <td class="text-center">{% if sort == 'p.price' %} <a href="{{ sort_price }}" class="{{ order|lower }}">{{ column_price }}</a> {% else %} <a href="{{ sort_price }}">{{ column_price }}</a> {% endif %}</td>
				  <td class="text-center" style="width: 90px;">{% if sort == 'p.quantity' %} <a href="{{ sort_quantity }}" class="{{ order|lower }}">{{ column_quantity }}</a> {% else %} <a href="{{ sort_quantity }}">{{ column_quantity }}</a> {% endif %}</td>
                  <td class="text-center" style="width: 90px;">{% if sort == 'p.sort_order' %} <a href="{{ sort_order }}" class="{{ order|lower }}">{{ column_sort_order }}</a> {% else %} <a href="{{ sort_order }}">{{ column_sort_order }}</a> {% endif %}</td>
				  <td class="text-center" style="width: 90px;">{% if sort == 'p.status' %} <a href="{{ sort_status }}" class="{{ order|lower }}">{{ column_status }}</a> {% else %} <a href="{{ sort_status }}">{{ column_status }}</a> {% endif %}</td>
                  <td class="text-center" style="min-width: 100px; width: 100px;">{{ column_action }}</td>
                </tr>
				<tr class="table-filter">
				  <td></td>
				  <td class="text-center">
				    <select name="filter_image" onchange="filter();" class="form-control">
					  <option value="*"></option>
					  {% if filter_image == '1' %}
					  <option value="1" selected="selected">{{ text_yes }}</option>
					  {% else %}
					  <option value="1">{{ text_yes }}</option>
					  {% endif %}
					  {% if filter_image == '0' %}
					  <option value="0" selected="selected">{{ text_no }}</option>
					  {% else %}
					  <option value="0">{{ text_no }}</option>
					  {% endif %}
					</select>
				  </td>
				  <td class="text-left">
				    <input type="text" name="filter_name" value="{{ filter_name }}" class="form-control" />
				  </td>
				  <td class="text-left">
				    <input type="text" name="filter_category" value="{{ filter_category }}" class="form-control" />	
					<input type="hidden" name="filter_category_id" value="{{ filter_category_id }}" />
				  </td>
				  <td class="text-left">
				    <input type="text" name="filter_manufacturer" value="{{ filter_manufacturer }}" class="form-control" />
					<input type="hidden" name="filter_manufacturer_id" value="{{ filter_manufacturer_id }}" />
				  </td>
				  <td class="text-left">
				    <input type="text" name="filter_model" value="{{ filter_model }}" class="form-control" />
				  </td>
				  <td class="text-center">
				    <input type="text" name="filter_price" value="{{ filter_price }}" class="form-control" />
				  </td>
				  <td class="text-center">
				    <input type="text" name="filter_quantity" value="{{ filter_quantity }}" class="form-control" />
				  </td>
				  <td class="text-center">
				    <input type="text" name="filter_sort_order" value="{{ filter_sort_order }}" class="form-control" />
				  </td>
				  <td class="text-center">
				    <select name="filter_status" onchange="filter();" class="form-control">
					  <option value="*"></option>
					  {% if filter_status == '1' %}
					  <option value="1" selected="selected">{{ text_enabled }}</option>
					  {% else %}
					  <option value="1">{{ text_enabled }}</option>
					  {% endif %}
					  {% if filter_status == '0' %}
					  <option value="0" selected="selected">{{ text_disabled }}</option>
					  {% else %}
					  <option value="0">{{ text_disabled }}</option>
					  {% endif %}
					</select>
				  </td>
				  <td class="text-center">
				    {% if product_add_filter %}<a data-toggle="popover-maxy" data-target="#popover-filter-sort-order" data-placement="left left-top" id="filter-sort-order" class="btn btn-info btn-sm"><i class="fa fa-filter fa-fw"></i></a>{% endif %}
				    <button type="button" onclick="filter();"{% if product_add_filter %} data-toggle="tooltip" title="{{ button_filter }}"{% endif %} class="btn btn-primary btn-sm">{% if product_add_filter %}<i class="fa fa-search fa-fw"></i>{% else %}<i class="fa fa-search"></i> {{ button_filter }}{% endif %}</button>
				  </td>
				</tr>
              </thead>
              <tbody id="product-list">
			    {% if products %}
                  {% for product in products %}
					<tr>
					  <td class="text-center">{% if product.product_id in selected %}
                        <input type="checkbox" name="selected[]" value="{{ product.product_id }}" checked="checked" />
                        {% else %}
                        <input type="checkbox" name="selected[]" value="{{ product.product_id }}" />
                        {% endif %}
					  </td>
					  <td class="text-center">
					    {% if product_image %}
						  <a data-toggle="popover-maxy" data-target="#product-image-{{ product.product_id }}" data-placement="right right-top" id="product-image{{ product.product_id }}" class="btn-hover-list"><img src="{{ product.image }}" alt="{{ product.name }}" class="img-thumbnail" /></a>
						  {% else %}
						  <img src="{{ product.image }}" alt="{{ product.name }}" class="img-thumbnail" />
					    {% endif %}
					  </td>
					  <td class="text-left">
						{% if product_name %}
						  <a onclick="getName('{{ product.product_id }}');" data-toggle="popover-maxy" data-target="#product-name-{{ product.product_id }}" data-placement="right right-top" id="product-name{{ product.product_id }}" class="btn-hover-list">
							{% if product.name %}
							  {{ product.name }}
							  {% else %}
							  {{ text_without }}
							{% endif %}
						  </a>
						  {% else %}
						  {% if product.name %}
							{{ product.name }}
							{% else %}
							{{ text_without }}
						  {% endif %}
						{% endif %}
					  </td>
					  <td class="text-left">
					    {% if product_categories %}
						  <a onclick="getCategory('{{ product.product_id }}');" data-toggle="popover-maxy" data-target="#product-category-{{ product.product_id }}" data-placement="right right-top" id="product-categories-{{ product.product_id }}" class="btn-hover-list">
							{% if product.categories %}
							  {% for product_category in product.categories %}
								{{ product_category.name }}<br />
							  {% endfor %}
							  {% else %}
							  {{ text_without }}
							{% endif %}
						  </a>
						  {% else %}
						  {% if product.categories %}
							{% for product_category in product.categories %}
							  {{ product_category.name }}<br />
							{% endfor %}
							{% else %}
							{{ text_without }}
						  {% endif %}
						{% endif %}					
					  </td>
					  <td class="text-left">
						{% if product_manufacturer %}
						  <a onclick="getManufacturer('{{ product.product_id }}');" data-toggle="popover-maxy" data-target="#product-manufacturer-{{ product.product_id }}" data-placement="right right-top" id="product-manufacturer{{ product.product_id }}" class="btn-hover-list">
							{% if product.manufacturer %}
							  {{ product.manufacturer }}
							  {% else %}
							  {{ text_without }}
							{% endif %}	
						  </a>
						  {% else %}
						  {% if product.manufacturer %}
							{{ product.manufacturer }}
							{% else %}
							{{ text_without }}
						  {% endif %}
						{% endif %}
					  </td>				  
					  <td class="text-left">
					    {% if product_model %}
						  <a data-toggle="popover-maxy" data-target="#product-model-{{ product.product_id }}" data-placement="left left-top" id="product-model{{ product.product_id }}" class="btn-hover-list">
							{% if product.model %}
							  {{ product.model }}
							  {% else %}
							  {{ text_without }}
							{% endif %}
						  </a>
						  {% else %}
						  {% if product.model %}
							{{ product.model }}
							{% else %}
							{{ text_without }}
						  {% endif %}
						{% endif %}
					  </td>
					  <td class="text-center">
						{% if product_price %}
						  <a data-toggle="popover-maxy" data-target="#product-price-{{ product.product_id }}" data-placement="left left-top" id="product-price{{ product.product_id }}" class="btn-hover-list">{{ product.price }}</a><br />
						  {% else %}
						  {{ product.price }}<br />
						{% endif %}
						{% if product_special %}
						  <a onclick="editMore('{{ product.product_id }}', 'special');" id="product-price-special{{ product.product_id }}" class="btn-hover-list"><span class="text-danger">{{ product.special }}</span></a>
						  {% else %}
						  <span class="text-danger">{{ product.special }}</span>
						{% endif %} 
					  </td>                 
					  <td class="text-center">
					    {% if product_quantity %}
						  {% if product.quantity <= 0 %}
							<a data-toggle="popover-maxy" data-target="#product-quantity-{{ product.product_id }}" data-placement="left left-top" id="product-quantity{{ product.product_id }}" class="btn btn-danger btn-sm">{{ product.quantity }}</a>
							{% elseif product.quantity <= 4 %}
							<a data-toggle="popover-maxy" data-target="#product-quantity-{{ product.product_id }}" data-placement="left left-top" id="product-quantity{{ product.product_id }}" class="btn btn-warning btn-sm">{{ product.quantity }}</a>
							{% elseif product.quantity <= 9 %}
							<a data-toggle="popover-maxy" data-target="#product-quantity-{{ product.product_id }}" data-placement="left left-top" id="product-quantity{{ product.product_id }}" class="btn btn-info btn-sm">{{ product.quantity }}</a>
							{% elseif product.quantity <= 14 %}
							<a data-toggle="popover-maxy" data-target="#product-quantity-{{ product.product_id }}" data-placement="left left-top" id="product-quantity{{ product.product_id }}" class="btn btn-primary btn-sm">{{ product.quantity }}</a>
							{% elseif product.quantity <= 19 %}
							<a data-toggle="popover-maxy" data-target="#product-quantity-{{ product.product_id }}" data-placement="left left-top" id="product-quantity{{ product.product_id }}" class="btn btn-success btn-sm">{{ product.quantity }}</a>
							{% else %}
							<a data-toggle="popover-maxy" data-target="#product-quantity-{{ product.product_id }}" data-placement="left left-top" id="product-quantity{{ product.product_id }}" class="btn btn-default btn-sm">{{ product.quantity }}</a>
						  {% endif %} 
						  {% else %}
						  {% if product.quantity <= 0 %}
							<span class="btn btn-danger btn-sm">{{ product.quantity }}</span>
							{% elseif product.quantity <= 4 %}
							<span class="btn btn-warning btn-sm">{{ product.quantity }}</span>
							{% elseif product.quantity <= 9 %}
							<span class="btn btn-info btn-sm">{{ product.quantity }}</span>
							{% elseif product.quantity <= 14 %}
							<span class="btn btn-primary btn-sm">{{ product.quantity }}</span>
							{% elseif product.quantity <= 19 %}
							<span class="btn btn-success btn-sm">{{ product.quantity }}</span>
							{% else %}
							<span class="btn btn-default btn-sm">{{ product.quantity }}</span>
						  {% endif %} 
						{% endif %} 
					  </td>
					  <td class="text-center">
					    {% if product_sort_order %}
						  <a data-toggle="popover-maxy" data-target="#product-sort-{{ product.product_id }}" data-placement="left left-top" id="product-sort{{ product.product_id }}" class="btn btn-default btn-sm">{{ product.sort_order }}</a>
						  {% else %}
						  {{ product.sort_order }}
					    {% endif %} 
					  </td>
					  <td class="text-center">
					    {% if product_status %}
						  <a class="ajax-status" id="status-{{ product.product_id }}">{{ product.status }}</a>
						  {% else %}
						  {{ product.no_status }}
						{% endif %} 
					  </td>
					  <td class="text-center">
					    {% if product_more %}<a data-toggle="popover-maxy" data-target="#product-more-{{ product.product_id }}" data-placement="left" class="btn btn-warning btn-sm"><i class="fa fa-star-o fa-fw"></i></a>{% endif %}
						<a href="{{ product.edit }}" data-toggle="tooltip" title="{{ button_edit }}" class="btn btn-primary btn-sm"><i class="fa fa-pencil fa-fw"></i></a>
					  </td>
					</tr>
				  {% endfor %}
                  {% else %}
                  <tr>
                    <td class="text-center" colspan="11">{{ text_no_results }}</td>
                  </tr>
                {% endif %}
              </tbody>
			  <tfoot>
			    <tr class="product-list-title">
                  <td style="width: 1px;" class="text-center"><input type="checkbox" onclick="$('input[name*=\'selected\']').prop('checked', this.checked);" /></td>
                  <td class="text-center" style="width: 80px;">{{ column_image }}</td>
				  <td class="text-left">{% if sort == 'pd.name' %} <a href="{{ sort_name }}" class="{{ order|lower }}">{{ column_name }}</a> {% else %} <a href="{{ sort_name }}">{{ column_name }}</a> {% endif %}</td>
				  <td class="text-left">{% if sort == 'p2c.category_id' %} <a href="{{ sort_category }}" class="{{ order|lower }}">{{ column_category }}</a> {% else %} <a href="{{ sort_category }}">{{ column_category }}</a> {% endif %}</td>
				  <td class="text-left">{% if sort == 'm.name' %} <a href="{{ sort_manufacturer }}" class="{{ order|lower }}">{{ column_manufacturer }}</a> {% else %} <a href="{{ sort_manufacturer }}">{{ column_manufacturer }}</a> {% endif %}</td>
                  <td class="text-left">{% if sort == 'p.model' %} <a href="{{ sort_model }}" class="{{ order|lower }}">{{ column_model }}</a> {% else %} <a href="{{ sort_model }}">{{ column_model }}</a> {% endif %}</td>
                  <td class="text-center">{% if sort == 'p.price' %} <a href="{{ sort_price }}" class="{{ order|lower }}">{{ column_price }}</a> {% else %} <a href="{{ sort_price }}">{{ column_price }}</a> {% endif %}</td>
				  <td class="text-center">{% if sort == 'p.quantity' %} <a href="{{ sort_quantity }}" class="{{ order|lower }}">{{ column_quantity }}</a> {% else %} <a href="{{ sort_quantity }}">{{ column_quantity }}</a> {% endif %}</td>
                  <td class="text-center">{% if sort == 'p.sort_order' %} <a href="{{ sort_order }}" class="{{ order|lower }}">{{ column_sort_order }}</a> {% else %} <a href="{{ sort_order }}">{{ column_sort_order }}</a> {% endif %}</td>
				  <td class="text-center">{% if sort == 'p.status' %} <a href="{{ sort_status }}" class="{{ order|lower }}">{{ column_status }}</a> {% else %} <a href="{{ sort_status }}">{{ column_status }}</a> {% endif %}</td>
                  <td class="text-center">{{ column_action }}</td>
                </tr>
				<tr class="table-pagination">
				  <td colspan="11">
					<div class="pull-left">{{ pagination }}</div>
					{% if pagination %}
					  <div class="pull-right pagination-text">{{ results }}</div>
					  {% else %}
					  <div class="pull-right">{{ results }}</div>
					{% endif %}
				  </td>
				</tr>
				<tr class="table-selector">
				  <td colspan="11">
				    <div class="selector-left">
					  <div class="col-xs-6">
						<div class="input-group">
						  <span class="input-group-btn"><a onclick="editProductSetting('mass_edit');" data-toggle="tooltip" title="{{ text_setting_mass_edit }}" class="btn btn-info"><i class="fa fa-cogs"></i></a></span>
						  <span class="input-group-addon input-group-edit"><i class="fa fa-pencil fa-fw"></i> {{ text_mass_edit }}</span>
						  <select id="bottom-mass-edit-data" class="form-control selectpicker" title="{{ text_none }}" disabled="disabled" data-container="body">
							<optgroup label="{{ text_product_general }}">
							  {% if mass_hide_name %}<option value="name">{{ entry_name }}</option>{% endif %}
							  {% if mass_hide_description %}<option value="description">{{ entry_description }}</option>{% endif %}
							  {% if mass_hide_meta_title %}<option value="meta_title">{{ entry_meta_title }}</option>{% endif %}
							  {% if presence_column_meta_h1 != 'meta-tag-h1-not-in-opencart' %}{% if mass_hide_meta_h1 %}<option value="meta_h1">{{ entry_meta_h1 }}</option>{% endif %}{% endif %}
							  {% if mass_hide_meta_description %}<option value="meta_description">{{ entry_meta_description }}</option>{% endif %}
							  {% if mass_hide_meta_keyword %}<option value="meta_keyword">{{ entry_meta_keyword }}</option>{% endif %}
							  {% if mass_hide_tag %}<option value="tag">{{ entry_tag }}</option>{% endif %}
							</optgroup>
							<optgroup label="{{ text_product_data }}">
							  {% if mass_hide_image %}<option value="image">{{ column_image }}</option>{% endif %}
							  {% if mass_hide_price %}<option value="price">{{ column_price }}</option>{% endif %}
							  {% if mass_hide_quantity %}<option value="quantity">{{ column_quantity }}</option>{% endif %}
							  {% if mass_hide_minimum %}<option value="min_quantity">{{ entry_minimum }}</option>{% endif %}
							  {% if mass_hide_model %}<option value="model">{{ text_model }}</option>{% endif %}
							  {% if mass_hide_seo_url %}<option value="seo">{{ text_seo }}</option>{% endif %}					  
							  {% if mass_hide_code %}<option value="code">{{ text_code }}</option>{% endif %}	
							  {% if mass_hide_date_available %}<option value="date_available">{{ text_date_available }}</option>{% endif %}	
							  {% if mass_hide_shipping %}<option value="shipping">{{ text_shipping }}</option>{% endif %}
							  {% if mass_hide_size %}<option value="weight">{{ text_size }}</option>{% endif %}
							  {% if mass_hide_sort_order %}<option value="sort">{{ entry_sort_order }}</option>{% endif %}
							</optgroup>
							<optgroup label="{{ text_product_links }}">
							  {% if mass_hide_manufacturer %}<option value="manufacturer">{{ column_manufacturer }}</option>{% endif %}
							  {% if mass_hide_category %}<option value="categories">{{ column_category }}</option>{% endif %}
							  {% if mass_hide_filter %}<option value="filter">{{ entry_filter }}</option>{% endif %}
							  {% if mass_hide_store %}<option value="store">{{ entry_store }}</option>{% endif %}
							  {% if mass_hide_download %}<option value="download">{{ entry_download }}</option>{% endif %}
							  {% if mass_hide_related %}<option value="related">{{ entry_related }}</option>{% endif %}
							</optgroup>
							<optgroup label="{{ text_product_sale }}">
							  {% if mass_hide_add_discount %}<option value="discount">{{ text_add_discount }}</option>{% endif %}
							  {% if mass_hide_edit_discount %}<option value="update_discount">{{ text_edit_discount }}</option>{% endif %}
							  {% if mass_hide_add_special %}<option value="special">{{ text_add_special }}</option>{% endif %}
							  {% if mass_hide_edit_special %}<option value="update_special">{{ text_edit_special }}</option>{% endif %}
							</optgroup>
							<optgroup label="{{ text_attr_option }}">
							  {% if mass_hide_attribute %}<option value="attributes">{{ tab_attribute }}</option>{% endif %}
							  {% if mass_hide_option %}<option value="options">{{ tab_option }}</option>{% endif %}
							</optgroup>
							<optgroup label="{{ text_other_data }}">
							  {% if mass_hide_images %}<option value="images">{{ text_images }}</option>{% endif %}
							  {% if mass_hide_reward %}<option value="points">{{ entry_reward }}</option>{% endif %}
							  {% if mass_hide_design %}<option value="design">{{ tab_design }}</option>{% endif %}
							</optgroup>
						  </select>
						</div>
					  </div>
					</div>
					<div class="selector-right">
					  <div class="col-xs-6">
						<div class="input-group">
						  <span class="input-group-btn"><a onclick="editProductSetting('mass_delete');" data-toggle="tooltip" title="{{ text_setting_mass_delete }}" class="btn btn-info"><i class="fa fa-cogs"></i></a></span>
						  <span class="input-group-addon input-group-delete"><i class="fa fa-trash-o fa-fw"></i> {{ text_mass_delete }}</span>
						  <select onchange="massDelete($(this).val());" id="bottom-mass-delete-data" class="form-control selectpicker" title="{{ text_none }}" disabled="disabled" data-container="body">
							<optgroup label="{{ text_product_general }}">
							  {% if mass_delete_name %}<option value="name">{{ entry_name }}</option>{% endif %}
							  {% if mass_delete_description %}<option value="description">{{ entry_description }}</option>{% endif %}
							  {% if mass_delete_meta_title %}<option value="meta_title">{{ entry_meta_title }}</option>{% endif %}
							  {% if presence_column_meta_h1 != 'meta-tag-h1-not-in-opencart' %}{% if mass_delete_meta_h1 %}<option value="meta_h1">{{ entry_meta_h1 }}</option>{% endif %}{% endif %}
							  {% if mass_delete_meta_description %}<option value="meta_description">{{ entry_meta_description }}</option>{% endif %}
							  {% if mass_delete_meta_keyword %}<option value="meta_keyword">{{ entry_meta_keyword }}</option>{% endif %}
							  {% if mass_delete_tag %}<option value="tag">{{ entry_tag }}</option>{% endif %}
							</optgroup>
							<optgroup label="{{ text_product_data }}">
							  {% if mass_delete_image %}<option value="image">{{ column_image }}</option>{% endif %}
							  {% if mass_delete_model %}<option value="model">{{ entry_model }}</option>{% endif %}					  
							  {% if mass_delete_sku %}<option value="sku">{{ entry_sku }}</option>{% endif %}
							  {% if mass_delete_upc %}<option value="upc">{{ entry_upc }}</option>{% endif %}
							  {% if mass_delete_ean %}<option value="ean">{{ entry_ean }}</option>{% endif %}
							  {% if mass_delete_jan %}<option value="jan">{{ entry_jan }}</option>{% endif %}
							  {% if mass_delete_isbn %}<option value="isbn">{{ entry_isbn }}</option>{% endif %}
							  {% if mass_delete_mpn %}<option value="mpn">{{ entry_mpn }}</option>{% endif %}
							  {% if mass_delete_location %}<option value="location">{{ entry_location }}</option>{% endif %}
							  {% if mass_delete_price %}<option value="price">{{ column_price }}</option>{% endif %}
							  {% if mass_delete_tax_class %}<option value="tax">{{ entry_tax_class }}</option>{% endif %}
							  {% if mass_delete_quantity %}<option value="quantity">{{ column_quantity }}</option>{% endif %}
							  {% if mass_delete_minimum %}<option value="min_quantity">{{ entry_minimum }}</option>{% endif %}
							  {% if mass_delete_seo_url %}<option value="seo">{{ text_seo }}</option>{% endif %}
							  {% if mass_delete_date_available %}<option value="date_available">{{ entry_date_available }}</option>{% endif %}
							  {% if mass_delete_size %}<option value="size">{{ entry_size }}</option>{% endif %}
							  {% if mass_delete_weight %}<option value="weight">{{ entry_weight }}</option>{% endif %}
							  {% if mass_delete_sort_order %}<option value="sort_order">{{ entry_sort_order }}</option>{% endif %}
							</optgroup>
							<optgroup label="{{ text_product_links }}">
							  {% if mass_delete_manufacturer %}<option value="manufacturer">{{ column_manufacturer }}</option>{% endif %}
							  {% if mass_delete_category %}<option value="category">{{ column_category }}</option>{% endif %}
							  {% if mass_delete_filter %}<option value="filter">{{ entry_filter }}</option>{% endif %}
							  {% if mass_delete_store %}<option value="store">{{ entry_store }}</option>{% endif %}
							  {% if mass_delete_download %}<option value="download">{{ entry_download }}</option>{% endif %}
							  {% if mass_delete_related %}<option value="related">{{ entry_related }}</option>{% endif %}
							</optgroup>
							<optgroup label="{{ text_attr_option }}">
							  {% if mass_delete_attribute %}<option value="attribute">{{ tab_attribute }}</option>{% endif %}
							  {% if mass_delete_option %}<option value="option">{{ tab_option }}</option>{% endif %}
							</optgroup>
							<optgroup label="{{ text_product_sale }}">
							  {% if mass_delete_discount %}<option value="discount">{{ tab_discount }}</option>{% endif %}
							  {% if mass_delete_special %}<option value="special">{{ tab_special }}</option>{% endif %}
							</optgroup>
							<optgroup label="{{ text_other_data }}">
							  {% if mass_delete_images %}<option value="images">{{ text_images }}</option>{% endif %}
							  {% if mass_delete_reward %}<option value="points">{{ entry_reward }}</option>{% endif %}
							  {% if mass_delete_design %}<option value="design">{{ tab_design }}</option>{% endif %}
							</optgroup>
						  </select>
						</div>
					  </div>
					</div>
				  </td>
				</tr>
			  </tfoot>
            </table>
          </div>
        </form>
      </div>
    </div>
  </div>
  <input type="hidden" name="text_confirm" value="{{ text_confirm }}" id="text-confirm" />
  <input type="hidden" name="error_select_product" value="{{ error_select_product }}" id="error-select-product" />
  <input type="hidden" name="placeholder" value="{{ placeholder }}" id="product-placeholder" />
  <input type="hidden" name="permission" value="{{ permission }}" id="product-permission" />
  <input type="hidden" name="error_permission" value="{{ error_permission }}" id="product-error-permission" />
  <input type="hidden" name="text_all_categories" value="{{ text_all_categories }}" id="product-text-all-categories" />
  <input type="hidden" name="text_all_brands" value="{{ text_all_brands }}" id="product-text-all-brands" />
  <input type="hidden" name="text_all_attributes" value="{{ text_all_attributes }}" id="product-text-all-attributes" />
  <input type="hidden" name="text_all_filters" value="{{ text_all_filters }}" id="product-text-all-filters" />
  <input type="hidden" name="text_no_category" value="{{ text_no_category }}" id="product-text-no-category" />
  <input type="hidden" name="text_no_brand" value="{{ text_no_brand }}" id="product-text-no-brand" />
  <input type="hidden" name="text_no_attribute" value="{{ text_no_attribute }}" id="product-text-no-attribute" />
  <input type="hidden" name="text_no_filter" value="{{ text_no_filter }}" id="product-text-no-filter" />
  <input type="hidden" name="text_without" value="{{ text_without }}" id="text-without" />
  {% if product_add_filter %}
	<div id="popover-filter-sort-order" class="popover popover-lg popover-primary animate littleFadeInLeft">
	  <div class="arrow"></div>
	  <h3 class="popover-title">{{ text_add_filter }}
	  <a id="close-filter-sort-order" data-dismiss="popover-maxy" class="btn btn-default btn-xs"><i class="fa fa-close"></i></a></h3>
	  <div class="popover-content form-horizontal">
		<div class="row">
		  <div class="col-sm-6">
			<label class="control-label" for="input-attribute">{{ entry_attribute }}</label>
			<input type="text" name="filter_attribute" value="{{ filter_attribute }}" placeholder="{{ entry_attribute }}" id="input-attribute" class="form-control" />	
			<input type="hidden" name="filter_attribute_id" value="{{ filter_attribute_id }}" />
		  </div>
		  <div class="col-sm-6">
			<label class="control-label" for="input-attribute-value">{{ entry_attribute_value }}</label>
			<input type="text" name="filter_attribute_value" value="{{ filter_attribute_value }}" placeholder="{{ entry_attribute_value }}" id="input-attribute-value" class="form-control" />
		  </div>
		  <div class="col-sm-4">
			<label class="control-label" for="input-sku">{{ entry_sku }}</label>
			<input type="text" name="filter_sku" value="{{ filter_sku }}" placeholder="{{ entry_sku }}" id="input-sku" class="form-control" />
		  </div>
		  <div class="col-sm-4">
			<label class="control-label" for="input-location">{{ entry_location }}</label>
			<input type="text" name="filter_location" value="{{ filter_location }}" placeholder="{{ entry_location }}" id="input-location" class="form-control" />
		  </div>
		  <div class="col-sm-4">
			<label class="control-label" for="input-filter">{{ entry_filter }}</label>
			<input type="text" name="filter_filter" value="{{ filter_filter }}" placeholder="{{ entry_filter }}" id="input-filter" class="form-control" />	
			<input type="hidden" name="filter_filter_id" value="{{ filter_filter_id }}" />
		  </div>
		</div>
	  </div>
	  <div class="popover-footer">
	   <button type="button" onclick="filter();" class="btn btn-primary btn-sm"><i class="fa fa-search fa-fw"></i> {{ button_filter }}</button>
	  </div>
	</div>
  {% endif %}
  {% for product in products %}
	<div id="product-image-{{ product.product_id }}" class="popover popover-primary animate littleFadeInRight">
	  <div class="arrow"></div>
	  <h3 class="popover-title">{{ column_image }}<a id="close-image-{{ product.product_id }}" data-dismiss="popover-maxy" class="btn btn-default btn-xs"><i class="fa fa-close"></i></a></h3>
	  <div class="popover-content">
		<div class="row">
		  <a onclick="linkImage('{{ product.product_id }}');" class="btn btn-link"><img src="{{ product.thumb }}" class="img-thumbnail" /></a><input type="hidden" name="image" value="" id="product-image" />
		</div>
	  </div>
	  <div class="popover-footer">
		<a onclick="editImage('{{ product.product_id }}');" class="btn btn-primary btn-sm"><i class="fa fa-save fa-fw"></i></a><a onclick="imageClear('{{ product.product_id }}');" class="btn btn-danger btn-sm"><i class="fa fa-eraser fa-fw"></i></a>
	  </div>
	</div>
	<div id="product-name-{{ product.product_id }}" class="popover popover-md popover-primary popover-hover-list animate littleFadeInRight">
	  <div class="arrow"></div>
	  <h3 class="popover-title">{{ column_name }}<a id="close-name-{{ product.product_id }}" class="btn btn-default btn-xs"><i class="fa fa-close"></i></a></h3>
	  <div id="product-name-content-{{ product.product_id }}"></div>
	</div>
	<div id="product-category-{{ product.product_id }}" class="popover popover-xl popover-primary animate littleFadeInRight">
	  <div class="arrow"></div>
	  <h3 class="popover-title">{{ column_category }}<a id="close-category-{{ product.product_id }}" class="btn btn-default btn-xs"><i class="fa fa-close"></i></a></h3>
	  <div id="product-category-content-{{ product.product_id }}"></div>
	</div>
	<div id="product-manufacturer-{{ product.product_id }}" class="popover popover-primary animate littleFadeInRight">
	  <div class="arrow"></div>
	  <h3 class="popover-title">{{ column_manufacturer }}<a id="close-manufacturer-{{ product.product_id }}" class="btn btn-default btn-xs"><i class="fa fa-close"></i></a></h3>
	  <div id="product-manufacturer-content-{{ product.product_id }}"></div>
	</div>
	<div id="product-model-{{ product.product_id }}" class="popover popover-primary animate littleFadeInLeft">
	  <div class="arrow"></div>
	  <h3 class="popover-title">{{ column_model }}<a id="close-model-{{ product.product_id }}" data-dismiss="popover-maxy" class="btn btn-default btn-xs"><i class="fa fa-close"></i></a></h3>
	  <div class="popover-content">
		<input type="text" name="model" value="{{ product.model }}" placeholder="{{ column_model }}" id="input-model{{ product.product_id }}" class="form-control" />
	  </div>
	  <div class="popover-footer">
		<a onclick="editModel('{{ product.product_id }}');" class="btn btn-primary btn-sm"><i class="fa fa-save fa-fw"></i></a><a onclick="modelClear('{{ product.product_id }}');" class="btn btn-danger btn-sm"><i class="fa fa-eraser fa-fw"></i></a>
	  </div>
	</div>
	<div id="product-quantity-{{ product.product_id }}" class="popover popover-primary animate littleFadeInLeft">
	  <div class="arrow"></div>
	  <h3 class="popover-title">{{ column_quantity }}<a id="close-quantity-{{ product.product_id }}" data-dismiss="popover-maxy" class="btn btn-default btn-xs"><i class="fa fa-close"></i></a></h3>
	  <div class="popover-content">
		<input type="number" name="quantity" value="{{ product.quantity }}" placeholder="{{ column_quantity }}" id="input-quantity{{ product.product_id }}" class="form-control" />
	  </div>
	  <div class="popover-footer">
		<a onclick="editQuantity('{{ product.product_id }}');" class="btn btn-primary btn-sm"><i class="fa fa-save fa-fw"></i></a><a onclick="quantityClear('{{ product.product_id }}');" class="btn btn-danger btn-sm"><i class="fa fa-eraser fa-fw"></i></a>
	  </div>
	</div>
	<div id="product-price-{{ product.product_id }}" class="popover popover-primary animate littleFadeInLeft">
	  <div class="arrow"></div>
	  <h3 class="popover-title">{{ column_price }}<a id="close-price-{{ product.product_id }}" data-dismiss="popover-maxy" class="btn btn-default btn-xs"><i class="fa fa-close"></i></a></h3>
	  <div class="popover-content">
		<input type="number" name="price" value="{{ product.price_not_formated }}" placeholder="{{ column_price }}" id="input-price{{ product.product_id }}" class="form-control" />
	  </div>
	  <div class="popover-footer">
		<a onclick="editPrice('{{ product.product_id }}');" class="btn btn-primary btn-sm"><i class="fa fa-save fa-fw"></i></a><a onclick="priceClear('{{ product.product_id }}');" class="btn btn-danger btn-sm"><i class="fa fa-eraser fa-fw"></i></a>
	  </div>
	</div>
	<div id="product-sort-{{ product.product_id }}" class="popover popover-primary animate littleFadeInLeft">
	  <div class="arrow"></div>
	  <h3 class="popover-title">{{ column_sort_order }}<a id="close-sort-{{ product.product_id }}" data-dismiss="popover-maxy" class="btn btn-default btn-xs"><i class="fa fa-close"></i></a></h3>
	  <div class="popover-content">
		<input type="number" name="sort_order" value="{{ product.sort_order }}" placeholder="{{ column_sort_order }}" id="input-sort{{ product.product_id }}" class="form-control" />
	  </div>
	  <div class="popover-footer">
		<a onclick="editSort('{{ product.product_id }}');" class="btn btn-primary btn-sm"><i class="fa fa-save fa-fw"></i></a><a onclick="sortClear('{{ product.product_id }}');" class="btn btn-danger btn-sm"><i class="fa fa-eraser fa-fw"></i></a>
	  </div>
	</div>
	<div id="product-more-{{ product.product_id }}" class="popover popover-primary popover-xxl popover-more animate littleFadeInLeft">
	  <div class="arrow"></div>
	  <div class="popover-content">
		{% if product_general %}<a onclick="editMore('{{ product.product_id }}', 'general');" class="btn btn-primary btn-sm" data-toggle="tooltip" title="{{ text_general }}"><i class="fa fa-reorder fa-fw"></i></a>{% endif %}
		{% if product_code %}<a onclick="editMore('{{ product.product_id }}', 'code');" class="btn btn-primary btn-sm" data-toggle="tooltip" title="{{ text_code }}"><i class="fa fa-code fa-fw"></i></a>{% endif %}
		{% if product_tax %}<a onclick="editMore('{{ product.product_id }}', 'tax');" class="btn btn-primary btn-sm" data-toggle="tooltip" title="{{ text_tax }}"><i class="fa fa-globe fa-fw"></i></a>{% endif %}
		{% if product_stock %}<a onclick="editMore('{{ product.product_id }}', 'stock');" class="btn btn-primary btn-sm" data-toggle="tooltip" title="{{ text_stock }}"><i class="fa fa-truck fa-fw"></i></a>{% endif %}
		{% if product_seo %}<a onclick="editMore('{{ product.product_id }}', 'seo');" class="btn btn-primary btn-sm" data-toggle="tooltip" title="{{ text_seo }}"><i class="fa fa-link fa-fw"></i></a>{% endif %}
		{% if product_date %}<a onclick="editMore('{{ product.product_id }}', 'date');" class="btn btn-primary btn-sm" data-toggle="tooltip" title="{{ entry_date_available }}"><i class="fa fa-calendar fa-fw"></i></a>{% endif %}
		{% if product_size %}<a onclick="editMore('{{ product.product_id }}', 'size');" class="btn btn-primary btn-sm" data-toggle="tooltip" title="{{ text_size }}"><i class="fa fa-arrows-alt fa-fw"></i></a>{% endif %}
		{% if product_filter %}<a onclick="editMore('{{ product.product_id }}', 'filter');" class="btn btn-primary btn-sm" data-toggle="tooltip" title="{{ entry_filter }}"><i class="fa fa-filter fa-fw"></i></a>{% endif %}
		{% if product_store %}<a onclick="editMore('{{ product.product_id }}', 'store');" class="btn btn-primary btn-sm" data-toggle="tooltip" title="{{ entry_store }}"><i class="fa fa-flag fa-fw"></i></a>{% endif %}
		{% if product_download %}<a onclick="editMore('{{ product.product_id }}', 'download');" class="btn btn-primary btn-sm" data-toggle="tooltip" title="{{ entry_download }}"><i class="fa fa-download fa-fw"></i></a>{% endif %}
		{% if product_related %}<a onclick="editMore('{{ product.product_id }}', 'related');" class="btn btn-primary btn-sm" data-toggle="tooltip" title="{{ entry_related }}"><i class="fa fa-thumbs-o-up fa-fw"></i></a>{% endif %}
		{% if product_attribute %}<a onclick="editMore('{{ product.product_id }}', 'attribute');" class="btn btn-primary btn-sm" data-toggle="tooltip" title="{{ entry_attribute }}"><i class="fa fa-cogs fa-fw"></i></a>{% endif %}
		{% if product_option %}<a onclick="editMore('{{ product.product_id }}', 'option');" class="btn btn-primary btn-sm" data-toggle="tooltip" title="{{ tab_option }}"><i class="fa fa-cubes fa-fw"></i></a>{% endif %}
		{% if product_discount %}<a onclick="editMore('{{ product.product_id }}', 'discount');" class="btn btn-primary btn-sm" data-toggle="tooltip" title="{{ tab_discount }}"><i class="fa fa-legal fa-fw"></i></a>{% endif %}
		{% if product_special %}<a onclick="editMore('{{ product.product_id }}', 'special');" class="btn btn-primary btn-sm" data-toggle="tooltip" title="{{ tab_special }}"><i class="fa fa-tag fa-fw"></i></a>{% endif %}
		{% if product_images %}<a onclick="editMore('{{ product.product_id }}', 'images');" class="btn btn-primary btn-sm" data-toggle="tooltip" title="{{ tab_image }}"><i class="fa fa-image fa-fw"></i></a>{% endif %}
		{% if product_reward %}<a onclick="editMore('{{ product.product_id }}', 'reward');" class="btn btn-primary btn-sm" data-toggle="tooltip" title="{{ entry_reward }}"><i class="fa fa-yelp fa-fw"></i></a>{% endif %}
		{% if product_design %}<a onclick="editMore('{{ product.product_id }}', 'design');" class="btn btn-primary btn-sm" data-toggle="tooltip" title="{{ tab_design }}"><i class="fa fa-paint-brush fa-fw"></i></a>{% endif %}
		{% if product_view %}<a onclick="closeMore('{{ product.product_id }}');" href="{{ product.view }}" class="btn btn-default btn-sm" data-toggle="tooltip" target="_blank" title="{{ button_view }}"><i class="fa fa-eye fa-fw"></i></a>{% endif %}
	  </div>
	</div>
  {% endfor %}
  <div id="modal-product-edit" class="modal fade">
    <div class="modal-dialog modal-lg animated zoomIn">
      <div class="modal-content">
	    <div id="modal-product-content"></div>
	  </div>
    </div>
  </div>
</div>
{{ footer }}