{{ header }}
{% if journal3.get('pageTitlePosition') == 'top' %}
  <h1 class="title page-title {{ journal3.get('title_color_scheme') }}"><span class="page-title-text">{{ heading_title }}</span></h1>
{% endif %}
<div class="breadcrumbs {{ journal3.get('breadcrumbs_color_scheme') }}">
  <ul class="breadcrumb">
    {% for breadcrumb in breadcrumbs %}
      <li><a href="{{ breadcrumb.href }}">{{ breadcrumb.text }}</a></li>
    {% endfor %}
  </ul>
</div>
{{ journal3_top }}
<div id="account-wishlist" class="container">
  {% 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="row">{{ column_left }}
    {% if column_left and column_right %}
    {% set class = 'col-sm-6' %}
    {% elseif column_left or column_right %}
    {% set class = 'col-sm-9' %}
    {% else %}
    {% set class = 'col-sm-12' %}
    {% endif %}
    <div id="content" class="{{ class }}">
      {% if journal3.get('pageTitlePosition') == 'default' %}
      <h1 class="title page-title {{ journal3.get('title_color_scheme') }}">{{ heading_title }}</h1>
      {% endif %}
      {{ content_top }}
      {% if journal3_is_oc4 %}
      <div id="wishlist">{{ list }}</div>
      {% else %}
      {% if products %}
      <div class="table-responsive">
        <table class="table table-bordered table-hover">
          <thead>
            <tr>
              <td class="text-center td-image">{{ column_image }}</td>
              <td class="text-left td-name">{{ column_name }}</td>
              <td class="text-center td-model">{{ column_model }}</td>
              <td class="text-center td-stock">{{ column_stock }}</td>
              <td class="text-center td-price">{{ column_price }}</td>
              <td class="text-center td-action">{{ column_action }}</td>
            </tr>
          </thead>
          <tbody>
          
          {% for product in products %}
          <tr class="{{ journal3.classes(product.classes) }}">
            <td class="text-center td-image">{% if product.thumb %}<a href="{{ product.href }}"><img src="{{ product.thumb }}" alt="{{ product.name }}" title="{{ product.name }}" /></a>{% endif %}</td>
            <td class="text-left td-name"><a href="{{ product.href }}">{{ product.name }}</a></td>
            <td class="text-center td-model">{{ product.model }}</td>
            <td class="text-center td-stock">{{ product.stock }}</td>
            <td class="text-center td-price">{% if product.price %}
              <div class="price"> {% if not product.special %}
                {{ product.price }}
                {% else %} <b>{{ product.special }}</b> <s>{{ product.price }}</s> {% endif %} </div>
              {% endif %}</td>
            <td class="text-center td-action">
              {% if journal3.get('catalogCartStatus') %}
              <button type="button" onclick="cart.add('{{ product.product_id }}');" data-toggle="tooltip-hover" title="{{ button_cart }}" class="btn btn-primary" data-loading-text="<span class='btn-text'>{{ button_cart }}</span>"><i class="fa fa-shopping-cart"></i></button>
              {% endif %}
              <a href="{{ product.remove }}" data-toggle="tooltip-hover" title="{{ button_remove }}" class="btn btn-danger"><i class="fa fa-times"></i></a></td>
          </tr>
          {% endfor %}
            </tbody>
          
        </table>
      </div>
      {% else %}
      <p>{{ text_empty }}</p>
      {% endif %}
      {% endif %}
      <div class="buttons clearfix">
        <div class="pull-right"><a href="{{ continue }}" class="btn btn-primary">{{ button_continue }}</a></div>
      </div>
      {{ content_bottom }}</div>
    {{ column_right }}</div>
</div>
{{ footer }}
