<?php

/* extension/module/xtensions_checkout.twig */
class __TwigTemplate_8809c624d766931fe07024c387be1626b2332d59acc66fd0ede589430d1f5b9d extends Twig_Template
{
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

        $this->parent = false;

        $this->blocks = array(
        );
    }

    protected function doDisplay(array $context, array $blocks = array())
    {
        // line 1
        echo (isset($context["header"]) ? $context["header"] : null);
        echo (isset($context["column_left"]) ? $context["column_left"] : null);
        echo " 
<div id=\"content\">
<div class=\"page-header\">
    <div class=\"container-fluid\">
       <div class=\"pull-right\">
        <button type=\"submit\" form=\"form-xcheckout\" data-toggle=\"tooltip\" title=\"";
        // line 6
        echo (isset($context["button_save"]) ? $context["button_save"] : null);
        echo "\" class=\"btn btn-primary\"><i class=\"fa fa-save\"></i> ";
        echo (isset($context["text_save_and_stay"]) ? $context["text_save_and_stay"] : null);
        echo "</button>
        <a href=\"";
        // line 7
        echo (isset($context["cancel"]) ? $context["cancel"] : null);
        echo "\" data-toggle=\"tooltip\" title=\"";
        echo (isset($context["button_cancel"]) ? $context["button_cancel"] : null);
        echo "\" class=\"btn btn-default\"><i class=\"fa fa-reply\"></i> ";
        echo (isset($context["text_cancel_or_back"]) ? $context["text_cancel_or_back"] : null);
        echo "</a>
        </div>
      <h1>";
        // line 9
        echo (isset($context["heading_title"]) ? $context["heading_title"] : null);
        echo "</h1>
      <ul class=\"breadcrumb\">
        ";
        // line 11
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["breadcrumbs"]) ? $context["breadcrumbs"] : null));
        foreach ($context['_seq'] as $context["_key"] => $context["breadcrumb"]) {
            echo " 
        <li><a href=\"";
            // line 12
            echo $this->getAttribute($context["breadcrumb"], "href", array());
            echo "\">";
            echo $this->getAttribute($context["breadcrumb"], "text", array());
            echo "</a></li>
        ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['breadcrumb'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 13
        echo " 
      </ul>
    </div>
  </div>
  <div class=\"container-fluid\">
   <div class=\"panel panel-default\">
      <div class=\"panel-heading\">
      <div class=\"row\">
      <h3 class=\"panel-title col-sm-12\">
      <span class=\"col-sm-10 \"><i class=\"fa fa-pencil\"></i> ";
        // line 22
        echo (isset($context["edit_heading"]) ? $context["edit_heading"] : null);
        echo ": ";
        echo (isset($context["heading_title"]) ? $context["heading_title"] : null);
        echo " <b>";
        echo ((isset($context["text_version"]) ? $context["text_version"] : null) . (isset($context["xtensions_version"]) ? $context["xtensions_version"] : null));
        echo "</b></span>
      <span class=\"col-sm-2 text-right\">
\t  <select name=\"store_id\" class=\"form-control\">
\t  <option value=\"0\" ";
        // line 25
        echo ((((isset($context["store_id"]) ? $context["store_id"] : null) == 0)) ? ("selected=\"selected\"") : (""));
        echo ">";
        echo (isset($context["default_heading"]) ? $context["default_heading"] : null);
        echo "</option>
\t  ";
        // line 26
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["stores"]) ? $context["stores"] : null));
        foreach ($context['_seq'] as $context["_key"] => $context["store"]) {
            echo " 
\t  <option value=\"";
            // line 27
            echo $this->getAttribute($context["store"], "store_id", array());
            echo "\" ";
            echo ((((isset($context["store_id"]) ? $context["store_id"] : null) == $this->getAttribute($context["store"], "store_id", array()))) ? ("selected=\"selected\"") : (""));
            echo ">";
            echo $this->getAttribute($context["store"], "name", array());
            echo "</option>
\t  ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['store'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 28
        echo " 
\t  </select>
\t  </span>
      </h3>
      </div>
      <div class=\"clearfix\"></div>
      </div>   
    <div class=\"panel-body\">
    <ul class=\"nav nav-tabs tab-horizontal\">         
\t\t<li class=\"active\"><a href=\"#tab-module\" data-toggle=\"tab\">";
        // line 37
        echo (isset($context["tab_module_settings"]) ? $context["tab_module_settings"] : null);
        echo "</a></li>
\t\t<li><a href=\"#tab-export-import\" data-toggle=\"tab\">";
        // line 38
        echo (isset($context["tab_export_import"]) ? $context["tab_export_import"] : null);
        echo "</a></li>
\t</ul>
\t<div class=\"tab-content\">
\t<div id=\"tab-module\" class=\"tab-pane active\">
      <form action=\"";
        // line 42
        echo (isset($context["action"]) ? $context["action"] : null);
        echo "\" method=\"post\" enctype=\"multipart/form-data\" id=\"form-xcheckout\">        
   ";
        // line 43
        if ((isset($context["error_warning"]) ? $context["error_warning"] : null)) {
            echo " 
    \t<div class=\"alert alert-warning\"><i class=\"fa fa-exclamation-circle\"></i> ";
            // line 44
            echo (isset($context["error_warning"]) ? $context["error_warning"] : null);
            echo "<button type=\"button\" class=\"close\" data-dismiss=\"alert\">&times;</button></div>
   ";
        }
        // line 45
        echo "     
   ";
        // line 46
        if ((isset($context["success"]) ? $context["success"] : null)) {
            echo " 
    \t<div class=\"alert alert-success\"><i class=\"fa fa-exclamation-circle\"></i> ";
            // line 47
            echo (isset($context["success"]) ? $context["success"] : null);
            echo "<button type=\"button\" class=\"close\" data-dismiss=\"alert\">&times;</button></div>
   ";
        }
        // line 49
        echo "<div class=\"alert alert-xinfo inline\">
<div class=\"row\">
<div class=\"col-sm-5\">
<label>
<b>";
        // line 53
        echo (isset($context["module_heading_title"]) ? $context["module_heading_title"] : null);
        echo "</b> 
</label>
<div class=\"xform\">
\t\t        <div class=\"radio-group\">
\t\t\t\t<input type=\"radio\" id=\"option-status_yes\" value=\"1\"  name=\"status\" ";
        // line 57
        if (($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "status", array(), "any", true, true) && $this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "status", array()))) {
            echo " ";
            echo "checked";
        }
        echo " />
\t\t\t\t<label for=\"option-status_yes\">";
        // line 58
        echo (isset($context["yes_option"]) ? $context["yes_option"] : null);
        echo "</label>
\t\t\t\t<input type=\"radio\" id=\"option-status_no\" value=\"0\"  name=\"status\" ";
        // line 59
        if (( !$this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "status", array(), "any", true, true) || ($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "status", array(), "any", true, true) &&  !$this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "status", array())))) {
            echo " ";
            echo "checked";
        }
        echo " />
\t\t\t\t<label for=\"option-status_no\">";
        // line 60
        echo (isset($context["no_option"]) ? $context["no_option"] : null);
        echo "</label>
\t\t\t\t</div>
</div>\t
</div>
<div class=\"col-sm-3\">
<label>
<b class=\"inline30\">";
        // line 66
        echo (isset($context["default_country_heading"]) ? $context["default_country_heading"] : null);
        echo "</b>
<select class=\"inline60 form-control\" name=\"options[country_id]\">
                  <option value=\"0\">";
        // line 68
        echo (isset($context["select_option_heading"]) ? $context["select_option_heading"] : null);
        echo "</option>
                    ";
        // line 69
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["countries"]) ? $context["countries"] : null));
        foreach ($context['_seq'] as $context["_key"] => $context["country"]) {
            echo " 
                    ";
            // line 70
            if (($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array(), "any", false, true), "country_id", array(), "any", true, true) && ($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array()), "country_id", array()) == $this->getAttribute($context["country"], "country_id", array())))) {
                echo " 
                    <option value=\"";
                // line 71
                echo $this->getAttribute($context["country"], "country_id", array());
                echo "\" selected=\"selected\">";
                echo $this->getAttribute($context["country"], "name", array());
                echo "</option>
                    ";
            } else {
                // line 72
                echo " 
                    <option value=\"";
                // line 73
                echo $this->getAttribute($context["country"], "country_id", array());
                echo "\">";
                echo $this->getAttribute($context["country"], "name", array());
                echo "</option>
                    ";
            }
            // line 74
            echo " 
                    ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['country'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 75
        echo " 
              </select>
</label>
</div>
<div class=\"col-sm-4\">
<label>
<b class=\"inline50\">";
        // line 81
        echo (isset($context["default_default_state_region"]) ? $context["default_default_state_region"] : null);
        echo "</b>
<select class=\"inline50 form-control\" name=\"options[zone_id]\"></select>
</label>
</div>
</div>
</div>
<div class=\"row\">
<div class=\"col-sm-3\">
<nav id=\"login-tabs\" class=\"nav-sidebar\">
<ul class=\"nav nav-tabs tabs-left\" id=\"tab-xcheckout\"> 
<li class=\"active\"><a href=\"#tab-fields\" data-toggle=\"tab\">";
        // line 91
        echo (isset($context["text_fields_heading"]) ? $context["text_fields_heading"] : null);
        echo "</a></li>
<li><a href=\"#tab-sort-validation\" data-toggle=\"tab\">";
        // line 92
        echo (isset($context["text_sort_validation"]) ? $context["text_sort_validation"] : null);
        echo "</a></li>
<li><a href=\"#tab-language\" data-toggle=\"tab\">";
        // line 93
        echo (isset($context["language_heading"]) ? $context["language_heading"] : null);
        echo "</a></li>
<li><a href=\"#tab-misc\" data-toggle=\"tab\">";
        // line 94
        echo (isset($context["checkout_misc_heading"]) ? $context["checkout_misc_heading"] : null);
        echo "</a></li>
<li><a href=\"#tab-social\" data-toggle=\"tab\">";
        // line 95
        echo (isset($context["social_login_heading"]) ? $context["social_login_heading"] : null);
        echo "</a></li>
<li><a href=\"#tab-override\" data-toggle=\"tab\">";
        // line 96
        echo (isset($context["design_heading"]) ? $context["design_heading"] : null);
        echo "</a></li>
</ul>
</nav>                       
</div>
<div class=\"col-sm-9\">
<div class=\"tab-content\"> 
<div id=\"tab-fields\" class=\"tab-pane active\">  
<ul class=\"nav nav-tabs tab-horizontal\">         
<li class=\"active\"><a href=\"#tab-reg\" data-toggle=\"tab\">";
        // line 104
        echo (isset($context["register_area_heading"]) ? $context["register_area_heading"] : null);
        echo "</a></li>
<li><a href=\"#tab-edit\" data-toggle=\"tab\">";
        // line 105
        echo (isset($context["edit_area_heading"]) ? $context["edit_area_heading"] : null);
        echo "</a></li>
<li><a href=\"#tab-checkout\" data-toggle=\"tab\">";
        // line 106
        echo (isset($context["guest_area_heading"]) ? $context["guest_area_heading"] : null);
        echo "</a></li>
</ul>
<div class=\"tab-content\">
<div id=\"tab-reg\" class=\"tab-pane active\">
<div class=\"row\">
<div class=\"col-md-12\">
<div class=\"table-responsive\">
<table class=\"table table-striped table-bordered table-hover\">
          <thead >            
            <tr >
              <td colspan=\"3\" class=\"text-left\">";
        // line 116
        echo (isset($context["register_page_field_heading"]) ? $context["register_page_field_heading"] : null);
        echo "</td>           
            </tr>
          </thead>
               <tr>
                  <td class=\"text-left\">
                   <span data-toggle=\"tooltip\" title=\"(Account, Address, password will appear in single section)\"> ";
        // line 121
        echo (isset($context["single_section_heading"]) ? $context["single_section_heading"] : null);
        echo "</span>
                  </td>                  
                  <td colspan=\"2\" class=\"text-center\"> 
                  <div class=\"xform\">
\t\t        <div class=\"radio-group\">
\t\t\t\t<input type=\"radio\" id=\"option-single_box_yes\" value=\"1\"  name=\"options[single_box]\" ";
        // line 126
        if (( !$this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array(), "any", false, true), "single_box", array(), "any", true, true) || ($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array(), "any", false, true), "single_box", array(), "any", true, true) && $this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array()), "single_box", array())))) {
            echo " ";
            echo "checked";
        }
        echo " />
\t\t\t\t<label for=\"option-single_box_yes\">";
        // line 127
        echo (isset($context["yes_option"]) ? $context["yes_option"] : null);
        echo "</label>
\t\t\t\t<input type=\"radio\" id=\"option-single_box_no\" value=\"0\"  name=\"options[single_box]\" ";
        // line 128
        if (($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array(), "any", false, true), "single_box", array(), "any", true, true) &&  !$this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array()), "single_box", array()))) {
            echo " ";
            echo "checked";
        }
        echo " />
\t\t\t\t<label for=\"option-single_box_no\">";
        // line 129
        echo (isset($context["no_option"]) ? $context["no_option"] : null);
        echo "</label>
\t\t\t\t</div>
  \t\t\t\t</div>\t
  \t\t\t\t
  \t\t\t\t</td>                             
               </tr>
               <thead >            
            <tr >
            <td></td>
               <td class=\"text-center\" width=\"20%\">";
        // line 138
        echo (isset($context["show_title"]) ? $context["show_title"] : null);
        echo "</td>
              <td class=\"text-center\" width=\"20%\">";
        // line 139
        echo (isset($context["required_title"]) ? $context["required_title"] : null);
        echo "</td>
              </tr> 
              </thead>      
               ";
        // line 142
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["fields"]) ? $context["fields"] : null));
        foreach ($context['_seq'] as $context["key"] => $context["field"]) {
            echo " 
               ";
            // line 143
            if (($this->getAttribute($context["field"], "register", array()) || ($this->getAttribute($context["field"], "mandatory", array(), "any", true, true) && $this->getAttribute($context["field"], "mandatory", array())))) {
                echo " 
\t\t          <tr>
\t\t\t\t\t<td class=\"text-left\">
\t\t\t\t\t";
                // line 146
                echo (($this->getAttribute($context["field"], "title", array(), "any", true, true)) ? ((("<span data-toggle=\"tooltip\" title=\"" . $this->getAttribute($context["field"], "title", array())) . "\">")) : (""));
                echo $this->getAttribute((isset($context["field_title"]) ? $context["field_title"] : null), $context["key"], array(), "array");
                echo (($this->getAttribute($context["field"], "title", array(), "any", true, true)) ? ("</span>") : (""));
                echo "</td>
\t\t\t\t\t<td class=\"text-center\">
\t\t\t\t\t";
                // line 148
                if (($this->getAttribute($context["field"], "mandatory", array(), "any", true, true) && $this->getAttribute($context["field"], "mandatory", array()))) {
                    echo " 
\t\t\t\t\t\t";
                    // line 149
                    if (($context["key"] == "customer_group_id")) {
                        echo " 
\t\t\t\t\t\t";
                        // line 150
                        echo (isset($context["always_displayed_in_store"]) ? $context["always_displayed_in_store"] : null);
                        echo " 
\t\t\t\t\t\t";
                    } else {
                        // line 151
                        echo " 
\t\t\t\t\t\t";
                        // line 152
                        echo (isset($context["always_displayed"]) ? $context["always_displayed"] : null);
                        echo " 
\t\t\t\t\t\t";
                    }
                    // line 153
                    echo " 
\t\t\t\t\t";
                } elseif (($this->getAttribute(                // line 154
$context["field"], "register", array()) &&  !$this->getAttribute($context["field"], "mandataory", array(), "any", true, true))) {
                    echo "                  
\t\t            <input type=\"checkbox\" value =\"1\" name=\"register[";
                    // line 155
                    echo $context["key"];
                    echo "][show]\" ";
                    echo (($this->getAttribute($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "register", array(), "any", false, true), $context["key"], array(), "array", false, true), "show", array(), "any", true, true)) ? ("checked=\"checked\"") : (""));
                    echo " />
\t\t            ";
                }
                // line 156
                echo " 
\t\t            </td>
\t\t            <td class=\"text-center\">
\t\t            ";
                // line 159
                if (($this->getAttribute($context["field"], "required_default", array(), "any", true, true) && $this->getAttribute($context["field"], "required_default", array()))) {
                    echo " 
\t\t            ";
                    // line 160
                    echo (isset($context["always_mandatory_heading"]) ? $context["always_mandatory_heading"] : null);
                    echo " 
\t\t            ";
                } elseif (($this->getAttribute(                // line 161
$context["field"], "required", array(), "any", true, true) &&  !$this->getAttribute($context["field"], "required", array()))) {
                    echo " 
\t\t            ";
                    // line 162
                    echo (isset($context["cannot_mandatory_heading"]) ? $context["cannot_mandatory_heading"] : null);
                    echo " 
\t\t            ";
                } else {
                    // line 163
                    echo " 
\t\t            <input type=\"checkbox\" value=\"1\"  name=\"register[";
                    // line 164
                    echo $context["key"];
                    echo "][required]\" ";
                    echo (($this->getAttribute($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "register", array(), "any", false, true), $context["key"], array(), "array", false, true), "required", array(), "any", true, true)) ? ("checked=\"checked\"") : (""));
                    echo " ";
                    echo (( !$this->getAttribute($context["field"], "required", array())) ? ("disabled=\"disabled\"") : (""));
                    echo " />
\t\t            ";
                }
                // line 165
                echo " 
\t\t            </td>          
\t\t\t\t  </tr>
\t\t\t\t";
            }
            // line 168
            echo " 
          \t  ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['key'], $context['field'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 169
        echo " 
              
</table>
</div>
</div>
</div> 
</div>
<div id=\"tab-edit\" class=\"tab-pane\">
<div class=\"table-responsive\">
<table class=\"table table-striped table-bordered table-hover\">
          <thead >            
            <tr >
              <td class=\"text-left\">";
        // line 181
        echo (isset($context["personal_details_account_heading"]) ? $context["personal_details_account_heading"] : null);
        echo "</td>              
              <td class=\"text-center\" width=\"20%\">";
        // line 182
        echo (isset($context["show_title"]) ? $context["show_title"] : null);
        echo "</td>
              <td class=\"text-center\" width=\"20%\">";
        // line 183
        echo (isset($context["required_title"]) ? $context["required_title"] : null);
        echo "</td>                            
            </tr>
          </thead>
               ";
        // line 186
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["fields"]) ? $context["fields"] : null));
        foreach ($context['_seq'] as $context["key"] => $context["field"]) {
            echo " 
               ";
            // line 187
            if ((($this->getAttribute($context["field"], "edit", array()) && twig_in_filter($this->getAttribute($context["field"], "location", array()), array(0 => "account", 1 => "both"))) || (($this->getAttribute($context["field"], "edit", array()) && $this->getAttribute($context["field"], "mandatory", array(), "any", true, true)) && $this->getAttribute($context["field"], "mandatory", array())))) {
                // line 188
                echo "\t\t          <tr>
\t\t\t\t\t<td class=\"text-left\">";
                // line 189
                echo (($this->getAttribute($context["field"], "title", array(), "any", true, true)) ? ((("<span data-toggle=\"tooltip\" title=\"" . $this->getAttribute($context["field"], "title", array())) . "\">")) : (""));
                echo $this->getAttribute((isset($context["field_title"]) ? $context["field_title"] : null), $context["key"], array(), "array");
                echo (($this->getAttribute($context["field"], "title", array(), "any", true, true)) ? ("</span>") : (""));
                echo "</td>                  
\t\t            <td class=\"text-center\">
\t\t            ";
                // line 191
                if (($this->getAttribute($context["field"], "mandatory", array(), "any", true, true) && $this->getAttribute($context["field"], "mandatory", array()))) {
                    echo " 
\t\t            \t";
                    // line 192
                    echo (isset($context["always_displayed"]) ? $context["always_displayed"] : null);
                    echo " 
\t\t            ";
                } elseif (($this->getAttribute(                // line 193
$context["field"], "edit", array()) &&  !$this->getAttribute($context["field"], "mandataory", array(), "any", true, true))) {
                    echo " 
\t\t            <input type=\"checkbox\" value =\"1\" name=\"edit[account][";
                    // line 194
                    echo $context["key"];
                    echo "][show]\" ";
                    echo (($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "edit", array(), "any", false, true), "account", array(), "any", false, true), $context["key"], array(), "array", false, true), "show", array(), "any", true, true)) ? ("checked=\"checked\"") : (""));
                    echo "  /> 
\t\t            ";
                }
                // line 195
                echo " 
\t\t            </td>
\t\t            <td class=\"text-center\">
\t\t            ";
                // line 198
                if (($this->getAttribute($context["field"], "required_default", array(), "any", true, true) && $this->getAttribute($context["field"], "required_default", array()))) {
                    echo " 
\t\t            ";
                    // line 199
                    echo (isset($context["always_mandatory_heading"]) ? $context["always_mandatory_heading"] : null);
                    echo " 
\t\t            ";
                } elseif (($this->getAttribute(                // line 200
$context["field"], "required", array(), "any", true, true) &&  !$this->getAttribute($context["field"], "required", array()))) {
                    echo " 
\t\t            ";
                    // line 201
                    echo (isset($context["cannot_mandatory_heading"]) ? $context["cannot_mandatory_heading"] : null);
                    echo " 
\t\t            ";
                } else {
                    // line 202
                    echo " 
\t\t            <input type=\"checkbox\" value=\"1\"  name=\"edit[account][";
                    // line 203
                    echo $context["key"];
                    echo "][required]\" ";
                    echo (( !$this->getAttribute($context["field"], "required", array())) ? ("disabled=\"disabled\"") : (""));
                    echo " ";
                    echo (($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "edit", array(), "any", false, true), "account", array(), "any", false, true), $context["key"], array(), "array", false, true), "required", array(), "any", true, true)) ? ("checked=\"checked\"") : (""));
                    echo " />
\t\t            ";
                }
                // line 204
                echo " 
\t\t            </td>            
\t\t\t\t  </tr>
\t\t\t\t";
            }
            // line 207
            echo " 
          \t  ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['key'], $context['field'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 208
        echo " 
</table>
</div> 
<div class=\"table-responsive\">
<table class=\"table table-striped table-bordered table-hover\">
          <thead >            
            <tr >
              <td class=\"text-left\">";
        // line 215
        echo (isset($context["personal_details_address_heading"]) ? $context["personal_details_address_heading"] : null);
        echo "</td>              
              <td class=\"text-center\" width=\"20%\">";
        // line 216
        echo (isset($context["show_title"]) ? $context["show_title"] : null);
        echo "</td>
              <td class=\"text-center\" width=\"20%\">";
        // line 217
        echo (isset($context["required_title"]) ? $context["required_title"] : null);
        echo "</td>                            
            </tr>
          </thead>
               ";
        // line 220
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["fields"]) ? $context["fields"] : null));
        foreach ($context['_seq'] as $context["key"] => $context["field"]) {
            echo " 
               ";
            // line 221
            if (($this->getAttribute($context["field"], "edit", array()) && twig_in_filter($this->getAttribute($context["field"], "location", array()), array(0 => "address", 1 => "both")))) {
                // line 222
                echo "\t\t          <tr>
\t\t\t\t\t<td class=\"text-left\">";
                // line 223
                echo (($this->getAttribute($context["field"], "title", array(), "any", true, true)) ? ((("<span data-toggle=\"tooltip\" title=\"" . $this->getAttribute($context["field"], "title", array())) . "\">")) : (""));
                echo " ";
                echo $this->getAttribute((isset($context["field_title"]) ? $context["field_title"] : null), $context["key"], array(), "array");
                echo (($this->getAttribute($context["field"], "title", array(), "any", true, true)) ? ("</span>") : (""));
                echo "</td>                  
\t\t            <td class=\"text-center\"><input type=\"checkbox\" value =\"1\" name=\"edit[address][";
                // line 224
                echo $context["key"];
                echo "][show]\" ";
                echo (($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "edit", array(), "any", false, true), "address", array(), "any", false, true), $context["key"], array(), "array", false, true), "show", array(), "any", true, true)) ? ("checked=\"checked\"") : (""));
                echo " /></td>
\t\t            <td class=\"text-center\">
\t\t            ";
                // line 226
                if (($this->getAttribute($context["field"], "required_default", array(), "any", true, true) && $this->getAttribute($context["field"], "required_default", array()))) {
                    echo " 
\t\t            ";
                    // line 227
                    echo (isset($context["always_mandatory_heading"]) ? $context["always_mandatory_heading"] : null);
                    echo " 
\t\t            ";
                } elseif (($this->getAttribute(                // line 228
$context["field"], "required", array(), "any", true, true) &&  !$this->getAttribute($context["field"], "required", array()))) {
                    echo " 
\t\t            ";
                    // line 229
                    echo (isset($context["cannot_mandatory_heading"]) ? $context["cannot_mandatory_heading"] : null);
                    echo " 
\t\t            ";
                } else {
                    // line 230
                    echo " 
\t\t            <input type=\"checkbox\" value=\"1\"  name=\"edit[address][";
                    // line 231
                    echo $context["key"];
                    echo "][required]\" ";
                    echo (( !$this->getAttribute($context["field"], "required", array())) ? ("disabled=\"disabled\"") : (""));
                    echo " ";
                    echo (($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "edit", array(), "any", false, true), "address", array(), "any", false, true), $context["key"], array(), "array", false, true), "required", array(), "any", true, true)) ? ("checked=\"checked\"") : (""));
                    echo " />
\t\t            ";
                }
                // line 232
                echo " 
\t\t            </td>            
\t\t\t\t  </tr>
\t\t\t\t";
            }
            // line 235
            echo " 
          \t  ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['key'], $context['field'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 236
        echo " 
</table>
</div>           
</div>                                  
<div id=\"tab-checkout\" class=\"tab-pane\">
<div class=\"table-responsive\"><table class=\"table table-striped table-bordered table-hover\">
          <thead >            
            <tr >
              <td class=\"text-left\" width=\"60%\">";
        // line 244
        echo (isset($context["account_guest_heading"]) ? $context["account_guest_heading"] : null);
        echo "</td>              
              <td class=\"text-center\" width=\"20%\">";
        // line 245
        echo (isset($context["show_title"]) ? $context["show_title"] : null);
        echo "</td>
              <td class=\"text-center\" width=\"20%\">";
        // line 246
        echo (isset($context["required_title"]) ? $context["required_title"] : null);
        echo "</td>                            
            </tr>
          </thead>
               ";
        // line 249
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["fields"]) ? $context["fields"] : null));
        foreach ($context['_seq'] as $context["key"] => $context["field"]) {
            echo " 
               ";
            // line 250
            if ((($this->getAttribute($context["field"], "checkout", array()) && twig_in_filter($this->getAttribute($context["field"], "location", array()), array(0 => "account", 1 => "both"))) || (($this->getAttribute($context["field"], "checkout", array()) && $this->getAttribute($context["field"], "mandatory", array(), "any", true, true)) && $this->getAttribute($context["field"], "mandatory", array())))) {
                // line 251
                echo "\t\t          <tr>
\t\t\t\t\t<td class=\"text-left\">
\t\t\t\t\t";
                // line 253
                echo (($this->getAttribute($context["field"], "title", array(), "any", true, true)) ? ((("<span data-toggle=\"tooltip\" title=\"" . $this->getAttribute($context["field"], "title", array())) . "\">")) : (""));
                echo $this->getAttribute((isset($context["field_title"]) ? $context["field_title"] : null), $context["key"], array(), "array");
                echo (($this->getAttribute($context["field"], "title", array(), "any", true, true)) ? ("</span>") : (""));
                echo " 
\t\t\t\t\t";
                // line 254
                if (($this->getAttribute($context["field"], "guest", array(), "any", true, true) &&  !$this->getAttribute($context["field"], "guest", array()))) {
                    echo " 
\t\t\t\t\t<br /><small class=\"text-muted\">";
                    // line 255
                    echo (isset($context["guest_area_subheading"]) ? $context["guest_area_subheading"] : null);
                    echo "</small>
\t\t\t\t\t";
                }
                // line 256
                echo " 
\t\t\t\t\t</td>                  
\t\t            <td class=\"text-center\">
\t\t            ";
                // line 259
                if (($this->getAttribute($context["field"], "mandatory", array(), "any", true, true) && $this->getAttribute($context["field"], "mandatory", array()))) {
                    echo " 
\t\t            \t";
                    // line 260
                    if (($context["key"] == "customer_group_id")) {
                        echo " 
\t\t\t\t\t\t";
                        // line 261
                        echo (isset($context["always_displayed_in_store"]) ? $context["always_displayed_in_store"] : null);
                        echo " 
\t\t\t\t\t\t";
                    } else {
                        // line 262
                        echo " 
\t\t\t\t\t\t";
                        // line 263
                        echo (isset($context["always_displayed"]) ? $context["always_displayed"] : null);
                        echo " 
\t\t\t\t\t\t";
                    }
                    // line 264
                    echo " 
\t\t            ";
                } elseif (($this->getAttribute(                // line 265
$context["field"], "checkout", array()) &&  !$this->getAttribute($context["field"], "mandataory", array(), "any", true, true))) {
                    echo " 
\t\t            <input type=\"checkbox\" value =\"1\" name=\"checkout[account][";
                    // line 266
                    echo $context["key"];
                    echo "][show]\" ";
                    echo (($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "checkout", array(), "any", false, true), "account", array(), "any", false, true), $context["key"], array(), "array", false, true), "show", array(), "any", true, true)) ? ("checked=\"checked\"") : (""));
                    echo "  /> 
\t\t            ";
                }
                // line 267
                echo "\t\t            
\t\t            </td>
\t\t            <td class=\"text-center\">
\t\t            ";
                // line 270
                if (($this->getAttribute($context["field"], "required_default", array(), "any", true, true) && $this->getAttribute($context["field"], "required_default", array()))) {
                    echo " 
\t\t            ";
                    // line 271
                    echo (isset($context["always_mandatory_heading"]) ? $context["always_mandatory_heading"] : null);
                    echo " 
\t\t            ";
                } elseif (($this->getAttribute(                // line 272
$context["field"], "required", array(), "any", true, true) &&  !$this->getAttribute($context["field"], "required", array()))) {
                    echo " 
\t\t            ";
                    // line 273
                    echo (isset($context["cannot_mandatory_heading"]) ? $context["cannot_mandatory_heading"] : null);
                    echo " 
\t\t            ";
                } else {
                    // line 274
                    echo " 
\t\t            <input type=\"checkbox\" value=\"1\"  name=\"checkout[account][";
                    // line 275
                    echo $context["key"];
                    echo "][required]\" ";
                    echo (( !$this->getAttribute($context["field"], "required", array())) ? ("disabled=\"disabled\"") : (""));
                    echo " ";
                    echo (($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "checkout", array(), "any", false, true), "account", array(), "any", false, true), $context["key"], array(), "array", false, true), "required", array(), "any", true, true)) ? ("checked=\"checked\"") : (""));
                    echo " />
\t\t            ";
                }
                // line 276
                echo " 
\t\t            </td>            
\t\t\t\t  </tr>
\t\t\t\t";
            }
            // line 279
            echo " 
          \t  ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['key'], $context['field'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 280
        echo " 
</table>  
</div>  
<div class=\"table-responsive\"><table class=\"table table-striped table-bordered table-hover\">
          <thead >            
            <tr >
              <td class=\"text-left\" width=\"60%\">";
        // line 286
        echo (isset($context["address_panel_heading"]) ? $context["address_panel_heading"] : null);
        echo "</td>              
              <td class=\"text-center\" width=\"20%\">";
        // line 287
        echo (isset($context["show_title"]) ? $context["show_title"] : null);
        echo "</td>
              <td class=\"text-center\" width=\"20%\">";
        // line 288
        echo (isset($context["required_title"]) ? $context["required_title"] : null);
        echo "</td>                           
            </tr>
          </thead>
               ";
        // line 291
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["fields"]) ? $context["fields"] : null));
        foreach ($context['_seq'] as $context["key"] => $context["field"]) {
            echo " 
               ";
            // line 292
            if (($this->getAttribute($context["field"], "checkout", array()) && twig_in_filter($this->getAttribute($context["field"], "location", array()), array(0 => "address", 1 => "both")))) {
                echo "               
\t\t          <tr>
\t\t\t\t\t<td class=\"text-left\">";
                // line 294
                echo (($this->getAttribute($context["field"], "title", array(), "any", true, true)) ? ((("<span data-toggle=\"tooltip\" title=\"" . $this->getAttribute($context["field"], "title", array())) . "\">")) : (""));
                echo $this->getAttribute((isset($context["field_title"]) ? $context["field_title"] : null), $context["key"], array(), "array");
                echo (($this->getAttribute($context["field"], "title", array(), "any", true, true)) ? ("</span>") : (""));
                echo "</td>                
\t\t            <td class=\"text-center\"><input type=\"checkbox\" value =\"1\" name=\"checkout[address][";
                // line 295
                echo $context["key"];
                echo "][show]\" ";
                echo (($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "checkout", array(), "any", false, true), "address", array(), "any", false, true), $context["key"], array(), "array", false, true), "show", array(), "any", true, true)) ? ("checked=\"checked\"") : (""));
                echo " /></td>
\t\t            <td class=\"text-center\">
\t\t            ";
                // line 297
                if (($this->getAttribute($context["field"], "required_default", array(), "any", true, true) && $this->getAttribute($context["field"], "required_default", array()))) {
                    echo " 
\t\t            ";
                    // line 298
                    echo (isset($context["always_mandatory_heading"]) ? $context["always_mandatory_heading"] : null);
                    echo " 
\t\t            ";
                } elseif (($this->getAttribute(                // line 299
$context["field"], "required", array(), "any", true, true) &&  !$this->getAttribute($context["field"], "required", array()))) {
                    echo " 
\t\t            ";
                    // line 300
                    echo (isset($context["cannot_mandatory_heading"]) ? $context["cannot_mandatory_heading"] : null);
                    echo " 
\t\t            ";
                } else {
                    // line 301
                    echo " 
\t\t            <input type=\"checkbox\" value=\"1\"  name=\"checkout[address][";
                    // line 302
                    echo $context["key"];
                    echo "][required]\" ";
                    echo (($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "checkout", array(), "any", false, true), "address", array(), "any", false, true), $context["key"], array(), "array", false, true), "required", array(), "any", true, true)) ? ("checked=\"checked\"") : (""));
                    echo " />
\t\t            ";
                }
                // line 303
                echo "        
\t\t            </td>  
\t\t\t\t  </tr>
\t\t\t\t";
            }
            // line 306
            echo " 
          \t  ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['key'], $context['field'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 307
        echo " 
</table>  
</div>           
</div>
</div>
</div>
<div id=\"tab-sort-validation\" class=\"tab-pane\">
<ul class=\"nav nav-tabs tab-horizontal\">         
<li class=\"active\"><a href=\"#tab-sort\" data-toggle=\"tab\">";
        // line 315
        echo (isset($context["sorting_heading"]) ? $context["sorting_heading"] : null);
        echo "</a></li>
<li><a href=\"#tab-validation\" data-toggle=\"tab\">";
        // line 316
        echo (isset($context["validation_heading"]) ? $context["validation_heading"] : null);
        echo "</a></li>
</ul>
<div class=\"tab-content\">
<div id=\"tab-sort\" class=\"tab-pane active\">
<div class=\"table-responsive\">
<table class=\"table table-striped table-bordered table-hover\">
          <thead >            
            <tr >
              <td class=\"text-left\" width=\"30%\">";
        // line 324
        echo (isset($context["field_name_heading"]) ? $context["field_name_heading"] : null);
        echo "</td>              
              <td class=\"text-left\" width=\"70%\">";
        // line 325
        echo (isset($context["sort_name_heading"]) ? $context["sort_name_heading"] : null);
        echo "</td>                                          
            </tr>
          </thead>
          ";
        // line 328
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["fields"]) ? $context["fields"] : null));
        foreach ($context['_seq'] as $context["key"] => $context["field"]) {
            echo " 
          ";
            // line 329
            if (!twig_in_filter($context["key"], array(0 => "newsletter", 1 => "agree"))) {
                echo "                   
           <tr>
            <td class=\"text-left\">";
                // line 331
                echo $this->getAttribute((isset($context["field_title"]) ? $context["field_title"] : null), $context["key"], array(), "array");
                echo "</td>                  
        \t<td class=\"text-left\"><input type=\"text\" name=\"sort_order[fields][";
                // line 332
                echo $context["key"];
                echo "]\" value=\"";
                echo (($this->getAttribute($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "sort_order", array(), "any", false, true), "fields", array(), "any", false, true), $context["key"], array(), "array", true, true)) ? ($this->getAttribute($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "sort_order", array()), "fields", array()), $context["key"], array(), "array")) : ((($this->getAttribute($context["field"], "sort_order", array(), "any", true, true)) ? ($this->getAttribute($context["field"], "sort_order", array())) : (""))));
                echo "\" size=\"6\"  class=\"form-control\"/></td>        \t
           </tr>
           ";
            }
            // line 334
            echo " 
        ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['key'], $context['field'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 335
        echo " 
        ";
        // line 336
        if ((twig_length_filter($this->env, (isset($context["custom_fields"]) ? $context["custom_fields"] : null)) > 0)) {
            // line 337
            echo "        ";
            $context["count_custom_fields"] = 1;
            echo " 
        ";
            // line 338
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable((isset($context["custom_fields"]) ? $context["custom_fields"] : null));
            foreach ($context['_seq'] as $context["_key"] => $context["field"]) {
                echo " 
          <tr>
          <td class=\"text-left\">";
                // line 340
                echo $this->getAttribute($context["field"], "name", array());
                echo " - ";
                echo (isset($context["custom_field_heading"]) ? $context["custom_field_heading"] : null);
                echo " (<span style=\"text-transform: capitalize;\">";
                echo $this->getAttribute($context["field"], "location", array());
                echo "</span>)</td>                  
          <td class=\"text-left\"><input type=\"text\" name=\"sort_order[custom_fields][";
                // line 341
                echo $this->getAttribute($context["field"], "custom_field_id", array());
                echo "]\" value=\"";
                echo (($this->getAttribute($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "sort_order", array(), "any", false, true), "custom_fields", array(), "any", false, true), $this->getAttribute($context["field"], "custom_field_id", array()), array(), "array", true, true)) ? ($this->getAttribute($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "sort_order", array()), "custom_fields", array()), $this->getAttribute($context["field"], "custom_field_id", array()), array(), "array")) : (((isset($context["count_custom_fields"]) ? $context["count_custom_fields"] : null) * 5)));
                echo "\" size=\"6\"  class=\"form-control\"/></td>
          </tr>
          ";
                // line 343
                $context["count_custom_fields"] = ((isset($context["count_custom_fields"]) ? $context["count_custom_fields"] : null) + 1);
                echo " 
          ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['field'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 344
            echo " 
          ";
        }
        // line 345
        echo " 
</table> 
<table class=\"table table-striped table-bordered table-hover\">
          <thead >            
            <tr >
              <td class=\"text-left\" width=\"30%\">";
        // line 350
        echo (isset($context["account_tab_heading"]) ? $context["account_tab_heading"] : null);
        echo "</td>              
              <td class=\"text-left\" width=\"70%\">";
        // line 351
        echo (isset($context["sort_number_heading"]) ? $context["sort_number_heading"] : null);
        echo "</td>                                          
            </tr>
          </thead>
          ";
        // line 354
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable(array("Giriş" => 1, "Kayıt Ol" => 2, "Misafir" => 3));
        foreach ($context['_seq'] as $context["key"] => $context["value"]) {
            echo "                 
           <tr>
            <td class=\"text-left\"><span style=\"text-transform: capitalize;\">";
            // line 356
            echo $context["key"];
            echo "</span></td>                  
        \t<td class=\"text-left\"><input type=\"text\" name=\"sort_order[account][";
            // line 357
            echo $context["key"];
            echo "]\" value=\"";
            echo (($this->getAttribute($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "sort_order", array(), "array", false, true), "account", array(), "array", false, true), $context["key"], array(), "array", true, true)) ? ($this->getAttribute($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "sort_order", array(), "array"), "account", array(), "array"), $context["key"], array(), "array")) : ($context["value"]));
            echo "\" size=\"6\"  class=\"form-control\"/></td>        \t
           </tr>
           ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['key'], $context['value'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 360
        echo "</table>           
</div>
</div>
<div id=\"tab-validation\" class=\"tab-pane\">
<div class=\"table-responsive\">
<table class=\"table table-striped table-bordered table-hover\">
          <thead >            
            <tr >
              <td class=\"text-left\" width=\"20%\">";
        // line 368
        echo (isset($context["validation_heading"]) ? $context["validation_heading"] : null);
        echo "</td>           
              <td class=\"text-center\" width=\"10%\">";
        // line 369
        echo (isset($context["minimum_characters_heading"]) ? $context["minimum_characters_heading"] : null);
        echo "</td>
              <td class=\"text-center\" width=\"10%\">";
        // line 370
        echo (isset($context["maximum_characters_heading"]) ? $context["maximum_characters_heading"] : null);
        echo "</td>              
              <td class=\"text-center\" width=\"10%\">";
        // line 371
        echo (isset($context["numeric_heading"]) ? $context["numeric_heading"] : null);
        echo "</td>     
              <td class=\"text-center\" width=\"25%\">";
        // line 372
        echo (isset($context["masking_heading"]) ? $context["masking_heading"] : null);
        echo "</td> 
              <td class=\"text-center\" width=\"25%\">";
        // line 373
        echo (isset($context["regex_heading"]) ? $context["regex_heading"] : null);
        echo "</td>
            </tr>            
          </thead>  
          ";
        // line 376
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["fields"]) ? $context["fields"] : null));
        foreach ($context['_seq'] as $context["key"] => $context["field"]) {
            // line 377
            echo "           ";
            if (($this->getAttribute($context["field"], "minimum", array()) || $this->getAttribute($context["field"], "maximum", array()))) {
                echo "                     
           <tr>
            <td class=\"text-left\"><b>";
                // line 379
                echo $this->getAttribute((isset($context["field_title"]) ? $context["field_title"] : null), $context["key"], array(), "array");
                echo "</b></td>            
            ";
                // line 380
                if (($context["key"] == "confirm")) {
                    // line 381
                    echo "            <td class=\"text-center\" colspan=\"2\">";
                    echo (isset($context["confirm_password_description"]) ? $context["confirm_password_description"] : null);
                    echo "</td>
            ";
                } else {
                    // line 383
                    echo "        \t<td class=\"text-center\"><input type=\"text\" size=\"6\" name=\"validation[";
                    echo $context["key"];
                    echo "][minimum]\" value=\"";
                    echo (($this->getAttribute($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "validation", array(), "array"), $context["key"], array(), "array"), "minimum", array(), "array")) ? ($this->getAttribute($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "validation", array(), "array"), $context["key"], array(), "array"), "minimum", array(), "array")) : ((($this->getAttribute($context["field"], "minimum_default", array())) ? ($this->getAttribute($context["field"], "minimum_default", array())) : (""))));
                    echo "\" class=\"form-control\"/></td>
        \t<td class=\"text-center\"><input type=\"text\" size=\"6\" name=\"validation[";
                    // line 384
                    echo $context["key"];
                    echo "][maximim]\" value=\"";
                    echo (($this->getAttribute($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "validation", array(), "array"), $context["key"], array(), "array"), "maximim", array(), "array")) ? ($this->getAttribute($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "validation", array(), "array"), $context["key"], array(), "array"), "maximim", array(), "array")) : ((($this->getAttribute($context["field"], "maximum_default", array())) ? ($this->getAttribute($context["field"], "maximum_default", array())) : (""))));
                    echo "\" class=\"form-control\"/></td>
        \t";
                }
                // line 386
                echo "        \t";
                if (($this->getAttribute($context["field"], "is_numeric", array()) || $this->getAttribute($context["field"], "is_masking", array()))) {
                    echo "            
        \t<td class=\"text-center\"><input type=\"checkbox\" value=\"1\" name=\"validation[";
                    // line 387
                    echo $context["key"];
                    echo "][numeric]\" ";
                    echo (($this->getAttribute($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "validation", array(), "array"), $context["key"], array(), "array"), "numeric", array(), "array")) ? ("checked=\"checked\"") : (""));
                    echo "/></td>
        \t<td class=\"text-center\"><input type=\"text\" name=\"validation[";
                    // line 388
                    echo $context["key"];
                    echo "][mask]\" value=\"";
                    echo (($this->getAttribute($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "validation", array(), "array"), $context["key"], array(), "array"), "mask", array(), "array")) ? ($this->getAttribute($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "validation", array(), "array"), $context["key"], array(), "array"), "mask", array(), "array")) : (""));
                    echo "\" placeholder=\"Masking\" title=\"CEP Brasil-99999-999\" class=\"form-control\"/></td>           
            ";
                } else {
                    // line 390
                    echo "            <td colspan=\"2\" class=\"text-center\"><i class=\"fa fa-times-circle\" aria-hidden=\"true\"></i></td>
            ";
                }
                // line 391
                echo "\t\t\t
            ";
                // line 392
                if ($this->getAttribute($context["field"], "regex", array())) {
                    // line 393
                    echo "        \t<td class=\"text-center\"><input type=\"text\" name=\"validation[";
                    echo $context["key"];
                    echo "][regex]\" value=\"";
                    echo (($this->getAttribute($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "validation", array(), "array"), $context["key"], array(), "array"), "regex", array(), "array")) ? ($this->getAttribute($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "validation", array(), "array"), $context["key"], array(), "array"), "regex", array(), "array")) : (""));
                    echo "\" placeholder=\"Regex\" class=\"form-control\"/></td>           
            ";
                } else {
                    // line 395
                    echo "            <td colspan=\"1\" class=\"text-center\"><i class=\"fa fa-times-circle\" aria-hidden=\"true\"></i></td>
            ";
                }
                // line 396
                echo "                \t
           \t</tr>  
           ";
            }
            // line 399
            echo "           ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['key'], $context['field'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        echo "     

                  
</table> 
</div>           
</div>
</div>
</div>
<div id=\"tab-language\" class=\"tab-pane\">
<div class=\"table-responsive\"><table class=\"table table-striped table-bordered table-hover\">
          <thead >            
            <tr >
              <td class=\"text-left\" width=\"10%\">";
        // line 411
        echo (isset($context["field_heading"]) ? $context["field_heading"] : null);
        echo "</td>
              <td class=\"text-center\" width=\"20%\">";
        // line 412
        echo (isset($context["title_heading"]) ? $context["title_heading"] : null);
        echo "</td>  
              <td class=\"text-center\" width=\"40%\">";
        // line 413
        echo (isset($context["error_message_heading"]) ? $context["error_message_heading"] : null);
        echo "</td>            
              <td class=\"text-center\" width=\"30%\">";
        // line 414
        echo (isset($context["tooltip_heading"]) ? $context["tooltip_heading"] : null);
        echo "</td>                  
            </tr>            
          </thead>
          ";
        // line 417
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["fields"]) ? $context["fields"] : null));
        foreach ($context['_seq'] as $context["key"] => $context["field"]) {
            echo "                                
           <tr>
            <td class=\"text-left\">";
            // line 419
            echo $this->getAttribute((isset($context["field_title"]) ? $context["field_title"] : null), $context["key"], array(), "array");
            echo "</td>           
        \t<td class=\"text-center\">
        \t";
            // line 421
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable((isset($context["languages"]) ? $context["languages"] : null));
            foreach ($context['_seq'] as $context["_key"] => $context["language"]) {
                echo " 
        \t<div class=\"input-group\">
        \t<span data-toggle=\"tooltip\" title=\"";
                // line 423
                echo $this->getAttribute($context["language"], "name", array());
                echo "\" class=\"input-group-addon\"><img src=\"language/";
                echo $this->getAttribute($context["language"], "code", array());
                echo "/";
                echo $this->getAttribute($context["language"], "code", array());
                echo ".png\" title=\"";
                echo $this->getAttribute($context["language"], "name", array());
                echo "\" /></span>
        \t<input type=\"text\" name=\"titles[";
                // line 424
                echo $context["key"];
                echo "][title][";
                echo $this->getAttribute($context["language"], "language_id", array());
                echo "]\" value=\"";
                echo (($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "titles", array(), "array"), $context["key"], array(), "array"), "title", array(), "array"), $this->getAttribute($context["language"], "language_id", array(), "array"), array(), "array")) ? ($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "titles", array(), "array"), $context["key"], array(), "array"), "title", array(), "array"), $this->getAttribute($context["language"], "language_id", array(), "array"), array(), "array")) : (""));
                echo "\"   class=\"form-control\" />                  
        \t</div>
        \t";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['language'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 426
            echo "        \t
        \t</td>
        \t<td class=\"text-center\">
            ";
            // line 429
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable((isset($context["languages"]) ? $context["languages"] : null));
            foreach ($context['_seq'] as $context["_key"] => $context["language"]) {
                echo " 
        \t<div class=\"input-group\">
        \t<span data-toggle=\"tooltip\" title=\"";
                // line 431
                echo $this->getAttribute($context["language"], "name", array());
                echo "\" class=\"input-group-addon\"><img src=\"language/";
                echo $this->getAttribute($context["language"], "code", array());
                echo "/";
                echo $this->getAttribute($context["language"], "code", array());
                echo ".png\" title=\"";
                echo $this->getAttribute($context["language"], "name", array());
                echo "\" /></span>
        \t<input type=\"text\" name=\"validation[";
                // line 432
                echo $context["key"];
                echo "][message][";
                echo $this->getAttribute($context["language"], "language_id", array());
                echo "]\" value=\"";
                echo (($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "validation", array(), "array"), $context["key"], array(), "array"), "message", array(), "array"), $this->getAttribute($context["language"], "language_id", array(), "array"), array(), "array")) ? ($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "validation", array(), "array"), $context["key"], array(), "array"), "message", array(), "array"), $this->getAttribute($context["language"], "language_id", array(), "array"), array(), "array")) : (""));
                echo "\"   class=\"form-control\" />                  
        \t</div>
        \t";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['language'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 435
            echo "        \t</td>  
        \t<td class=\"text-center\">
        \t";
            // line 437
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable((isset($context["languages"]) ? $context["languages"] : null));
            foreach ($context['_seq'] as $context["_key"] => $context["language"]) {
                echo " 
        \t<div class=\"input-group\">
        \t<span data-toggle=\"tooltip\" title=\"";
                // line 439
                echo $this->getAttribute($context["language"], "name", array());
                echo "\" class=\"input-group-addon\"><img src=\"language/";
                echo $this->getAttribute($context["language"], "code", array());
                echo "/";
                echo $this->getAttribute($context["language"], "code", array());
                echo ".png\" title=\"";
                echo $this->getAttribute($context["language"], "name", array());
                echo "\" /></span>
        \t<input type=\"text\" name=\"titles[";
                // line 440
                echo $context["key"];
                echo "][tooltip][";
                echo $this->getAttribute($context["language"], "language_id", array());
                echo "]\" value=\"";
                echo (($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "titles", array(), "array"), $context["key"], array(), "array"), "tooltip", array(), "array"), $this->getAttribute($context["language"], "language_id", array(), "array"), array(), "array")) ? ($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "titles", array(), "array"), $context["key"], array(), "array"), "tooltip", array(), "array"), $this->getAttribute($context["language"], "language_id", array(), "array"), array(), "array")) : (""));
                echo "\"   class=\"form-control\" />                  
        \t</div>
        \t";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['language'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 443
            echo "        \t</td>
           </tr>
        ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['key'], $context['field'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 445
        echo "            
</table> 
</div>           
</div>
<div id=\"tab-misc\" class=\"tab-pane\">
<ul class=\"nav nav-tabs tab-horizontal\">         
<li class=\"active\"><a href=\"#tab-sub-misc\" data-toggle=\"tab\">";
        // line 451
        echo (isset($context["checkout_misc_heading"]) ? $context["checkout_misc_heading"] : null);
        echo "</a></li>
<li><a href=\"#tab-footer\" data-toggle=\"tab\">Footer</a></li>
<li><a href=\"#tab-payment\" data-toggle=\"tab\">Payment Methods</a></li>
</ul>
<div class=\"tab-content\">
<div id=\"tab-sub-misc\" class=\"tab-pane active\">
<div class=\"table-responsive\">
<table class=\"table table-striped table-bordered table-hover\">
          <thead >            
            <tr >
              <td class=\"text-left\" style=\"width:40%;\">";
        // line 461
        echo (isset($context["field_heading"]) ? $context["field_heading"] : null);
        echo "</td>              
              <td class=\"text-left\" style=\"width:60%;\">";
        // line 462
        echo (isset($context["option_heading"]) ? $context["option_heading"] : null);
        echo "</td>                                          
            </tr>
          </thead>               
              <tr>
              <td class=\"text-left\" >";
        // line 466
        echo (isset($context["payment_shipping_method_heading"]) ? $context["payment_shipping_method_heading"] : null);
        echo "</td>              
        \t  <td class=\"text-left\"> 
        \t  <input type=\"checkbox\" value=\"1\"  name=\"options[display_comments]\" ";
        // line 468
        echo (($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array()), "display_comments", array())) ? ("checked") : (""));
        echo " />
        \t  </td>
              </tr>            
              <tr>                          
              <td class=\"text-left\">";
        // line 472
        echo (isset($context["show_coupons"]) ? $context["show_coupons"] : null);
        echo "</td>              
        \t  <td class=\"text-left\">
        \t  <input type=\"checkbox\" value=\"1\"  name=\"options[display_coupons]\" ";
        // line 474
        echo (($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array()), "display_coupons", array())) ? ("checked") : (""));
        echo " />
              </tr>
              <tr>                          
              <td class=\"text-left\" >";
        // line 477
        echo (isset($context["show_vouchers"]) ? $context["show_vouchers"] : null);
        echo "</td>              
        \t  <td class=\"text-left\"> 
        \t  <input type=\"checkbox\" value=\"1\"  name=\"options[display_vouchers]\" ";
        // line 479
        echo (($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array()), "display_vouchers", array())) ? ("checked") : (""));
        echo " />
        \t  </td>
              </tr>
              <tr>                          
              <td class=\"text-left\" >";
        // line 483
        echo (isset($context["show_reward_points"]) ? $context["show_reward_points"] : null);
        echo "<br /><small class=\"help\">";
        echo (isset($context["required_user_subheading"]) ? $context["required_user_subheading"] : null);
        echo "</small></td>              
        \t  <td class=\"text-left\"> 
        \t  <input type=\"checkbox\" value=\"1\"  name=\"options[display_rewards]\" ";
        // line 485
        echo (($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array()), "display_rewards", array())) ? ("checked") : (""));
        echo " />
        \t  </td>
              </tr>
              <tr>
              <td class=\"text-left\" >";
        // line 489
        echo (isset($context["same_address_heading"]) ? $context["same_address_heading"] : null);
        echo "</td>              
        \t  <td class=\"text-left\"> 
        \t  <input type=\"checkbox\" value=\"1\"  name=\"options[same_shipping]\" ";
        // line 491
        echo (($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array()), "same_shipping", array())) ? ("checked") : (""));
        echo " />           
              </tr>  
              <tr>
              <td class=\"text-left\" >";
        // line 494
        echo (isset($context["login_page_heading"]) ? $context["login_page_heading"] : null);
        echo "<br/><span class=\"help\">";
        echo (isset($context["change_login_step_heading"]) ? $context["change_login_step_heading"] : null);
        echo "</span></td>              
\t\t      <td class=\"text-left\">
\t\t      <div class=\"xform\">
\t\t        <div class=\"radio-group\">
\t\t\t\t<input type=\"radio\" id=\"option-login-clean\" value=\"clean\"  name=\"options[login_type]\" ";
        // line 498
        if (( !$this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array()), "login_type", array()) || ($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array()), "login_type", array()) && ($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array()), "login_type", array()) == "clean")))) {
            echo " ";
            echo "checked";
            echo " ";
        }
        echo " />
\t\t\t\t<label for=\"option-login-clean\"><i class=\"fa fa-tablet\" aria-hidden=\"true\"></i> ";
        // line 499
        echo (isset($context["clean_view"]) ? $context["clean_view"] : null);
        echo "</label>
\t\t\t\t<input type=\"radio\" id=\"option-login-tab\" value=\"tabs\"  name=\"options[login_type]\" ";
        // line 500
        if (($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array()), "login_type", array()) && ($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array()), "login_type", array()) == "tabs"))) {
            echo " ";
            echo "checked";
            echo " ";
        }
        echo "/>
\t\t\t\t<label for=\"option-login-tab\"><i class=\"fa fa-th-list\" aria-hidden=\"true\"></i> ";
        // line 501
        echo (isset($context["tabs_view"]) ? $context["tabs_view"] : null);
        echo "</label>
\t\t\t\t</div>
  \t\t\t\t</div>
\t\t      </td>
        \t   </tr>             
              <tr>
              <td class=\"text-left\" >";
        // line 507
        echo (isset($context["address_list_heading"]) ? $context["address_list_heading"] : null);
        echo "<br/><span class=\"help\">";
        echo (isset($context["address_list_subheading"]) ? $context["address_list_subheading"] : null);
        echo "</span></td>              
\t\t      <td class=\"text-left\">
\t\t      <div class=\"xform\">
\t\t        <div class=\"radio-group\">
\t\t\t\t<input type=\"radio\" id=\"option-address-block\" value=\"block\"  name=\"options[address_type]\" ";
        // line 511
        if (( !$this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array()), "address_type", array()) || ($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array()), "address_type", array()) && ($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array()), "address_type", array()) == "block")))) {
            echo " ";
            echo "checked";
            echo " ";
        }
        echo " />
\t\t\t\t<label for=\"option-address-block\"><i class=\"fa fa-th\" aria-hidden=\"true\"></i> ";
        // line 512
        echo (isset($context["block_view_heading"]) ? $context["block_view_heading"] : null);
        echo "</label>
\t\t\t\t<input type=\"radio\" id=\"option-address-list\" value=\"list\"  name=\"options[address_type]\" ";
        // line 513
        if (($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array()), "address_type", array()) && ($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array()), "address_type", array()) == "list"))) {
            echo " ";
            echo "checked";
            echo " ";
        }
        echo "  />
\t\t\t\t<label for=\"option-address-list\"><i class=\"fa fa-align-justify\" aria-hidden=\"true\"></i> ";
        // line 514
        echo (isset($context["list_view_heading"]) ? $context["list_view_heading"] : null);
        echo "</label>
\t\t\t\t</div>
  \t\t\t\t</div>
\t\t      </td>
        \t   </tr> 
        \t   <tr>
              <td class=\"text-left\" >";
        // line 520
        echo (isset($context["address_form_heading"]) ? $context["address_form_heading"] : null);
        echo "<br/><span class=\"help\"> ";
        echo (isset($context["address_form_subheading"]) ? $context["address_form_subheading"] : null);
        echo "</span></td>              
\t\t      <td class=\"text-left\">
\t\t      <div class=\"xform\">
\t\t        <div class=\"radio-group\">
\t\t\t\t<input type=\"radio\" id=\"option-address-form-list\" value=\"modal\"  name=\"options[address_form]\" ";
        // line 524
        if (($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array()), "address_form", array()) && ($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array()), "address_form", array()) == "modal"))) {
            echo " ";
            echo "checked";
            echo " ";
        }
        echo "  />
\t\t\t\t<label for=\"option-address-form-list\"><i class=\"fa fa-clone\" aria-hidden=\"true\"></i> ";
        // line 525
        echo (isset($context["modal_view_heading"]) ? $context["modal_view_heading"] : null);
        echo "</label>
\t\t\t\t<input type=\"radio\" id=\"option-address-form-block\" value=\"inline\"  name=\"options[address_form]\" ";
        // line 526
        if (( !$this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array()), "address_form", array()) || ($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array()), "address_form", array()) && ($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array()), "address_form", array()) == "inline")))) {
            echo " ";
            echo "checked";
            echo " ";
        }
        echo " />
\t\t\t\t<label for=\"option-address-form-block\"><i class=\"fa fa-list-alt\" aria-hidden=\"true\"></i> ";
        // line 527
        echo (isset($context["page_view_heading"]) ? $context["page_view_heading"] : null);
        echo "</label>
\t\t\t\t</div>
  \t\t\t\t</div>
\t\t      </td>
        \t   </tr>
        \t   <tr>
              <td class=\"text-left\" >";
        // line 533
        echo (isset($context["other_option_heading"]) ? $context["other_option_heading"] : null);
        echo "</td>              
\t\t      <td class=\"text-left\">
\t\t      <div class=\"xform\">
\t\t        <div class=\"radio-group\">
\t\t\t\t<input type=\"radio\" id=\"option-coupon-form-modal\" value=\"modal\"  name=\"options[xcvc_view]\" ";
        // line 537
        if (( !$this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array()), "xcvc_view", array()) || ($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array()), "xcvc_view", array()) && ($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array()), "xcvc_view", array()) == "modal")))) {
            echo " ";
            echo "checked";
            echo " ";
        }
        echo " />
\t\t\t\t<label for=\"option-coupon-form-modal\"><i class=\"fa fa-clone\" aria-hidden=\"true\"></i> ";
        // line 538
        echo (isset($context["modal_view_heading"]) ? $context["modal_view_heading"] : null);
        echo "</label>
\t\t\t\t<input type=\"radio\" id=\"option-coupon-form-inline\" value=\"inline\"  name=\"options[xcvc_view]\" ";
        // line 539
        if (($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array()), "xcvc_view", array()) && ($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array()), "xcvc_view", array()) == "inline"))) {
            echo " ";
            echo "checked";
            echo " ";
        }
        echo " />
\t\t\t\t<label for=\"option-coupon-form-inline\"><i class=\"fa fa-list-alt\" aria-hidden=\"true\"></i> ";
        // line 540
        echo (isset($context["inline_view_heading"]) ? $context["inline_view_heading"] : null);
        echo "</label>
\t\t\t\t</div>
  \t\t\t\t</div>
\t\t      </td>
        \t   </tr>
        \t   <tr>
              <td class=\"text-left\" >";
        // line 546
        echo (isset($context["default_step_heading"]) ? $context["default_step_heading"] : null);
        echo "<br/><span class=\"help\">";
        echo (isset($context["step_active_heading"]) ? $context["step_active_heading"] : null);
        echo "</span></td>              
\t\t      <td class=\"text-left\">
\t\t      <div class=\"xform\">
\t\t        <div class=\"radio-group\">
\t\t\t\t<input type=\"radio\" id=\"option-step-default-login\" value=\"login\"  name=\"options[step_default]\" ";
        // line 550
        if (( !$this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array()), "step_default", array()) || ($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array()), "step_default", array()) && ($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array()), "step_default", array()) == "login")))) {
            echo " ";
            echo "checked";
            echo " ";
        }
        echo " />
\t\t\t\t<label for=\"option-step-default-login\"><i class=\"fa fa-user\" aria-hidden=\"true\"></i> ";
        // line 551
        echo (isset($context["login_heading"]) ? $context["login_heading"] : null);
        echo "</label>
\t\t\t\t<input type=\"radio\" id=\"option-step-default-register\" value=\"register\"  name=\"options[step_default]\" ";
        // line 552
        if (($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array()), "step_default", array()) && ($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array()), "step_default", array()) == "register"))) {
            echo " ";
            echo "checked";
            echo " ";
        }
        echo " />
\t\t\t\t<label for=\"option-step-default-register\"><i class=\"fa fa-user-plus\" aria-hidden=\"true\"></i> ";
        // line 553
        echo (isset($context["register_heading"]) ? $context["register_heading"] : null);
        echo "</label>
\t\t\t\t<input type=\"radio\" id=\"option-step-default-guest\" value=\"guest\"  name=\"options[step_default]\" ";
        // line 554
        if (($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array()), "step_default", array()) && ($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array()), "step_default", array()) == "guest"))) {
            echo " ";
            echo "checked";
            echo " ";
        }
        echo " />
\t\t\t\t<label for=\"option-step-default-guest\"><i class=\"fa fa-user-secret\" aria-hidden=\"true\"></i> ";
        // line 555
        echo (isset($context["guest_heading"]) ? $context["guest_heading"] : null);
        echo "</label>
\t\t\t\t</div>
  \t\t\t\t</div>
\t\t      </td>
        \t   </tr>
        \t   <tr>
              <td class=\"text-left\" >";
        // line 561
        echo (isset($context["default_step_session_heading"]) ? $context["default_step_session_heading"] : null);
        echo "<br/><span class=\"help\">";
        echo (isset($context["default_step_session_heading_help"]) ? $context["default_step_session_heading_help"] : null);
        echo "</span></td>              
\t\t      <td class=\"text-left\">
\t\t      <input type=\"checkbox\" value=\"1\"  name=\"options[step_default_use_session]\" ";
        // line 563
        if ($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array(), "any", false, true), "step_default_use_session", array(), "any", true, true)) {
            echo " ";
            echo "checked";
            echo " ";
        }
        echo " />
\t\t      </td>
        \t   </tr> 
               <tr>
               <tr>
               <td class=\"text-left\" >";
        // line 568
        echo (isset($context["payment_type_heading"]) ? $context["payment_type_heading"] : null);
        echo "<br/><span class=\"help\">";
        echo (isset($context["payment_type_subheading"]) ? $context["payment_type_subheading"] : null);
        echo "</span></td>              
\t\t        <td class=\"text-left\">
\t\t        <div class=\"xform\">
\t\t        <div class=\"radio-group\">
\t\t\t\t<input type=\"radio\" id=\"option-payment-tabs\" value=\"tabs\"  name=\"options[payment_type]\" ";
        // line 572
        if (( !$this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array()), "payment_type", array()) || ($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array()), "payment_type", array()) && ($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array()), "payment_type", array()) == "tabs")))) {
            echo " ";
            echo "checked";
            echo " ";
        }
        echo " />
\t\t\t\t<label for=\"option-payment-tabs\"><i class=\"fa fa-th-list\" aria-hidden=\"true\"></i> ";
        // line 573
        echo (isset($context["tabs_view"]) ? $context["tabs_view"] : null);
        echo "</label>
\t\t\t\t<input type=\"radio\" id=\"option-payment-accordion\" value=\"accordion\"  name=\"options[payment_type]\" ";
        // line 574
        if (($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array()), "payment_type", array()) && ($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array()), "payment_type", array()) == "accordion"))) {
            echo " ";
            echo "checked";
            echo " ";
        }
        echo " />
\t\t\t\t<label for=\"option-payment-accordion\"><i class=\"fa fa-dot-circle-o\" aria-hidden=\"true\"></i> ";
        // line 575
        echo (isset($context["accordion_view"]) ? $context["accordion_view"] : null);
        echo "</label>
\t\t\t\t</div>
  \t\t\t\t</div>\t\t         
\t\t        </td>    
\t\t        </tr>
\t\t        <tr id=\"image-row-gift_wrap_image>\">
                    <td class=\"text-left\">";
        // line 581
        echo (isset($context["gift_wrap_image"]) ? $context["gift_wrap_image"] : null);
        echo "</td> 
                    <td class=\"text-left\">
                      <a href=\"\" id=\"thumb-image_gift_wrap_image\" data-toggle=\"image\" class=\"img-thumbnail\"><img width=\"100px\" src=\"";
        // line 583
        echo ((($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array()), "gift_wrap_image", array()) && $this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array()), "gift_wrap_image", array()))) ? (("../image/" . $this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array()), "gift_wrap_image", array()))) : ("../image/catalog/xtensions/giftcard.jpg"));
        echo "\" alt=\"\" title=\"\" data-placeholder=\"";
        echo (isset($context["placeholder"]) ? $context["placeholder"] : null);
        echo "\" /></a>
                      <input type=\"hidden\" name=\"options[gift_wrap_image]\" value=\"";
        // line 584
        echo (($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array()), "gift_wrap_image", array())) ? ($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array()), "gift_wrap_image", array())) : ("../image/catalog/xtensions/giftcard.jpg"));
        echo "\" id=\"input-image-gift_wrap_image\" />
                    </td>
                    </tr> 
\t\t        <tr>
              <td class=\"text-left\" >";
        // line 588
        echo (isset($context["override_heading"]) ? $context["override_heading"] : null);
        echo "<br/><span class=\"help\">";
        echo (isset($context["override_subheading"]) ? $context["override_subheading"] : null);
        echo "</span></td>              
        \t  <td class=\"text-left\"> 
        \t  <input type=\"checkbox\" value=\"1\"  name=\"options[override_format]\" ";
        // line 590
        echo (($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array()), "override_format", array())) ? ("checked") : (""));
        echo " />           
              </tr>                 
              <tr>
              <td class=\"text-left\">";
        // line 593
        echo (isset($context["address_format_heading"]) ? $context["address_format_heading"] : null);
        echo "<br/>
              <span class=\"help\">
        \t\t";
        // line 595
        echo (isset($context["firstname_heading"]) ? $context["firstname_heading"] : null);
        echo "<br>
        \t\t";
        // line 596
        echo (isset($context["lastname_heading"]) ? $context["lastname_heading"] : null);
        echo "<br>
        \t\t";
        // line 597
        echo (isset($context["company_heading"]) ? $context["company_heading"] : null);
        echo "<br>
\t\t        ";
        // line 598
        echo (isset($context["address_1_heading"]) ? $context["address_1_heading"] : null);
        echo "<br>
\t\t        ";
        // line 599
        echo (isset($context["address_2_heading"]) ? $context["address_2_heading"] : null);
        echo "<br>
\t\t        ";
        // line 600
        echo (isset($context["city_heading"]) ? $context["city_heading"] : null);
        echo "<br>
\t\t        ";
        // line 601
        echo (isset($context["postcode_heading"]) ? $context["postcode_heading"] : null);
        echo "<br>
\t\t        ";
        // line 602
        echo (isset($context["zone_heading"]) ? $context["zone_heading"] : null);
        echo "<br>
\t\t        ";
        // line 603
        echo (isset($context["zone_code_heading"]) ? $context["zone_code_heading"] : null);
        echo "<br>
\t\t        ";
        // line 604
        echo (isset($context["country_heading"]) ? $context["country_heading"] : null);
        echo "<br>
\t\t        <b>";
        // line 605
        echo (isset($context["identifier_heading"]) ? $context["identifier_heading"] : null);
        echo "</b><br>
\t\t        ";
        // line 606
        echo (isset($context["Applicable_custom_field_heading"]) ? $context["Applicable_custom_field_heading"] : null);
        echo "
\t\t        <br>
\t\t        <span style=\"color:red\">
\t\t        ";
        // line 609
        echo (isset($context["address_format_note_text"]) ? $context["address_format_note_text"] : null);
        echo "        
\t\t        </span>
\t\t       </span>
              </td>
              <td class=\"text-left\"><textarea name=\"options[address_format]\" autocomplete=\"off\" cols=\"40\" rows=\"15\">";
        // line 613
        echo (($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array()), "address_format", array())) ? ($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array()), "address_format", array())) : (""));
        echo "</textarea></td>
              </tr>
              ";
        // line 615
        if ((twig_length_filter($this->env, (isset($context["custom_fields"]) ? $context["custom_fields"] : null)) > 0)) {
            // line 616
            echo "              <tr>
              <td class=\"text-left\">";
            // line 617
            echo (isset($context["custom_fields_for_address_heading"]) ? $context["custom_fields_for_address_heading"] : null);
            echo "</td>
              <td class=\"text-left\">
              ";
            // line 619
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable((isset($context["custom_fields"]) ? $context["custom_fields"] : null));
            foreach ($context['_seq'] as $context["_key"] => $context["field"]) {
                // line 620
                echo "              ";
                echo ((($this->getAttribute($context["field"], "location", array()) == "address")) ? ((("{" . $this->getAttribute($context["field"], "identifier", array())) . "}<br/>")) : (""));
                echo "             
              ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['field'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 622
            echo "              </td>
              </tr>
              ";
        }
        // line 624
        echo "                                           
</table>         
</div>
</div>
<div id=\"tab-footer\" class=\"tab-pane\">
<div class=\"table-responsive\">
<table class=\"table table-striped table-bordered table-hover\">
<thead>            
            <tr>
              <td class=\"left\" style=\"width:40%;\">";
        // line 633
        echo (isset($context["information_page_heading"]) ? $context["information_page_heading"] : null);
        echo "</td>              
              <td class=\"left\" style=\"width:60%;\">";
        // line 634
        echo (isset($context["display_footer_link_heading"]) ? $context["display_footer_link_heading"] : null);
        echo "</td>                                          
            </tr>
          </thead>
          ";
        // line 637
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["informations"]) ? $context["informations"] : null));
        foreach ($context['_seq'] as $context["_key"] => $context["information"]) {
            // line 638
            echo "          ";
            if ($this->getAttribute($context["information"], "status", array())) {
                // line 639
                echo "          <tr>
              <td class=\"left\" style=\"width:40%;\">";
                // line 640
                echo $this->getAttribute($context["information"], "title", array());
                echo "</td>              
              <td class=\"left\" style=\"width:60%;\"><input name=\"options[information][]\" type=\"checkbox\" value=\"";
                // line 641
                echo $this->getAttribute($context["information"], "information_id", array());
                echo "\" ";
                echo ((($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array()), "information", array()) && twig_in_filter($this->getAttribute($context["information"], "information_id", array()), $this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array()), "information", array())))) ? ("checked=\"checked\"") : (""));
                echo "/></td>                                          
            </tr>
         ";
            }
            // line 643
            echo "  
         ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['information'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 645
        echo "          <tr>
              <td class=\"left\" style=\"width:40%;\">";
        // line 646
        echo (isset($context["display_contact_link"]) ? $context["display_contact_link"] : null);
        echo "</td>              
              <td class=\"left\" style=\"width:60%;\">
              <div class=\"xform\">
\t\t        <div class=\"radio-group\">
\t\t\t\t<input type=\"radio\" id=\"option-contact_us_yes\" value=\"1\" name=\"options[footer][contact_us]\" ";
        // line 650
        if (( !$this->getAttribute($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array(), "any", false, true), "footer", array(), "any", false, true), "contact_us", array(), "any", true, true) || ($this->getAttribute($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array(), "any", false, true), "footer", array(), "any", false, true), "contact_us", array(), "any", true, true) && ($this->getAttribute($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array()), "footer", array()), "contact_us", array()) == "1")))) {
            echo " ";
            echo "checked";
            echo " ";
        }
        echo " />
\t\t\t\t<label for=\"option-contact_us_yes\">";
        // line 651
        echo (isset($context["yes_option"]) ? $context["yes_option"] : null);
        echo "</label>
\t\t\t\t<input type=\"radio\" id=\"option-contact_us_no\" value=\"0\" name=\"options[footer][contact_us]\" ";
        // line 652
        if (($this->getAttribute($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array(), "any", false, true), "footer", array(), "any", false, true), "contact_us", array(), "any", true, true) && ($this->getAttribute($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array()), "footer", array()), "contact_us", array()) == "0"))) {
            echo " ";
            echo "checked";
            echo " ";
        }
        echo " />
\t\t\t\t<label for=\"option-contact_us_no\">";
        // line 653
        echo (isset($context["no_option"]) ? $context["no_option"] : null);
        echo "</label>
\t\t\t\t</div>
  \t\t\t\t</div>
  \t\t\t\t</td>                                          
            </tr>
            <tr>
              <td class=\"left\" style=\"width:40%;\">";
        // line 659
        echo (isset($context["display_footer_modal"]) ? $context["display_footer_modal"] : null);
        echo "</td>              
              <td class=\"left\" style=\"width:60%;\">
              <div class=\"xform\">
\t\t        <div class=\"radio-group\">
\t\t\t\t<input type=\"radio\" id=\"option-footer_modal\" value=\"1\" name=\"options[footer][link_modal]\" ";
        // line 663
        if (( !$this->getAttribute($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array(), "any", false, true), "footer", array(), "any", false, true), "link_modal", array(), "any", true, true) || ($this->getAttribute($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array(), "any", false, true), "footer", array(), "any", false, true), "link_modal", array(), "any", true, true) && ($this->getAttribute($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array()), "footer", array()), "link_modal", array()) == "1")))) {
            echo " ";
            echo "checked";
            echo " ";
        }
        echo " />
\t\t\t\t<label for=\"option-footer_modal\">";
        // line 664
        echo (isset($context["yes_option"]) ? $context["yes_option"] : null);
        echo "</label>
\t\t\t\t<input type=\"radio\" id=\"option-footer_modal_no\" value=\"0\" name=\"options[footer][link_modal]\" ";
        // line 665
        if (($this->getAttribute($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array(), "any", false, true), "footer", array(), "any", false, true), "link_modal", array(), "any", true, true) && ($this->getAttribute($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array()), "footer", array()), "link_modal", array()) == "0"))) {
            echo " ";
            echo "checked";
            echo " ";
        }
        echo " />
\t\t\t\t<label for=\"option-footer_modal_no\">";
        // line 666
        echo (isset($context["no_option"]) ? $context["no_option"] : null);
        echo "</label>
\t\t\t\t</div>
  \t\t\t\t</div>
  \t\t\t\t</td>                                          
            </tr>
</table>
<table class=\"table table-striped table-bordered table-hover\">
<thead>            
            <tr>
              <td class=\"left\" style=\"width:40%;\">";
        // line 675
        echo (isset($context["information_page_heading"]) ? $context["information_page_heading"] : null);
        echo "</td>              
              <td class=\"left\" style=\"width:60%;\">";
        // line 676
        echo (isset($context["contact_details_heading"]) ? $context["contact_details_heading"] : null);
        echo "</td>                                          
            </tr>
          </thead>
          <tr>
              <td class=\"left\" style=\"width:40%;\">";
        // line 680
        echo (isset($context["contact_email_heading"]) ? $context["contact_email_heading"] : null);
        echo "<br /><small class=\"text-muted\">";
        echo (isset($context["contact_email_subheading"]) ? $context["contact_email_subheading"] : null);
        echo "</small></td>              
              <td class=\"left\" style=\"width:60%;\"><input name=\"options[footer][contact_email]\" type=\"text\" value=\"";
        // line 681
        echo (($this->getAttribute($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array()), "footer", array()), "contact_email", array())) ? ($this->getAttribute($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array()), "footer", array()), "contact_email", array())) : ((isset($context["contact_email"]) ? $context["contact_email"] : null)));
        echo "\" class=\"form-control\" /></td>                                          
            </tr>
            <tr>
              <td class=\"left\" style=\"width:40%;\">";
        // line 684
        echo (isset($context["contact_telephone_heading"]) ? $context["contact_telephone_heading"] : null);
        echo "<br /><small class=\"text-muted\">";
        echo (isset($context["contact_telephone_subheading"]) ? $context["contact_telephone_subheading"] : null);
        echo "</small></td>              
              <td class=\"left\" style=\"width:60%;\"><input name=\"options[footer][contact_telephone]\" type=\"text\" value=\"";
        // line 685
        echo (($this->getAttribute($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array()), "footer", array()), "contact_telephone", array())) ? ($this->getAttribute($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array()), "footer", array()), "contact_telephone", array())) : ((isset($context["contact_telephone"]) ? $context["contact_telephone"] : null)));
        echo "\" class=\"form-control\" /></td>                                          
            </tr>
</table>
<div class=\"table-responsive\">
                <table id=\"images\" class=\"table table-striped table-bordered table-hover\">
                  <thead>
                    <tr>
                      <td class=\"text-left\">";
        // line 692
        echo (isset($context["footer_image_heading"]) ? $context["footer_image_heading"] : null);
        echo "</td>
                      <td></td>
                    </tr>
                  </thead>
                  <tbody>
                  ";
        // line 697
        $context["image_row"] = 0;
        echo " 
                  ";
        // line 698
        if ($this->getAttribute($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array(), "any", false, true), "footer", array(), "any", false, true), "images", array(), "any", true, true)) {
            echo "                    
                    ";
            // line 699
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable($this->getAttribute($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array()), "footer", array()), "images", array()));
            foreach ($context['_seq'] as $context["_key"] => $context["product_image"]) {
                // line 700
                echo "                    <tr id=\"image-row";
                echo (isset($context["image_row"]) ? $context["image_row"] : null);
                echo "\">
                      <td class=\"text-left\"><a href=\"\" id=\"thumb-image";
                // line 701
                echo (isset($context["image_row"]) ? $context["image_row"] : null);
                echo "\" data-toggle=\"image\" class=\"img-thumbnail\"><img width=\"100\" src=\"../image/";
                echo $context["product_image"];
                echo "\" alt=\"\" title=\"\" data-placeholder=\"";
                echo (isset($context["placeholder"]) ? $context["placeholder"] : null);
                echo "\" /></a><input type=\"hidden\" name=\"options[footer][images][]\" value=\"";
                echo $context["product_image"];
                echo "\" id=\"input-image";
                echo (isset($context["image_row"]) ? $context["image_row"] : null);
                echo "\" /></td>                      
                      <td class=\"text-left\"><button type=\"button\" onclick=\"\$('#image-row";
                // line 702
                echo (isset($context["image_row"]) ? $context["image_row"] : null);
                echo "').remove();\" data-toggle=\"tooltip\" title=\"";
                echo (isset($context["button_remove"]) ? $context["button_remove"] : null);
                echo "\" class=\"btn btn-danger\"><i class=\"fa fa-minus-circle\"></i></button></td>
                    </tr>
                    ";
                // line 704
                $context["image_row"] = ((isset($context["image_row"]) ? $context["image_row"] : null) + 1);
                // line 705
                echo "                    ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['product_image'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 706
            echo "                    ";
        }
        // line 707
        echo "                  </tbody>
                  <tfoot>
                    <tr>
                      <td></td>
                      <td class=\"text-left\"><button type=\"button\" onclick=\"addImage();\" data-toggle=\"tooltip\" title=\"";
        // line 711
        echo (isset($context["button_image_add"]) ? $context["button_image_add"] : null);
        echo "\" class=\"btn btn-primary\"><i class=\"fa fa-plus-circle\"></i></button></td>
                    </tr>
                  </tfoot>
                </table>
              </div>
</div>
</div>
<div id=\"tab-payment\" class=\"tab-pane\">                            
<div class=\"table-responsive\">
                <table id=\"images\" class=\"table table-striped table-bordered table-hover\">
                  <thead>
                    <tr>
                      <td class=\"text-left\">";
        // line 723
        echo (isset($context["payment_method_logo_heading"]) ? $context["payment_method_logo_heading"] : null);
        echo "</td>
                      <td>";
        // line 724
        echo (isset($context["text_payment_default"]) ? $context["text_payment_default"] : null);
        echo "</td>
                      <td></td>
                    </tr>
                  </thead>
                  <tbody>
                  ";
        // line 729
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["payments"]) ? $context["payments"] : null));
        foreach ($context['_seq'] as $context["_key"] => $context["payment"]) {
            // line 730
            echo "                    <tr id=\"image-row-";
            echo $context["payment"];
            echo "\">
                    <td class=\"text-left\">";
            // line 731
            echo $context["payment"];
            echo "</td>
                    <td class=\"text-left\">
                    <div class=\"xform\">
\t\t\t        <div class=\"radio-group\">
\t\t\t\t\t<input type=\"radio\" id=\"payment_dedault_";
            // line 735
            echo $context["payment"];
            echo "\" value=\"";
            echo $context["payment"];
            echo "\" name=\"options[payment][default]\" ";
            if (($this->getAttribute($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array(), "any", false, true), "payment", array(), "any", false, true), "default", array(), "any", true, true) && ($this->getAttribute($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array()), "payment", array()), "default", array()) == $context["payment"]))) {
                echo " ";
                echo "checked";
                echo " ";
            }
            echo " />
\t\t\t\t\t<label for=\"payment_dedault_";
            // line 736
            echo $context["payment"];
            echo "\">";
            echo (isset($context["text_payment_default"]) ? $context["text_payment_default"] : null);
            echo "</label>\t\t\t\t\t
\t\t\t\t\t</div>
  \t\t\t\t\t</div>
                    </td> 
                    <td class=\"text-left\">
                      <a href=\"\" id=\"thumb-image";
            // line 741
            echo $context["payment"];
            echo "\" data-toggle=\"image\" class=\"img-thumbnail\"><img width=\"60\" src=\"";
            echo ((($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array(), "array", false, true), "payment", array(), "array", false, true), "images", array(), "array", false, true), $context["payment"], array(), "array", true, true) && $this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array(), "array"), "payment", array(), "array"), "images", array(), "array"), $context["payment"], array(), "array"))) ? (("../image/" . $this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array(), "array"), "payment", array(), "array"), "images", array(), "array"), $context["payment"], array(), "array"))) : ((isset($context["placeholder"]) ? $context["placeholder"] : null)));
            echo "\" alt=\"\" title=\"\" data-placeholder=\"";
            echo (isset($context["placeholder"]) ? $context["placeholder"] : null);
            echo "\" /></a>
                      <input type=\"hidden\" name=\"options[payment][images][";
            // line 742
            echo $context["payment"];
            echo "]\" value=\"";
            echo (($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array(), "array"), "payment", array(), "array"), "images", array(), "array"), $context["payment"], array(), "array")) ? ($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array(), "array"), "payment", array(), "array"), "images", array(), "array"), $context["payment"], array(), "array")) : (""));
            echo "\" id=\"input-image-";
            echo $context["payment"];
            echo "\" />
                    </td>
                    </tr>
                  ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['payment'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 746
        echo "                  </tbody>                  
                </table>
              </div>
<div class=\"panel panel-default\">
      <div class=\"panel-heading\">
        <h3 class=\"panel-title\"><i class=\"fa fa-pencil\"></i> ";
        // line 751
        echo (isset($context["text_payment_method_content"]) ? $context["text_payment_method_content"] : null);
        echo "</h3>
      </div>
      <div class=\"panel-body\">
";
        // line 754
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["payments"]) ? $context["payments"] : null));
        foreach ($context['_seq'] as $context["_key"] => $context["payment"]) {
            // line 755
            echo "<div class=\"panel panel-default\">
      <div class=\"panel-heading\">
        <h3 class=\"panel-title\"><i class=\"fa fa-pencil\"></i> ";
            // line 757
            echo $context["payment"];
            echo "</h3>
      </div>
      <div class=\"panel-body\">
                <ul class=\"nav nav-tabs tab-horizontal\" id=\"";
            // line 760
            echo $context["payment"];
            echo "language\">
                ";
            // line 761
            $context["pcount"] = 0;
            // line 762
            echo "                ";
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable((isset($context["languages"]) ? $context["languages"] : null));
            foreach ($context['_seq'] as $context["_key"] => $context["language"]) {
                // line 763
                echo "                <li";
                echo (( !(isset($context["pcount"]) ? $context["pcount"] : null)) ? (" class=\"active\"") : (""));
                echo "><a href=\"#";
                echo $context["payment"];
                echo "language";
                echo $this->getAttribute($context["language"], "language_id", array());
                echo "\" data-toggle=\"tab\"><img src=\"language/";
                echo $this->getAttribute($context["language"], "code", array());
                echo "/";
                echo $this->getAttribute($context["language"], "code", array());
                echo ".png\" title=\"";
                echo $this->getAttribute($context["language"], "name", array());
                echo "\" /> ";
                echo $this->getAttribute($context["language"], "name", array());
                echo "</a></li>
                ";
                // line 764
                $context["pcount"] = ((isset($context["pcount"]) ? $context["pcount"] : null) + 1);
                // line 765
                echo "                ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['language'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 766
            echo "              </ul>
              <div class=\"tab-content\">
              \t";
            // line 768
            $context["pcount"] = 0;
            // line 769
            echo "                ";
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable((isset($context["languages"]) ? $context["languages"] : null));
            foreach ($context['_seq'] as $context["_key"] => $context["language"]) {
                // line 770
                echo "                <div class=\"tab-pane";
                echo (( !(isset($context["pcount"]) ? $context["pcount"] : null)) ? (" active") : (""));
                echo "\" id=\"";
                echo $context["payment"];
                echo "language";
                echo $this->getAttribute($context["language"], "language_id", array());
                echo "\">                  
                  <div class=\"form-group\">                    
                    <div class=\"col-sm-12\">
                      <textarea name=\"options[payment][content][";
                // line 773
                echo $context["payment"];
                echo "][";
                echo $this->getAttribute($context["language"], "language_id", array());
                echo "]\" id=\"input-description-";
                echo $context["payment"];
                echo "-";
                echo $this->getAttribute($context["language"], "language_id", array());
                echo "\" class=\"form-control\"  data-toggle=\"summernote\" data-lang=\"";
                echo (isset($context["summernote"]) ? $context["summernote"] : null);
                echo "\" >";
                echo (($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array(), "array"), "payment", array(), "array"), "content", array(), "array"), $context["payment"], array(), "array"), $this->getAttribute($context["language"], "language_id", array(), "array"), array(), "array")) ? ($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array(), "array"), "payment", array(), "array"), "content", array(), "array"), $context["payment"], array(), "array"), $this->getAttribute($context["language"], "language_id", array(), "array"), array(), "array")) : (""));
                echo "</textarea>
                    </div>
                  </div>
                  </div>
                  ";
                // line 777
                $context["pcount"] = ((isset($context["pcount"]) ? $context["pcount"] : null) + 1);
                // line 778
                echo "                  ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['language'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 779
            echo "                  </div>
</div>
</div>              
";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['payment'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 782
        echo "           
</div>
</div>
</div>
</div>
</div>
<div id=\"tab-social\" class=\"tab-pane\">
<div class=\"table-responsive\">
<table class=\"table table-striped table-bordered table-hover\">
          <thead >            
            <tr >
              <td class=\"text-left\" colspan=\"2\"><i class=\"fa fa-facebook\"></i>&nbsp;";
        // line 793
        echo (isset($context["facebook_heading"]) ? $context["facebook_heading"] : null);
        echo "</td>                                          
            </tr>
          </thead>               
              <tr>
              <td class=\"text-left\" style=\"width: 30%;\">";
        // line 797
        echo (isset($context["status_heading"]) ? $context["status_heading"] : null);
        echo "</td>              
        \t  <td class=\"text-left\"> 
        \t  <input type=\"checkbox\" value=\"1\"  name=\"social[facebook][status]\" ";
        // line 799
        echo (($this->getAttribute($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "social", array()), "facebook", array()), "status", array())) ? ("checked") : (""));
        echo " />
        \t  </td>
              </tr>
              <tr>
              <td class=\"text-left\" >";
        // line 803
        echo (isset($context["app_id_heading"]) ? $context["app_id_heading"] : null);
        echo "</td>              
        \t  <td class=\"text-left\"> 
        \t  <input type=\"text\" name=\"social[facebook][appId]\" value=\"";
        // line 805
        echo (($this->getAttribute($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "social", array()), "facebook", array()), "appId", array())) ? ($this->getAttribute($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "social", array()), "facebook", array()), "appId", array())) : (""));
        echo "\" class=\"form-control\" />
        \t  </td>
              </tr>                                           
</table>
<table class=\"table table-striped table-bordered table-hover\">
          <thead >            
            <tr >
              <td class=\"text-left\" colspan=\"2\"><i class=\"fa fa-google\"></i>&nbsp;";
        // line 812
        echo (isset($context["google_heading"]) ? $context["google_heading"] : null);
        echo "</td>                                          
            </tr>
          </thead>               
              <tr>
              <td class=\"text-left\" style=\"width: 30%;\">";
        // line 816
        echo (isset($context["status_heading"]) ? $context["status_heading"] : null);
        echo "</td>              
        \t  <td class=\"text-left\"> 
        \t  <input type=\"checkbox\" value=\"1\"  name=\"social[google][status]\" ";
        // line 818
        echo (($this->getAttribute($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "social", array()), "google", array()), "status", array())) ? ("checked") : (""));
        echo " />
        \t  </td>
              </tr>
              <tr>
              <td class=\"text-left\" >";
        // line 822
        echo (isset($context["client_id_heading"]) ? $context["client_id_heading"] : null);
        echo "</td>              
        \t  <td class=\"text-left\"> 
        \t  <input type=\"text\" name=\"social[google][client_id]\" value=\"";
        // line 824
        echo (($this->getAttribute($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "social", array()), "google", array()), "client_id", array())) ? ($this->getAttribute($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "social", array()), "google", array()), "client_id", array())) : (""));
        echo "\" class=\"form-control\"/>
        \t  </td>
              </tr>                                           
</table>
<table class=\"table table-striped table-bordered table-hover\">
          <thead >            
            <tr >
              <td class=\"text-left\" colspan=\"2\"><i class=\"fa fa-linkedin\"></i>&nbsp;";
        // line 831
        echo (isset($context["linkedin_heading"]) ? $context["linkedin_heading"] : null);
        echo "</td>                                          
            </tr>
          </thead>               
              <tr>
              <td class=\"text-left\" style=\"width: 30%;\">";
        // line 835
        echo (isset($context["status_heading"]) ? $context["status_heading"] : null);
        echo "</td>              
        \t  <td class=\"text-left\"> 
        \t  <input type=\"checkbox\" value=\"1\"  name=\"social[linkedin][status]\" ";
        // line 837
        echo (($this->getAttribute($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "social", array()), "linkedin", array()), "status", array())) ? ("checked") : (""));
        echo " />
        \t  </td>
              </tr>
              <tr>
              <td class=\"text-left\" >";
        // line 841
        echo (isset($context["api_key"]) ? $context["api_key"] : null);
        echo "</td>              
        \t  <td class=\"text-left\"> 
        \t  <input type=\"text\" name=\"social[linkedin][api_key]\" value=\"";
        // line 843
        echo (($this->getAttribute($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "social", array()), "linkedin", array()), "api_key", array())) ? ($this->getAttribute($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "social", array()), "linkedin", array()), "api_key", array())) : (""));
        echo "\" class=\"form-control\" />
        \t  </td>
              </tr>                                           
</table>      
</div>
<div class=\"panel panel-default\">
<div class=\"panel-heading\"><h3 class=\"panel-title\">";
        // line 849
        echo (isset($context["extra_fields_heading"]) ? $context["extra_fields_heading"] : null);
        echo "</h3></div>
<div class=\"panel-body\">
<div class=\"table-responsive additionalfields\">
<table class=\"table table-striped table-bordered table-hover\">
         
          <tr>
               <td class=\"text-left\" >";
        // line 855
        echo (isset($context["additional_fields_heading"]) ? $context["additional_fields_heading"] : null);
        echo "<br/><span class=\"help\">";
        echo (isset($context["additional_fields_subheading"]) ? $context["additional_fields_subheading"] : null);
        echo (isset($context["no_option"]) ? $context["no_option"] : null);
        echo (isset($context["additional_fields_subheading_second"]) ? $context["additional_fields_subheading_second"] : null);
        echo "</span></td>              
\t\t        <td class=\"text-left\">
\t\t        <div class=\"xform\">
\t\t        <div class=\"radio-group\">
\t\t\t\t<input type=\"radio\" id=\"option-social-force-yes\" value=\"yes\"  name=\"social[additional]\" ";
        // line 859
        if (($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "social", array()), "additional", array()) && ($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "social", array()), "additional", array()) == "yes"))) {
            echo " ";
            echo "checked";
            echo " ";
        }
        echo " />
\t\t\t\t<label for=\"option-social-force-yes\" onclick=\"\$('.table-additional').removeClass('hidden');\"><i class=\"fa fa-check\" aria-hidden=\"true\"></i> ";
        // line 860
        echo (isset($context["yes_option"]) ? $context["yes_option"] : null);
        echo "</label>
\t\t\t\t<input type=\"radio\" id=\"option-social-force-no\" value=\"no\"  name=\"social[additional]\" ";
        // line 861
        if (( !$this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "social", array()), "additional", array()) || ($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "social", array()), "additional", array()) && ($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "social", array()), "additional", array()) == "no")))) {
            echo " ";
            echo "checked";
            echo " ";
        }
        echo " />
\t\t\t\t<label for=\"option-social-force-no\" onclick=\"\$('.table-additional').addClass('hidden');\"><i class=\"fa fa-times\" aria-hidden=\"true\"></i> ";
        // line 862
        echo (isset($context["no_option"]) ? $context["no_option"] : null);
        echo "</label>
\t\t\t\t</div>
  \t\t\t\t</div>\t\t         
\t\t        </td>    
\t\t        </tr>
</table>
<table class=\"table table-striped table-bordered table-hover table-additional ";
        // line 868
        if (( !$this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "social", array()), "additional", array()) || ($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "social", array()), "additional", array()) && ($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "social", array()), "additional", array()) == "no")))) {
            echo " ";
            echo "hidden";
            echo " ";
        }
        echo "\">
          <thead >            
            <tr >
              <td class=\"text-left\" width=\"60%\">";
        // line 871
        echo (isset($context["additional_fields_yes_heading"]) ? $context["additional_fields_yes_heading"] : null);
        echo "</td>              
              <td class=\"text-center\" width=\"20%\">";
        // line 872
        echo (isset($context["show_title"]) ? $context["show_title"] : null);
        echo "</td>
              <td class=\"text-center\" width=\"20%\">";
        // line 873
        echo (isset($context["required_title"]) ? $context["required_title"] : null);
        echo "</td>                            
            </tr>
          </thead>
               ";
        // line 876
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["fields"]) ? $context["fields"] : null));
        foreach ($context['_seq'] as $context["key"] => $context["field"]) {
            // line 877
            echo "               ";
            if ($this->getAttribute($context["field"], "social", array())) {
                // line 878
                echo "\t\t          <tr>
\t\t\t\t\t<td class=\"text-left\">
\t\t\t\t\t";
                // line 880
                echo (($this->getAttribute($context["field"], "title", array())) ? ((("<span data-toggle=\"tooltip\" title=\"" . $this->getAttribute($context["field"], "title", array())) . "\">")) : (""));
                echo $this->getAttribute((isset($context["field_title"]) ? $context["field_title"] : null), $context["key"], array(), "array");
                echo (($this->getAttribute($context["field"], "title", array())) ? ("</span>") : (""));
                echo "
\t\t\t\t\t
\t\t\t\t\t</td>                  
\t\t            <td class=\"text-center\">
\t\t            <input type=\"checkbox\" value =\"1\" name=\"social[fields][";
                // line 884
                echo $context["key"];
                echo "][show]\" ";
                echo (($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "social", array(), "array"), "fields", array(), "array"), $context["key"], array(), "array"), "show", array(), "array")) ? ("checked=\"checked\"") : (""));
                echo "  />\t            
\t\t            </td>
\t\t            <td class=\"text-center\">
\t\t            ";
                // line 887
                if (($this->getAttribute($context["field"], "required_default", array()) && $this->getAttribute($context["field"], "required_default", array()))) {
                    // line 888
                    echo "\t\t            ";
                    echo (isset($context["always_mandatory_heading"]) ? $context["always_mandatory_heading"] : null);
                    echo "
\t\t            ";
                } elseif (($this->getAttribute(                // line 889
$context["field"], "required", array()) &&  !$this->getAttribute($context["field"], "required", array()))) {
                    // line 890
                    echo "\t\t            ";
                    echo (isset($context["cannot_mandatory_heading"]) ? $context["cannot_mandatory_heading"] : null);
                    echo "
\t\t            ";
                } else {
                    // line 892
                    echo "\t\t            <input type=\"checkbox\" value=\"1\"  name=\"social[fields][";
                    echo $context["key"];
                    echo "][required]\" ";
                    echo (( !$this->getAttribute($context["field"], "required", array())) ? ("disabled=\"disabled\"") : (""));
                    echo " ";
                    echo (($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "social", array(), "array"), "fields", array(), "array"), $context["key"], array(), "array"), "required", array(), "array")) ? ("checked=\"checked\"") : (""));
                    echo " />
\t\t            ";
                }
                // line 894
                echo "\t\t            </td>            
\t\t\t\t  </tr>
\t\t\t\t";
            }
            // line 897
            echo "\t\t\t\t";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['key'], $context['field'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 898
        echo "</table>  
</div>
</div>
</div>
  
</div>
<div id=\"tab-override\" class=\"tab-pane\">
<ul class=\"nav nav-tabs tab-horizontal\">         
<li class=\"active\"><a href=\"#tab-colors\" data-toggle=\"tab\">";
        // line 906
        echo (isset($context["custom_colors_heading"]) ? $context["custom_colors_heading"] : null);
        echo "</a></li>
<li><a href=\"#tab-css\" data-toggle=\"tab\">";
        // line 907
        echo (isset($context["custom_css_tab_heading"]) ? $context["custom_css_tab_heading"] : null);
        echo "</a></li>
<li><a href=\"#tab-js\" data-toggle=\"tab\">";
        // line 908
        echo (isset($context["custom_js_tab_heading"]) ? $context["custom_js_tab_heading"] : null);
        echo "</a></li>
</ul>
<div class=\"tab-content\">
<div id=\"tab-colors\" class=\"tab-pane active\">
<div class=\"panel panel-default\">
<div class=\"panel-heading\"><h3 class=\"pane-title\" style=\"text-transform: capitalize;\">";
        // line 913
        echo (isset($context["text_design_option"]) ? $context["text_design_option"] : null);
        echo "</h3></div>
<div class=\"panel-body\" >
<div class=\"design\">
";
        // line 916
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["xtensions_design"]) ? $context["xtensions_design"] : null));
        foreach ($context['_seq'] as $context["key"] => $context["design"]) {
            // line 917
            echo "<div class=\"design-options\">
<div class=\"colors\">
";
            // line 919
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["design"], "placeholder", array()));
            foreach ($context['_seq'] as $context["_key"] => $context["color"]) {
                // line 920
                echo "<div class=\"sub-color\" style=\"background: ";
                echo $context["color"];
                echo "\"></div>
";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['color'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 922
            echo "</div>
<div class=\"xform text-center\" style=\"display: block\">
<div class=\"radio-group\">
<input type=\"radio\" id=\"option-design_";
            // line 925
            echo $context["key"];
            echo "\" value=\"";
            echo $context["key"];
            echo "\" ";
            if (($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "design", array()), "type", array()) && ($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "design", array()), "type", array()) == $context["key"]))) {
                echo " ";
                echo "checked";
                echo " ";
            }
            echo " name=\"design[type]\" />
<label for=\"option-design_";
            // line 926
            echo $context["key"];
            echo "\">";
            echo $this->getAttribute($context["design"], "title", array());
            echo "</label>
</div>
</div>
</div>
";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['key'], $context['design'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 931
        echo "<div class=\"design-options\">
<div class=\"colors\">
<div class=\"sub-color\" style=\"background: red;\"></div>
<div class=\"sub-color\" style=\"background: green;\"></div>
<div class=\"sub-color\" style=\"background: blue;\"></div>
</div>
<div class=\"xform text-center\" style=\"display: block\">
<div class=\"radio-group\">
<input type=\"radio\" id=\"option-design_custom\" value=\"custom\"  name=\"design[type]\" ";
        // line 939
        if (($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "design", array()), "type", array()) && ($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "design", array()), "type", array()) == "custom"))) {
            echo " ";
            echo "checked";
            echo " ";
        }
        echo "/>
<label for=\"option-design_custom\">";
        // line 940
        echo (isset($context["text_design_custom"]) ? $context["text_design_custom"] : null);
        echo "</label>
</div>
</div>
</div>
</div>
</div>
<div class=\"custom_design custom-colors\">
";
        // line 947
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["xtensions_color_section"]) ? $context["xtensions_color_section"] : null));
        foreach ($context['_seq'] as $context["key"] => $context["section"]) {
            // line 948
            echo "<div class=\"panel\" style=\"margin-bottom: 0;\">
<div class=\"panel-heading\" style=\"border-top:1px solid #ddd;\"><h5 class=\"pane-title\" style=\"text-transform: capitalize;\">";
            // line 949
            echo $this->getAttribute((isset($context["text_xtensions_color_section"]) ? $context["text_xtensions_color_section"] : null), $context["key"], array(), "array");
            echo "</h5></div>
<div class=\"panel-body\">
<div class=\"row\">
";
            // line 952
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable($context["section"]);
            foreach ($context['_seq'] as $context["_key"] => $context["colors"]) {
                // line 953
                echo "<div class=\"col-md-6\" style=\"min-height: 60px;\">
<div class=\"form-group\">
<label class=\"col-sm-6 control-label\">";
                // line 955
                echo $this->getAttribute((isset($context["xtensions_colors"]) ? $context["xtensions_colors"] : null), $context["colors"], array(), "array");
                echo "</label>
<div class=\"col-sm-6\">
<div class=\"input-group colorpicker-component\">
    <input type=\"text\" name=\"colors[";
                // line 958
                echo $context["colors"];
                echo "]\" value=\"";
                echo (($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "colors", array(), "array"), $context["colors"], array(), "array")) ? ($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "colors", array(), "array"), $context["colors"], array(), "array")) : ($this->getAttribute((isset($context["xtensions_custom_color"]) ? $context["xtensions_custom_color"] : null), $context["colors"], array(), "array")));
                echo "\" class=\"form-control\" />
    <span class=\"input-group-addon\"><i></i></span>
</div>             
</div>
</div>
</div>
";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['colors'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 965
            echo "</div>
</div>
</div>
";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['key'], $context['section'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 969
        echo "
</div>
</div>
</div>
<div id=\"tab-css\" class=\"tab-pane\">
<div class=\"table-responsive\">
<table class=\"table table-striped table-bordered table-hover\">
    <thead >            
            <tr >
              <td class=\"text-center\" >";
        // line 978
        echo (isset($context["custom_css_heading"]) ? $context["custom_css_heading"] : null);
        echo "</td>     
            </tr>
          </thead>
              <tr>
              <td><textarea  id=\"custom_css\" name=\"design[css]\" class=\"form-control\" rows=\"20\">";
        // line 982
        echo (($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "design", array()), "css", array())) ? ($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "design", array()), "css", array())) : (""));
        echo "</textarea></td>
              </tr>
              
</table>
</div>
</div>
<div id=\"tab-js\" class=\"tab-pane\">
<div class=\"table-responsive\">
<table class=\"table table-striped table-bordered table-hover\">
    <thead >            
            <tr >
              <td class=\"text-center\">";
        // line 993
        echo (isset($context["custom_js_heading"]) ? $context["custom_js_heading"] : null);
        echo "</td>     
            </tr>
          </thead>          
              
              <tr>
              <td><textarea id=\"custom_js\" name=\"design[js]\" class=\"form-control\"  rows=\"20\">";
        // line 998
        echo (($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "design", array()), "js", array())) ? ($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "design", array()), "js", array())) : (""));
        echo "</textarea></td>
              </tr>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</form>
</div>
<div id=\"tab-export-import\" class=\"tab-pane\">
<form action=\"";
        // line 1011
        echo (isset($context["export"]) ? $context["export"] : null);
        echo "\" method=\"post\" enctype=\"multipart/form-data\" id=\"form-import\" class=\"form-horizontal\">
<table class=\"table table-striped table-bordered table-hover\">
          <thead >            
            <tr >
              <td class=\"text-left\" colspan=\"2\"><i class=\"fa fa-download\"></i>&nbsp;";
        // line 1015
        echo (isset($context["button_export_settings"]) ? $context["button_export_settings"] : null);
        echo "</td>                                          
            </tr>
          </thead>               
              <tr>
              <td class=\"text-left\" style=\"width: 30%;\">
              <select name=\"export_store_id\" class=\"form-control\">
\t\t\t  <option value=\"0\" ";
        // line 1021
        echo ((((isset($context["store_id"]) ? $context["store_id"] : null) == 0)) ? ("selected=\"selected\"") : (""));
        echo ">";
        echo (isset($context["default_heading"]) ? $context["default_heading"] : null);
        echo "</option>\t\t\t  
\t          ";
        // line 1022
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["stores"]) ? $context["stores"] : null));
        foreach ($context['_seq'] as $context["_key"] => $context["store"]) {
            echo " 
\t  \t\t  <option value=\"";
            // line 1023
            echo $this->getAttribute($context["store"], "store_id", array());
            echo "\" ";
            echo ((((isset($context["store_id"]) ? $context["store_id"] : null) == $this->getAttribute($context["store"], "store_id", array()))) ? ("selected=\"selected\"") : (""));
            echo ">";
            echo $this->getAttribute($context["store"], "name", array());
            echo "</option>
\t          ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['store'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 1024
        echo " 
\t\t\t  </select>
\t  \t\t  </td>              
        \t  <td class=\"text-left\"> 
        \t  <button type=\"submit\" data-toggle=\"tooltip\" title=\"";
        // line 1028
        echo (isset($context["button_export_settings"]) ? $context["button_export_settings"] : null);
        echo "\" class=\"btn btn-primary\"><i class=\"fa fa-download\"></i></button>
        \t  </td>
              </tr>                                                       
</table>
</form>
<form action=\"";
        // line 1033
        echo (isset($context["import"]) ? $context["import"] : null);
        echo "\" method=\"post\" enctype=\"multipart/form-data\" id=\"form-import\" class=\"form-horizontal\">
<table class=\"table table-striped table-bordered table-hover\">
          <thead >            
            <tr >
              <td class=\"text-left\" colspan=\"3\"><i class=\"fa fa-upload\"></i>&nbsp;";
        // line 1037
        echo (isset($context["button_import_settings"]) ? $context["button_import_settings"] : null);
        echo "</td>                                          
            </tr>
          </thead>               
              <tr>
              <td class=\"text-left\" style=\"width: 30%;\">
              <input type=\"file\" name=\"import_file\" id=\"input-file\" class=\"form-control\" style=\"max-width: 200px;display: inline-block;\" />
              </td>
              <td class=\"text-left\" style=\"width: 30%;\">
              <select name=\"import_store_id\" class=\"form-control\">
              <option value=\"0\" ";
        // line 1046
        echo ((((isset($context["store_id"]) ? $context["store_id"] : null) == 0)) ? ("selected=\"selected\"") : (""));
        echo ">";
        echo (isset($context["default_heading"]) ? $context["default_heading"] : null);
        echo "</option>\t\t\t  
\t          ";
        // line 1047
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["stores"]) ? $context["stores"] : null));
        foreach ($context['_seq'] as $context["_key"] => $context["store"]) {
            echo " 
\t  \t\t  <option value=\"";
            // line 1048
            echo $this->getAttribute($context["store"], "store_id", array());
            echo "\" ";
            echo ((((isset($context["store_id"]) ? $context["store_id"] : null) == $this->getAttribute($context["store"], "store_id", array()))) ? ("selected=\"selected\"") : (""));
            echo ">";
            echo $this->getAttribute($context["store"], "name", array());
            echo "</option>
\t          ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['store'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 1049
        echo " 
\t\t\t  </select>
\t  \t\t  </td>              
        \t  <td class=\"text-left\"> 
        \t  <button type=\"submit\" data-toggle=\"tooltip\" title=\"";
        // line 1053
        echo (isset($context["button_import_settings"]) ? $context["button_import_settings"] : null);
        echo "\" class=\"btn btn-primary\"><i class=\"fa fa-upload\"></i></button>
        \t  </td>
              </tr>                                                       
</table>
</form>
</div>

</div>
    </div>
  </div>
  </div>
  </div>
<script type=\"text/javascript\" src=\"view/javascript/summernote/summernote.js\"></script>
<link href=\"view/javascript/summernote/summernote.css\" rel=\"stylesheet\" />
<script type=\"text/javascript\" src=\"view/javascript/summernote/summernote-image-attributes.js\"></script>
<script type=\"text/javascript\" src=\"view/javascript/summernote/opencart.js\"></script>
<link href=\"view/javascript/xtensions/codemirror/lib/codemirror.css\" rel=\"stylesheet\" />
<link href=\"view/javascript/xtensions/codemirror/lib/show-hint.css\" rel=\"stylesheet\" />
<link href=\"view/javascript/xtensions/codemirror/theme/oceanic-next.css\" rel=\"stylesheet\" />
<script type=\"text/javascript\" src=\"view/javascript/xtensions/codemirror/lib/codemirror.js\"></script>
<script type=\"text/javascript\" src=\"view/javascript/xtensions/codemirror/lib/show-hint.js\"></script>
<script type=\"text/javascript\" src=\"view/javascript/xtensions/codemirror/lib/css-hint.js\"></script>
<script type=\"text/javascript\" src=\"view/javascript/xtensions/codemirror/lib/javascript-hint.js\"></script> 
<script type=\"text/javascript\" src=\"view/javascript/xtensions/codemirror/lib/autorefresh.js\"></script>
<script type=\"text/javascript\" src=\"view/javascript/xtensions/codemirror/lib/css.js\"></script> 
<script type=\"text/javascript\" src=\"view/javascript/xtensions/codemirror/lib/javascript.js\"></script>
<script type=\"text/javascript\" src=\"";
        // line 1079
        echo (isset($context["xtensions_support"]) ? $context["xtensions_support"] : null);
        echo "help/xsupport\"></script>   
<script type=\"text/javascript\">
var xtensions_module = '";
        // line 1081
        echo (isset($context["xtensions_module"]) ? $context["xtensions_module"] : null);
        echo "';
var image_row = ";
        // line 1082
        echo (isset($context["image_row"]) ? $context["image_row"] : null);
        echo ";

function addImage() {
\thtml  = '<tr id=\"image-row' + image_row + '\">';
\thtml += '  <td class=\"text-left\"><a href=\"\" id=\"thumb-image' + image_row + '\"data-toggle=\"image\" class=\"img-thumbnail\"><img src=\"";
        // line 1086
        echo (isset($context["placeholder"]) ? $context["placeholder"] : null);
        echo "\" alt=\"\" title=\"\" data-placeholder=\"";
        echo (isset($context["placeholder"]) ? $context["placeholder"] : null);
        echo "\" /></a><input type=\"hidden\" name=\"options[footer][images][]\" value=\"\" id=\"input-image' + image_row + '\" /></td>';\t
\thtml += '  <td class=\"text-left\"><button type=\"button\" onclick=\"\$(\\'#image-row' + image_row  + '\\').remove();\" data-toggle=\"tooltip\" title=\"";
        // line 1087
        echo (isset($context["button_remove"]) ? $context["button_remove"] : null);
        echo "\" class=\"btn btn-danger\"><i class=\"fa fa-minus-circle\"></i></button></td>';
\thtml += '</tr>';

\t\$('#images tbody').append(html);

\timage_row++;
}
\$('select[name=\\'store_id\\']').bind('change', function() {
\tlocation = 'index.php?route=";
        // line 1095
        echo (isset($context["xtensions_admin_xcheckout_path"]) ? $context["xtensions_admin_xcheckout_path"] : null);
        echo "&user_token=";
        echo (isset($context["user_token"]) ? $context["user_token"] : null);
        echo "&store_id=' + this.value;
});
\$('select[name=\\'options[country_id]\\']').bind('change', function() {
  \$.ajax({
    url: 'index.php?route=";
        // line 1099
        echo (isset($context["xtensions_admin_xcheckout_path"]) ? $context["xtensions_admin_xcheckout_path"] : null);
        echo "/country&user_token=";
        echo (isset($context["user_token"]) ? $context["user_token"] : null);
        echo "&country_id=' + this.value,
    dataType: 'json',          
    success: function(json) {     
      html='';
    if (json['zone'] != '' && undefined !=json['zone']) {
        html = '<option value=\"999\">--Please Select--</option>';
        for (i = 0; i < json['zone'].length; i++) {
              html += '<option value=\"' + json['zone'][i]['zone_id'] + '\"';
            
          if (json['zone'][i]['zone_id'] =='";
        // line 1108
        echo ((($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array()), "zone_id", array()) && $this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array()), "zone_id", array()))) ? ($this->getAttribute($this->getAttribute((isset($context["xconfig"]) ? $context["xconfig"] : null), "options", array()), "zone_id", array())) : (""));
        echo "') {
                html += ' selected=\"selected\"';
            }
  
                 html += '>' + json['zone'][i]['name'] + '</option>';
        }
      } else {
        html += '<option value=\"0\" selected=\"selected\">--None--</option>';
      }
      
      \$('select[name=\\'options[zone_id]\\']').html(html);
    },
    error: function(xhr, ajaxOptions, thrownError) {
      alert(thrownError + \"\\r\\n\" + xhr.statusText + \"\\r\\n\" + xhr.responseText);
    }
  });
});
\$('select[name=\\'options[country_id]\\']').trigger('change');
\$('input[name=\\'design[type]\\']').bind('change', function() {
\tchangeDesign();
});
function changeDesign(){
\tif(\$('input[name=\\'design[type]\\']:checked').val() == 'custom'){
\t\t\$('.custom-colors').show();
\t }else{
\t\t\$('.custom-colors').hide();
\t }
}
changeDesign();
\$(function() {
    \$('.colorpicker-component').colorpicker({
\t\t'format':'hex'
    });
});
</script>
<script type=\"text/javascript\">
 var codemirrorcssold;
 var codemirrorjsold;
 window.onload = function () {
 var codemirrorCss = CodeMirror.fromTextArea(document.querySelector('#custom_css'), {
\t\tmode: 'text/css',
\t\theight: '500px',
\t\tlineNumbers: true,
\t\ttheme: 'oceanic-next',
\t\textraKeys: {\"Ctrl-Space\": \"autocomplete\"},
\t});
 codemirrorCss.refresh();
 codemirrorcssold = codemirrorCss;
 var codemirrorJs = CodeMirror.fromTextArea(document.querySelector('#custom_js'), {
\t\tmode: 'text/javascript',
\t\theight: '500px',
\t\tlineNumbers: true,
\t\ttheme: 'oceanic-next',
\t\textraKeys: {\"Ctrl-Space\": \"autocomplete\"},
\t});
 codemirrorJs.refresh();
codemirrorjsold = codemirrorJs;
 };
\$('a[data-toggle=\"tab\"]').on('shown.bs.tab', function (e) {\t
\tvar target = \$(e.target).attr(\"href\");
\tif(target == '#tab-css'){
\t\tcodemirrorcssold.refresh();
\t}else if(target == '#tab-js'){\t\t
\t\tcodemirrorjsold.refresh();
\t}
});
</script>
";
        // line 1175
        echo (isset($context["footer"]) ? $context["footer"] : null);
        echo "
";
    }

    public function getTemplateName()
    {
        return "extension/module/xtensions_checkout.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  2951 => 1175,  2881 => 1108,  2867 => 1099,  2858 => 1095,  2847 => 1087,  2841 => 1086,  2834 => 1082,  2830 => 1081,  2825 => 1079,  2796 => 1053,  2790 => 1049,  2778 => 1048,  2772 => 1047,  2766 => 1046,  2754 => 1037,  2747 => 1033,  2739 => 1028,  2733 => 1024,  2721 => 1023,  2715 => 1022,  2709 => 1021,  2700 => 1015,  2693 => 1011,  2677 => 998,  2669 => 993,  2655 => 982,  2648 => 978,  2637 => 969,  2628 => 965,  2613 => 958,  2607 => 955,  2603 => 953,  2599 => 952,  2593 => 949,  2590 => 948,  2586 => 947,  2576 => 940,  2568 => 939,  2558 => 931,  2545 => 926,  2533 => 925,  2528 => 922,  2519 => 920,  2515 => 919,  2511 => 917,  2507 => 916,  2501 => 913,  2493 => 908,  2489 => 907,  2485 => 906,  2475 => 898,  2469 => 897,  2464 => 894,  2454 => 892,  2448 => 890,  2446 => 889,  2441 => 888,  2439 => 887,  2431 => 884,  2422 => 880,  2418 => 878,  2415 => 877,  2411 => 876,  2405 => 873,  2401 => 872,  2397 => 871,  2387 => 868,  2378 => 862,  2370 => 861,  2366 => 860,  2358 => 859,  2347 => 855,  2338 => 849,  2329 => 843,  2324 => 841,  2317 => 837,  2312 => 835,  2305 => 831,  2295 => 824,  2290 => 822,  2283 => 818,  2278 => 816,  2271 => 812,  2261 => 805,  2256 => 803,  2249 => 799,  2244 => 797,  2237 => 793,  2224 => 782,  2215 => 779,  2209 => 778,  2207 => 777,  2190 => 773,  2179 => 770,  2174 => 769,  2172 => 768,  2168 => 766,  2162 => 765,  2160 => 764,  2143 => 763,  2138 => 762,  2136 => 761,  2132 => 760,  2126 => 757,  2122 => 755,  2118 => 754,  2112 => 751,  2105 => 746,  2091 => 742,  2083 => 741,  2073 => 736,  2061 => 735,  2054 => 731,  2049 => 730,  2045 => 729,  2037 => 724,  2033 => 723,  2018 => 711,  2012 => 707,  2009 => 706,  2003 => 705,  2001 => 704,  1994 => 702,  1982 => 701,  1977 => 700,  1973 => 699,  1969 => 698,  1965 => 697,  1957 => 692,  1947 => 685,  1941 => 684,  1935 => 681,  1929 => 680,  1922 => 676,  1918 => 675,  1906 => 666,  1898 => 665,  1894 => 664,  1886 => 663,  1879 => 659,  1870 => 653,  1862 => 652,  1858 => 651,  1850 => 650,  1843 => 646,  1840 => 645,  1833 => 643,  1825 => 641,  1821 => 640,  1818 => 639,  1815 => 638,  1811 => 637,  1805 => 634,  1801 => 633,  1790 => 624,  1785 => 622,  1776 => 620,  1772 => 619,  1767 => 617,  1764 => 616,  1762 => 615,  1757 => 613,  1750 => 609,  1744 => 606,  1740 => 605,  1736 => 604,  1732 => 603,  1728 => 602,  1724 => 601,  1720 => 600,  1716 => 599,  1712 => 598,  1708 => 597,  1704 => 596,  1700 => 595,  1695 => 593,  1689 => 590,  1682 => 588,  1675 => 584,  1669 => 583,  1664 => 581,  1655 => 575,  1647 => 574,  1643 => 573,  1635 => 572,  1626 => 568,  1614 => 563,  1607 => 561,  1598 => 555,  1590 => 554,  1586 => 553,  1578 => 552,  1574 => 551,  1566 => 550,  1557 => 546,  1548 => 540,  1540 => 539,  1536 => 538,  1528 => 537,  1521 => 533,  1512 => 527,  1504 => 526,  1500 => 525,  1492 => 524,  1483 => 520,  1474 => 514,  1466 => 513,  1462 => 512,  1454 => 511,  1445 => 507,  1436 => 501,  1428 => 500,  1424 => 499,  1416 => 498,  1407 => 494,  1401 => 491,  1396 => 489,  1389 => 485,  1382 => 483,  1375 => 479,  1370 => 477,  1364 => 474,  1359 => 472,  1352 => 468,  1347 => 466,  1340 => 462,  1336 => 461,  1323 => 451,  1315 => 445,  1307 => 443,  1294 => 440,  1284 => 439,  1277 => 437,  1273 => 435,  1260 => 432,  1250 => 431,  1243 => 429,  1238 => 426,  1225 => 424,  1215 => 423,  1208 => 421,  1203 => 419,  1196 => 417,  1190 => 414,  1186 => 413,  1182 => 412,  1178 => 411,  1159 => 399,  1154 => 396,  1150 => 395,  1142 => 393,  1140 => 392,  1137 => 391,  1133 => 390,  1126 => 388,  1120 => 387,  1115 => 386,  1108 => 384,  1101 => 383,  1095 => 381,  1093 => 380,  1089 => 379,  1083 => 377,  1079 => 376,  1073 => 373,  1069 => 372,  1065 => 371,  1061 => 370,  1057 => 369,  1053 => 368,  1043 => 360,  1032 => 357,  1028 => 356,  1021 => 354,  1015 => 351,  1011 => 350,  1004 => 345,  1000 => 344,  992 => 343,  985 => 341,  977 => 340,  970 => 338,  965 => 337,  963 => 336,  960 => 335,  953 => 334,  945 => 332,  941 => 331,  936 => 329,  930 => 328,  924 => 325,  920 => 324,  909 => 316,  905 => 315,  895 => 307,  888 => 306,  882 => 303,  875 => 302,  872 => 301,  867 => 300,  863 => 299,  859 => 298,  855 => 297,  848 => 295,  842 => 294,  837 => 292,  831 => 291,  825 => 288,  821 => 287,  817 => 286,  809 => 280,  802 => 279,  796 => 276,  787 => 275,  784 => 274,  779 => 273,  775 => 272,  771 => 271,  767 => 270,  762 => 267,  755 => 266,  751 => 265,  748 => 264,  743 => 263,  740 => 262,  735 => 261,  731 => 260,  727 => 259,  722 => 256,  717 => 255,  713 => 254,  707 => 253,  703 => 251,  701 => 250,  695 => 249,  689 => 246,  685 => 245,  681 => 244,  671 => 236,  664 => 235,  658 => 232,  649 => 231,  646 => 230,  641 => 229,  637 => 228,  633 => 227,  629 => 226,  622 => 224,  615 => 223,  612 => 222,  610 => 221,  604 => 220,  598 => 217,  594 => 216,  590 => 215,  581 => 208,  574 => 207,  568 => 204,  559 => 203,  556 => 202,  551 => 201,  547 => 200,  543 => 199,  539 => 198,  534 => 195,  527 => 194,  523 => 193,  519 => 192,  515 => 191,  508 => 189,  505 => 188,  503 => 187,  497 => 186,  491 => 183,  487 => 182,  483 => 181,  469 => 169,  462 => 168,  456 => 165,  447 => 164,  444 => 163,  439 => 162,  435 => 161,  431 => 160,  427 => 159,  422 => 156,  415 => 155,  411 => 154,  408 => 153,  403 => 152,  400 => 151,  395 => 150,  391 => 149,  387 => 148,  380 => 146,  374 => 143,  368 => 142,  362 => 139,  358 => 138,  346 => 129,  339 => 128,  335 => 127,  328 => 126,  320 => 121,  312 => 116,  299 => 106,  295 => 105,  291 => 104,  280 => 96,  276 => 95,  272 => 94,  268 => 93,  264 => 92,  260 => 91,  247 => 81,  239 => 75,  232 => 74,  225 => 73,  222 => 72,  215 => 71,  211 => 70,  205 => 69,  201 => 68,  196 => 66,  187 => 60,  180 => 59,  176 => 58,  169 => 57,  162 => 53,  156 => 49,  151 => 47,  147 => 46,  144 => 45,  139 => 44,  135 => 43,  131 => 42,  124 => 38,  120 => 37,  109 => 28,  97 => 27,  91 => 26,  85 => 25,  75 => 22,  64 => 13,  54 => 12,  48 => 11,  43 => 9,  34 => 7,  28 => 6,  19 => 1,);
    }
}
/* {{ header }}{{ column_left }} */
/* <div id="content">*/
/* <div class="page-header">*/
/*     <div class="container-fluid">*/
/*        <div class="pull-right">*/
/*         <button type="submit" form="form-xcheckout" data-toggle="tooltip" title="{{ button_save }}" class="btn btn-primary"><i class="fa fa-save"></i> {{ text_save_and_stay }}</button>*/
/*         <a href="{{ cancel }}" data-toggle="tooltip" title="{{ button_cancel }}" class="btn btn-default"><i class="fa fa-reply"></i> {{ text_cancel_or_back }}</a>*/
/*         </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">*/
/*    <div class="panel panel-default">*/
/*       <div class="panel-heading">*/
/*       <div class="row">*/
/*       <h3 class="panel-title col-sm-12">*/
/*       <span class="col-sm-10 "><i class="fa fa-pencil"></i> {{ edit_heading }}: {{ heading_title }} <b>{{ text_version~xtensions_version }}</b></span>*/
/*       <span class="col-sm-2 text-right">*/
/* 	  <select name="store_id" class="form-control">*/
/* 	  <option value="0" {{ store_id == 0?'selected="selected"':'' }}>{{ default_heading }}</option>*/
/* 	  {% for store in stores %} */
/* 	  <option value="{{ store.store_id }}" {{ store_id == store.store_id?'selected="selected"':'' }}>{{ store.name }}</option>*/
/* 	  {% endfor %} */
/* 	  </select>*/
/* 	  </span>*/
/*       </h3>*/
/*       </div>*/
/*       <div class="clearfix"></div>*/
/*       </div>   */
/*     <div class="panel-body">*/
/*     <ul class="nav nav-tabs tab-horizontal">         */
/* 		<li class="active"><a href="#tab-module" data-toggle="tab">{{ tab_module_settings }}</a></li>*/
/* 		<li><a href="#tab-export-import" data-toggle="tab">{{ tab_export_import }}</a></li>*/
/* 	</ul>*/
/* 	<div class="tab-content">*/
/* 	<div id="tab-module" class="tab-pane active">*/
/*       <form action="{{ action }}" method="post" enctype="multipart/form-data" id="form-xcheckout">        */
/*    {% if error_warning %} */
/*     	<div class="alert alert-warning"><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"><i class="fa fa-exclamation-circle"></i> {{ success }}<button type="button" class="close" data-dismiss="alert">&times;</button></div>*/
/*    {% endif %}*/
/* <div class="alert alert-xinfo inline">*/
/* <div class="row">*/
/* <div class="col-sm-5">*/
/* <label>*/
/* <b>{{ module_heading_title }}</b> */
/* </label>*/
/* <div class="xform">*/
/* 		        <div class="radio-group">*/
/* 				<input type="radio" id="option-status_yes" value="1"  name="status" {% if ((xconfig.status is defined and xconfig.status)) %} {{ 'checked' }}{% endif %} />*/
/* 				<label for="option-status_yes">{{ yes_option }}</label>*/
/* 				<input type="radio" id="option-status_no" value="0"  name="status" {% if (xconfig.status is not defined or (xconfig.status is defined and not xconfig.status)) %} {{ 'checked' }}{% endif %} />*/
/* 				<label for="option-status_no">{{ no_option }}</label>*/
/* 				</div>*/
/* </div>	*/
/* </div>*/
/* <div class="col-sm-3">*/
/* <label>*/
/* <b class="inline30">{{ default_country_heading }}</b>*/
/* <select class="inline60 form-control" name="options[country_id]">*/
/*                   <option value="0">{{ select_option_heading }}</option>*/
/*                     {% for country in countries %} */
/*                     {% if  xconfig.options.country_id is defined and xconfig.options.country_id == country.country_id %} */
/*                     <option value="{{ country.country_id }}" selected="selected">{{ country.name }}</option>*/
/*                     {% else %} */
/*                     <option value="{{ country.country_id }}">{{ country.name }}</option>*/
/*                     {% endif %} */
/*                     {% endfor %} */
/*               </select>*/
/* </label>*/
/* </div>*/
/* <div class="col-sm-4">*/
/* <label>*/
/* <b class="inline50">{{ default_default_state_region }}</b>*/
/* <select class="inline50 form-control" name="options[zone_id]"></select>*/
/* </label>*/
/* </div>*/
/* </div>*/
/* </div>*/
/* <div class="row">*/
/* <div class="col-sm-3">*/
/* <nav id="login-tabs" class="nav-sidebar">*/
/* <ul class="nav nav-tabs tabs-left" id="tab-xcheckout"> */
/* <li class="active"><a href="#tab-fields" data-toggle="tab">{{ text_fields_heading }}</a></li>*/
/* <li><a href="#tab-sort-validation" data-toggle="tab">{{ text_sort_validation }}</a></li>*/
/* <li><a href="#tab-language" data-toggle="tab">{{ language_heading }}</a></li>*/
/* <li><a href="#tab-misc" data-toggle="tab">{{ checkout_misc_heading }}</a></li>*/
/* <li><a href="#tab-social" data-toggle="tab">{{ social_login_heading }}</a></li>*/
/* <li><a href="#tab-override" data-toggle="tab">{{ design_heading }}</a></li>*/
/* </ul>*/
/* </nav>                       */
/* </div>*/
/* <div class="col-sm-9">*/
/* <div class="tab-content"> */
/* <div id="tab-fields" class="tab-pane active">  */
/* <ul class="nav nav-tabs tab-horizontal">         */
/* <li class="active"><a href="#tab-reg" data-toggle="tab">{{ register_area_heading }}</a></li>*/
/* <li><a href="#tab-edit" data-toggle="tab">{{ edit_area_heading }}</a></li>*/
/* <li><a href="#tab-checkout" data-toggle="tab">{{ guest_area_heading }}</a></li>*/
/* </ul>*/
/* <div class="tab-content">*/
/* <div id="tab-reg" class="tab-pane active">*/
/* <div class="row">*/
/* <div class="col-md-12">*/
/* <div class="table-responsive">*/
/* <table class="table table-striped table-bordered table-hover">*/
/*           <thead >            */
/*             <tr >*/
/*               <td colspan="3" class="text-left">{{ register_page_field_heading }}</td>           */
/*             </tr>*/
/*           </thead>*/
/*                <tr>*/
/*                   <td class="text-left">*/
/*                    <span data-toggle="tooltip" title="(Account, Address, password will appear in single section)"> {{ single_section_heading }}</span>*/
/*                   </td>                  */
/*                   <td colspan="2" class="text-center"> */
/*                   <div class="xform">*/
/* 		        <div class="radio-group">*/
/* 				<input type="radio" id="option-single_box_yes" value="1"  name="options[single_box]" {% if xconfig.options.single_box is not defined or (xconfig.options.single_box is defined and xconfig.options.single_box) %} {{ 'checked' }}{% endif %} />*/
/* 				<label for="option-single_box_yes">{{ yes_option }}</label>*/
/* 				<input type="radio" id="option-single_box_no" value="0"  name="options[single_box]" {% if xconfig.options.single_box is defined and not xconfig.options.single_box %} {{ 'checked' }}{% endif %} />*/
/* 				<label for="option-single_box_no">{{ no_option }}</label>*/
/* 				</div>*/
/*   				</div>	*/
/*   				*/
/*   				</td>                             */
/*                </tr>*/
/*                <thead >            */
/*             <tr >*/
/*             <td></td>*/
/*                <td class="text-center" width="20%">{{ show_title }}</td>*/
/*               <td class="text-center" width="20%">{{ required_title }}</td>*/
/*               </tr> */
/*               </thead>      */
/*                {% for key,field in fields %} */
/*                {% if (field.register or (field.mandatory is defined and field.mandatory)) %} */
/* 		          <tr>*/
/* 					<td class="text-left">*/
/* 					{{ field.title is defined?'<span data-toggle="tooltip" title="'~field.title~'">':'' }}{{ field_title[key] }}{{ field.title is defined?'</span>':'' }}</td>*/
/* 					<td class="text-center">*/
/* 					{% if (field.mandatory is defined and field.mandatory) %} */
/* 						{% if (key == 'customer_group_id') %} */
/* 						{{ always_displayed_in_store }} */
/* 						{% else %} */
/* 						{{ always_displayed }} */
/* 						{% endif %} */
/* 					{% elseif (field.register and field.mandataory is not defined) %}                  */
/* 		            <input type="checkbox" value ="1" name="register[{{ key }}][show]" {{ xconfig.register[key].show is defined?'checked="checked"':'' }} />*/
/* 		            {% endif %} */
/* 		            </td>*/
/* 		            <td class="text-center">*/
/* 		            {% if (field.required_default is defined and field.required_default) %} */
/* 		            {{ always_mandatory_heading }} */
/* 		            {% elseif (field.required is defined and not field.required) %} */
/* 		            {{ cannot_mandatory_heading }} */
/* 		            {% else %} */
/* 		            <input type="checkbox" value="1"  name="register[{{ key }}][required]" {{ xconfig.register[key].required is defined?'checked="checked"':'' }} {{ not field.required?'disabled="disabled"':'' }} />*/
/* 		            {% endif %} */
/* 		            </td>          */
/* 				  </tr>*/
/* 				{% endif %} */
/*           	  {% endfor %} */
/*               */
/* </table>*/
/* </div>*/
/* </div>*/
/* </div> */
/* </div>*/
/* <div id="tab-edit" class="tab-pane">*/
/* <div class="table-responsive">*/
/* <table class="table table-striped table-bordered table-hover">*/
/*           <thead >            */
/*             <tr >*/
/*               <td class="text-left">{{ personal_details_account_heading }}</td>              */
/*               <td class="text-center" width="20%">{{ show_title }}</td>*/
/*               <td class="text-center" width="20%">{{ required_title }}</td>                            */
/*             </tr>*/
/*           </thead>*/
/*                {% for key,field in fields %} */
/*                {% if ( (field.edit and field.location in ['account','both']) or (field.edit and field.mandatory is defined and field.mandatory)) %}*/
/* 		          <tr>*/
/* 					<td class="text-left">{{ field.title is defined?'<span data-toggle="tooltip" title="'~field.title~'">':'' }}{{ field_title[key] }}{{ field.title is defined?'</span>':'' }}</td>                  */
/* 		            <td class="text-center">*/
/* 		            {% if (field.mandatory is defined and field.mandatory ) %} */
/* 		            	{{ always_displayed }} */
/* 		            {% elseif (field.edit and field.mandataory is not defined) %} */
/* 		            <input type="checkbox" value ="1" name="edit[account][{{ key }}][show]" {{ xconfig.edit.account[key].show is defined?'checked="checked"':'' }}  /> */
/* 		            {% endif %} */
/* 		            </td>*/
/* 		            <td class="text-center">*/
/* 		            {% if (field.required_default is defined and field.required_default) %} */
/* 		            {{ always_mandatory_heading }} */
/* 		            {% elseif (field.required is defined and not field.required) %} */
/* 		            {{ cannot_mandatory_heading }} */
/* 		            {% else %} */
/* 		            <input type="checkbox" value="1"  name="edit[account][{{ key }}][required]" {{ not field.required?'disabled="disabled"':'' }} {{ xconfig.edit.account[key].required is defined?'checked="checked"':'' }} />*/
/* 		            {% endif %} */
/* 		            </td>            */
/* 				  </tr>*/
/* 				{% endif %} */
/*           	  {% endfor %} */
/* </table>*/
/* </div> */
/* <div class="table-responsive">*/
/* <table class="table table-striped table-bordered table-hover">*/
/*           <thead >            */
/*             <tr >*/
/*               <td class="text-left">{{ personal_details_address_heading }}</td>              */
/*               <td class="text-center" width="20%">{{ show_title }}</td>*/
/*               <td class="text-center" width="20%">{{ required_title }}</td>                            */
/*             </tr>*/
/*           </thead>*/
/*                {% for key,field in fields %} */
/*                {% if (field.edit and field.location in ['address','both'] ) %}*/
/* 		          <tr>*/
/* 					<td class="text-left">{{ field.title is defined?'<span data-toggle="tooltip" title="'~field.title~'">':'' }} {{ field_title[key] }}{{ field.title is defined?'</span>':'' }}</td>                  */
/* 		            <td class="text-center"><input type="checkbox" value ="1" name="edit[address][{{ key }}][show]" {{ xconfig.edit.address[key].show is defined?'checked="checked"':'' }} /></td>*/
/* 		            <td class="text-center">*/
/* 		            {% if (field.required_default is defined and field.required_default) %} */
/* 		            {{ always_mandatory_heading }} */
/* 		            {% elseif (field.required is defined and not field.required) %} */
/* 		            {{ cannot_mandatory_heading }} */
/* 		            {% else %} */
/* 		            <input type="checkbox" value="1"  name="edit[address][{{ key }}][required]" {{ not field.required?'disabled="disabled"':'' }} {{ xconfig.edit.address[key].required is defined?'checked="checked"':'' }} />*/
/* 		            {% endif %} */
/* 		            </td>            */
/* 				  </tr>*/
/* 				{% endif %} */
/*           	  {% endfor %} */
/* </table>*/
/* </div>           */
/* </div>                                  */
/* <div id="tab-checkout" class="tab-pane">*/
/* <div class="table-responsive"><table class="table table-striped table-bordered table-hover">*/
/*           <thead >            */
/*             <tr >*/
/*               <td class="text-left" width="60%">{{ account_guest_heading }}</td>              */
/*               <td class="text-center" width="20%">{{ show_title }}</td>*/
/*               <td class="text-center" width="20%">{{ required_title }}</td>                            */
/*             </tr>*/
/*           </thead>*/
/*                {% for key,field in fields %} */
/*                {% if ((field.checkout and field.location in ['account','both']) or (field.checkout and field.mandatory is defined and field.mandatory) ) %}*/
/* 		          <tr>*/
/* 					<td class="text-left">*/
/* 					{{ field.title is defined?'<span data-toggle="tooltip" title="'~field.title~'">':'' }}{{ field_title[key] }}{{ field.title is defined?'</span>':'' }} */
/* 					{% if (field.guest is defined and not field.guest) %} */
/* 					<br /><small class="text-muted">{{ guest_area_subheading }}</small>*/
/* 					{% endif %} */
/* 					</td>                  */
/* 		            <td class="text-center">*/
/* 		            {% if (field.mandatory is defined and field.mandatory ) %} */
/* 		            	{% if (key == 'customer_group_id') %} */
/* 						{{ always_displayed_in_store }} */
/* 						{% else %} */
/* 						{{ always_displayed }} */
/* 						{% endif %} */
/* 		            {% elseif (field.checkout and field.mandataory is not defined) %} */
/* 		            <input type="checkbox" value ="1" name="checkout[account][{{ key }}][show]" {{ xconfig.checkout.account[key].show is defined?'checked="checked"':'' }}  /> */
/* 		            {% endif %}		            */
/* 		            </td>*/
/* 		            <td class="text-center">*/
/* 		            {% if (field.required_default is defined and field.required_default) %} */
/* 		            {{ always_mandatory_heading }} */
/* 		            {% elseif (field.required is defined and not field.required) %} */
/* 		            {{ cannot_mandatory_heading }} */
/* 		            {% else %} */
/* 		            <input type="checkbox" value="1"  name="checkout[account][{{ key }}][required]" {{ not field.required?'disabled="disabled"':'' }} {{ xconfig.checkout.account[key].required is defined?'checked="checked"':'' }} />*/
/* 		            {% endif %} */
/* 		            </td>            */
/* 				  </tr>*/
/* 				{% endif %} */
/*           	  {% endfor %} */
/* </table>  */
/* </div>  */
/* <div class="table-responsive"><table class="table table-striped table-bordered table-hover">*/
/*           <thead >            */
/*             <tr >*/
/*               <td class="text-left" width="60%">{{ address_panel_heading }}</td>              */
/*               <td class="text-center" width="20%">{{ show_title }}</td>*/
/*               <td class="text-center" width="20%">{{ required_title }}</td>                           */
/*             </tr>*/
/*           </thead>*/
/*                {% for key,field in fields %} */
/*                {% if (field.checkout and field.location in ['address','both']) %}               */
/* 		          <tr>*/
/* 					<td class="text-left">{{ field.title is defined?'<span data-toggle="tooltip" title="'~field.title~'">':'' }}{{ field_title[key] }}{{ field.title is defined?'</span>':'' }}</td>                */
/* 		            <td class="text-center"><input type="checkbox" value ="1" name="checkout[address][{{ key }}][show]" {{ xconfig.checkout.address[key].show is defined?'checked="checked"':'' }} /></td>*/
/* 		            <td class="text-center">*/
/* 		            {% if (field.required_default is defined and field.required_default) %} */
/* 		            {{ always_mandatory_heading }} */
/* 		            {% elseif (field.required is defined and not field.required) %} */
/* 		            {{ cannot_mandatory_heading }} */
/* 		            {% else %} */
/* 		            <input type="checkbox" value="1"  name="checkout[address][{{ key }}][required]" {{ xconfig.checkout.address[key].required is defined?'checked="checked"':'' }} />*/
/* 		            {% endif %}        */
/* 		            </td>  */
/* 				  </tr>*/
/* 				{% endif %} */
/*           	  {% endfor %} */
/* </table>  */
/* </div>           */
/* </div>*/
/* </div>*/
/* </div>*/
/* <div id="tab-sort-validation" class="tab-pane">*/
/* <ul class="nav nav-tabs tab-horizontal">         */
/* <li class="active"><a href="#tab-sort" data-toggle="tab">{{ sorting_heading }}</a></li>*/
/* <li><a href="#tab-validation" data-toggle="tab">{{ validation_heading }}</a></li>*/
/* </ul>*/
/* <div class="tab-content">*/
/* <div id="tab-sort" class="tab-pane active">*/
/* <div class="table-responsive">*/
/* <table class="table table-striped table-bordered table-hover">*/
/*           <thead >            */
/*             <tr >*/
/*               <td class="text-left" width="30%">{{ field_name_heading }}</td>              */
/*               <td class="text-left" width="70%">{{ sort_name_heading }}</td>                                          */
/*             </tr>*/
/*           </thead>*/
/*           {% for key,field in fields %} */
/*           {% if (key not in ['newsletter','agree']) %}                   */
/*            <tr>*/
/*             <td class="text-left">{{ field_title[key] }}</td>                  */
/*         	<td class="text-left"><input type="text" name="sort_order[fields][{{ key }}]" value="{{ xconfig.sort_order.fields[key] is defined ? xconfig.sort_order.fields[key] : field.sort_order is defined ? field.sort_order : '' }}" size="6"  class="form-control"/></td>        	*/
/*            </tr>*/
/*            {% endif %} */
/*         {% endfor %} */
/*         {% if (custom_fields|length > 0) %}*/
/*         {% set count_custom_fields = 1 %} */
/*         {% for field in custom_fields %} */
/*           <tr>*/
/*           <td class="text-left">{{ field.name }} - {{ custom_field_heading }} (<span style="text-transform: capitalize;">{{ field.location }}</span>)</td>                  */
/*           <td class="text-left"><input type="text" name="sort_order[custom_fields][{{ field.custom_field_id }}]" value="{{ xconfig.sort_order.custom_fields[field.custom_field_id] is defined ? xconfig.sort_order.custom_fields[field.custom_field_id] : count_custom_fields*5 }}" size="6"  class="form-control"/></td>*/
/*           </tr>*/
/*           {% set count_custom_fields = count_custom_fields + 1 %} */
/*           {% endfor %} */
/*           {% endif %} */
/* </table> */
/* <table class="table table-striped table-bordered table-hover">*/
/*           <thead >            */
/*             <tr >*/
/*               <td class="text-left" width="30%">{{ account_tab_heading }}</td>              */
/*               <td class="text-left" width="70%">{{ sort_number_heading }}</td>                                          */
/*             </tr>*/
/*           </thead>*/
/*           {% for key,value in {'Giriş':1,'Kayıt Ol':2,'Misafir':3} %}                 */
/*            <tr>*/
/*             <td class="text-left"><span style="text-transform: capitalize;">{{ key }}</span></td>                  */
/*         	<td class="text-left"><input type="text" name="sort_order[account][{{ key }}]" value="{{ xconfig['sort_order']['account'][key] is defined?xconfig['sort_order']['account'][key]:value }}" size="6"  class="form-control"/></td>        	*/
/*            </tr>*/
/*            {% endfor %}*/
/* </table>           */
/* </div>*/
/* </div>*/
/* <div id="tab-validation" class="tab-pane">*/
/* <div class="table-responsive">*/
/* <table class="table table-striped table-bordered table-hover">*/
/*           <thead >            */
/*             <tr >*/
/*               <td class="text-left" width="20%">{{ validation_heading }}</td>           */
/*               <td class="text-center" width="10%">{{ minimum_characters_heading }}</td>*/
/*               <td class="text-center" width="10%">{{ maximum_characters_heading }}</td>              */
/*               <td class="text-center" width="10%">{{ numeric_heading }}</td>     */
/*               <td class="text-center" width="25%">{{ masking_heading }}</td> */
/*               <td class="text-center" width="25%">{{ regex_heading }}</td>*/
/*             </tr>            */
/*           </thead>  */
/*           {% for key, field in fields %}*/
/*            {% if  field.minimum  or  field.maximum%}                     */
/*            <tr>*/
/*             <td class="text-left"><b>{{ field_title[key] }}</b></td>            */
/*             {% if  key  == 'confirm' %}*/
/*             <td class="text-center" colspan="2">{{ confirm_password_description }}</td>*/
/*             {% else %}*/
/*         	<td class="text-center"><input type="text" size="6" name="validation[{{ key }}][minimum]" value="{{ xconfig['validation'][key]['minimum'] ? xconfig['validation'][key]['minimum'] : field.minimum_default ? field.minimum_default: '' }}" class="form-control"/></td>*/
/*         	<td class="text-center"><input type="text" size="6" name="validation[{{ key }}][maximim]" value="{{ xconfig['validation'][key]['maximim'] ? xconfig['validation'][key]['maximim'] : field.maximum_default ? field.maximum_default: '' }}" class="form-control"/></td>*/
/*         	{% endif %}*/
/*         	{% if  field.is_numeric  or  field.is_masking %}            */
/*         	<td class="text-center"><input type="checkbox" value="1" name="validation[{{ key }}][numeric]" {{ xconfig['validation'][key]['numeric']?'checked="checked"': '' }}/></td>*/
/*         	<td class="text-center"><input type="text" name="validation[{{ key }}][mask]" value="{{ xconfig['validation'][key]['mask']?xconfig['validation'][key]['mask']:'' }}" placeholder="Masking" title="CEP Brasil-99999-999" class="form-control"/></td>           */
/*             {% else %}*/
/*             <td colspan="2" class="text-center"><i class="fa fa-times-circle" aria-hidden="true"></i></td>*/
/*             {% endif %}			*/
/*             {% if  field.regex %}*/
/*         	<td class="text-center"><input type="text" name="validation[{{ key }}][regex]" value="{{ xconfig['validation'][key]['regex']?xconfig['validation'][key]['regex']: '' }}" placeholder="Regex" class="form-control"/></td>           */
/*             {% else %}*/
/*             <td colspan="1" class="text-center"><i class="fa fa-times-circle" aria-hidden="true"></i></td>*/
/*             {% endif %}                	*/
/*            	</tr>  */
/*            {% endif %}*/
/*            {% endfor %}     */
/* */
/*                   */
/* </table> */
/* </div>           */
/* </div>*/
/* </div>*/
/* </div>*/
/* <div id="tab-language" class="tab-pane">*/
/* <div class="table-responsive"><table class="table table-striped table-bordered table-hover">*/
/*           <thead >            */
/*             <tr >*/
/*               <td class="text-left" width="10%">{{ field_heading }}</td>*/
/*               <td class="text-center" width="20%">{{ title_heading }}</td>  */
/*               <td class="text-center" width="40%">{{ error_message_heading }}</td>            */
/*               <td class="text-center" width="30%">{{ tooltip_heading }}</td>                  */
/*             </tr>            */
/*           </thead>*/
/*           {% for key, field in fields %}                                */
/*            <tr>*/
/*             <td class="text-left">{{ field_title[key] }}</td>           */
/*         	<td class="text-center">*/
/*         	{% for language in languages %} */
/*         	<div class="input-group">*/
/*         	<span data-toggle="tooltip" title="{{ language.name }}" class="input-group-addon"><img src="language/{{ language.code }}/{{ language.code }}.png" title="{{ language.name }}" /></span>*/
/*         	<input type="text" name="titles[{{ key }}][title][{{ language.language_id }}]" value="{{ xconfig['titles'][key]['title'][language['language_id']]?xconfig['titles'][key]['title'][language['language_id']]:'' }}"   class="form-control" />                  */
/*         	</div>*/
/*         	{% endfor %}        	*/
/*         	</td>*/
/*         	<td class="text-center">*/
/*             {% for language in languages %} */
/*         	<div class="input-group">*/
/*         	<span data-toggle="tooltip" title="{{ language.name }}" class="input-group-addon"><img src="language/{{ language.code }}/{{ language.code }}.png" title="{{ language.name }}" /></span>*/
/*         	<input type="text" name="validation[{{ key }}][message][{{ language.language_id }}]" value="{{ xconfig['validation'][key]['message'][language['language_id']]?xconfig['validation'][key]['message'][language['language_id']]:'' }}"   class="form-control" />                  */
/*         	</div>*/
/*         	{% endfor %}*/
/*         	</td>  */
/*         	<td class="text-center">*/
/*         	{% for language in languages %} */
/*         	<div class="input-group">*/
/*         	<span data-toggle="tooltip" title="{{ language.name }}" class="input-group-addon"><img src="language/{{ language.code }}/{{ language.code }}.png" title="{{ language.name }}" /></span>*/
/*         	<input type="text" name="titles[{{ key }}][tooltip][{{ language.language_id }}]" value="{{ xconfig['titles'][key]['tooltip'][language['language_id']]?xconfig['titles'][key]['tooltip'][language['language_id']]:'' }}"   class="form-control" />                  */
/*         	</div>*/
/*         	{% endfor %}*/
/*         	</td>*/
/*            </tr>*/
/*         {% endfor %}            */
/* </table> */
/* </div>           */
/* </div>*/
/* <div id="tab-misc" class="tab-pane">*/
/* <ul class="nav nav-tabs tab-horizontal">         */
/* <li class="active"><a href="#tab-sub-misc" data-toggle="tab">{{ checkout_misc_heading }}</a></li>*/
/* <li><a href="#tab-footer" data-toggle="tab">Footer</a></li>*/
/* <li><a href="#tab-payment" data-toggle="tab">Payment Methods</a></li>*/
/* </ul>*/
/* <div class="tab-content">*/
/* <div id="tab-sub-misc" class="tab-pane active">*/
/* <div class="table-responsive">*/
/* <table class="table table-striped table-bordered table-hover">*/
/*           <thead >            */
/*             <tr >*/
/*               <td class="text-left" style="width:40%;">{{ field_heading }}</td>              */
/*               <td class="text-left" style="width:60%;">{{ option_heading }}</td>                                          */
/*             </tr>*/
/*           </thead>               */
/*               <tr>*/
/*               <td class="text-left" >{{ payment_shipping_method_heading }}</td>              */
/*         	  <td class="text-left"> */
/*         	  <input type="checkbox" value="1"  name="options[display_comments]" {{ xconfig.options.display_comments?"checked":'' }} />*/
/*         	  </td>*/
/*               </tr>            */
/*               <tr>                          */
/*               <td class="text-left">{{ show_coupons }}</td>              */
/*         	  <td class="text-left">*/
/*         	  <input type="checkbox" value="1"  name="options[display_coupons]" {{ xconfig.options.display_coupons?"checked":'' }} />*/
/*               </tr>*/
/*               <tr>                          */
/*               <td class="text-left" >{{ show_vouchers }}</td>              */
/*         	  <td class="text-left"> */
/*         	  <input type="checkbox" value="1"  name="options[display_vouchers]" {{ xconfig.options.display_vouchers?"checked":'' }} />*/
/*         	  </td>*/
/*               </tr>*/
/*               <tr>                          */
/*               <td class="text-left" >{{ show_reward_points }}<br /><small class="help">{{ required_user_subheading }}</small></td>              */
/*         	  <td class="text-left"> */
/*         	  <input type="checkbox" value="1"  name="options[display_rewards]" {{ xconfig.options.display_rewards?"checked":'' }} />*/
/*         	  </td>*/
/*               </tr>*/
/*               <tr>*/
/*               <td class="text-left" >{{ same_address_heading }}</td>              */
/*         	  <td class="text-left"> */
/*         	  <input type="checkbox" value="1"  name="options[same_shipping]" {{ xconfig.options.same_shipping?"checked":'' }} />           */
/*               </tr>  */
/*               <tr>*/
/*               <td class="text-left" >{{ login_page_heading }}<br/><span class="help">{{ change_login_step_heading }}</span></td>              */
/* 		      <td class="text-left">*/
/* 		      <div class="xform">*/
/* 		        <div class="radio-group">*/
/* 				<input type="radio" id="option-login-clean" value="clean"  name="options[login_type]" {% if   not xconfig.options.login_type  or  xconfig.options.login_type  and  xconfig.options.login_type  == 'clean' %} {{ 'checked' }} {% endif %} />*/
/* 				<label for="option-login-clean"><i class="fa fa-tablet" aria-hidden="true"></i> {{ clean_view }}</label>*/
/* 				<input type="radio" id="option-login-tab" value="tabs"  name="options[login_type]" {% if   xconfig.options.login_type  and  xconfig.options.login_type  == 'tabs' %} {{ 'checked' }} {% endif %}/>*/
/* 				<label for="option-login-tab"><i class="fa fa-th-list" aria-hidden="true"></i> {{ tabs_view }}</label>*/
/* 				</div>*/
/*   				</div>*/
/* 		      </td>*/
/*         	   </tr>             */
/*               <tr>*/
/*               <td class="text-left" >{{ address_list_heading }}<br/><span class="help">{{ address_list_subheading }}</span></td>              */
/* 		      <td class="text-left">*/
/* 		      <div class="xform">*/
/* 		        <div class="radio-group">*/
/* 				<input type="radio" id="option-address-block" value="block"  name="options[address_type]" {% if not xconfig.options.address_type  or  xconfig.options.address_type  and  xconfig.options.address_type  == 'block' %} {{ 'checked' }} {% endif %} />*/
/* 				<label for="option-address-block"><i class="fa fa-th" aria-hidden="true"></i> {{ block_view_heading }}</label>*/
/* 				<input type="radio" id="option-address-list" value="list"  name="options[address_type]" {% if xconfig.options.address_type  and  xconfig.options.address_type  == 'list' %} {{ 'checked' }} {% endif %}  />*/
/* 				<label for="option-address-list"><i class="fa fa-align-justify" aria-hidden="true"></i> {{ list_view_heading }}</label>*/
/* 				</div>*/
/*   				</div>*/
/* 		      </td>*/
/*         	   </tr> */
/*         	   <tr>*/
/*               <td class="text-left" >{{ address_form_heading }}<br/><span class="help"> {{ address_form_subheading }}</span></td>              */
/* 		      <td class="text-left">*/
/* 		      <div class="xform">*/
/* 		        <div class="radio-group">*/
/* 				<input type="radio" id="option-address-form-list" value="modal"  name="options[address_form]" {% if   xconfig.options.address_form  and  xconfig.options.address_form  == 'modal' %} {{ 'checked' }} {% endif %}  />*/
/* 				<label for="option-address-form-list"><i class="fa fa-clone" aria-hidden="true"></i> {{ modal_view_heading }}</label>*/
/* 				<input type="radio" id="option-address-form-block" value="inline"  name="options[address_form]" {% if   not xconfig.options.address_form  or  xconfig.options.address_form  and  xconfig.options.address_form  == 'inline'  %} {{ 'checked' }} {% endif %} />*/
/* 				<label for="option-address-form-block"><i class="fa fa-list-alt" aria-hidden="true"></i> {{ page_view_heading }}</label>*/
/* 				</div>*/
/*   				</div>*/
/* 		      </td>*/
/*         	   </tr>*/
/*         	   <tr>*/
/*               <td class="text-left" >{{ other_option_heading }}</td>              */
/* 		      <td class="text-left">*/
/* 		      <div class="xform">*/
/* 		        <div class="radio-group">*/
/* 				<input type="radio" id="option-coupon-form-modal" value="modal"  name="options[xcvc_view]" {% if   not xconfig.options.xcvc_view  or  xconfig.options.xcvc_view  and  xconfig.options.xcvc_view  == 'modal'  %} {{ 'checked' }} {% endif %} />*/
/* 				<label for="option-coupon-form-modal"><i class="fa fa-clone" aria-hidden="true"></i> {{ modal_view_heading }}</label>*/
/* 				<input type="radio" id="option-coupon-form-inline" value="inline"  name="options[xcvc_view]" {% if   xconfig.options.xcvc_view  and  xconfig.options.xcvc_view  == 'inline'  %} {{ 'checked' }} {% endif %} />*/
/* 				<label for="option-coupon-form-inline"><i class="fa fa-list-alt" aria-hidden="true"></i> {{ inline_view_heading }}</label>*/
/* 				</div>*/
/*   				</div>*/
/* 		      </td>*/
/*         	   </tr>*/
/*         	   <tr>*/
/*               <td class="text-left" >{{ default_step_heading }}<br/><span class="help">{{ step_active_heading }}</span></td>              */
/* 		      <td class="text-left">*/
/* 		      <div class="xform">*/
/* 		        <div class="radio-group">*/
/* 				<input type="radio" id="option-step-default-login" value="login"  name="options[step_default]" {% if   not xconfig.options.step_default  or  xconfig.options.step_default  and  xconfig.options.step_default  == 'login'  %} {{ 'checked' }} {% endif %} />*/
/* 				<label for="option-step-default-login"><i class="fa fa-user" aria-hidden="true"></i> {{ login_heading }}</label>*/
/* 				<input type="radio" id="option-step-default-register" value="register"  name="options[step_default]" {% if   xconfig.options.step_default  and  xconfig.options.step_default  == 'register'  %} {{ 'checked' }} {% endif %} />*/
/* 				<label for="option-step-default-register"><i class="fa fa-user-plus" aria-hidden="true"></i> {{ register_heading }}</label>*/
/* 				<input type="radio" id="option-step-default-guest" value="guest"  name="options[step_default]" {% if   xconfig.options.step_default  and  xconfig.options.step_default  == 'guest'  %} {{ 'checked' }} {% endif %} />*/
/* 				<label for="option-step-default-guest"><i class="fa fa-user-secret" aria-hidden="true"></i> {{ guest_heading }}</label>*/
/* 				</div>*/
/*   				</div>*/
/* 		      </td>*/
/*         	   </tr>*/
/*         	   <tr>*/
/*               <td class="text-left" >{{ default_step_session_heading }}<br/><span class="help">{{ default_step_session_heading_help }}</span></td>              */
/* 		      <td class="text-left">*/
/* 		      <input type="checkbox" value="1"  name="options[step_default_use_session]" {% if xconfig.options.step_default_use_session is defined  %} {{ 'checked' }} {% endif %} />*/
/* 		      </td>*/
/*         	   </tr> */
/*                <tr>*/
/*                <tr>*/
/*                <td class="text-left" >{{ payment_type_heading }}<br/><span class="help">{{ payment_type_subheading }}</span></td>              */
/* 		        <td class="text-left">*/
/* 		        <div class="xform">*/
/* 		        <div class="radio-group">*/
/* 				<input type="radio" id="option-payment-tabs" value="tabs"  name="options[payment_type]" {% if   not xconfig.options.payment_type  or  xconfig.options.payment_type  and  xconfig.options.payment_type  == 'tabs'  %} {{ 'checked' }} {% endif %} />*/
/* 				<label for="option-payment-tabs"><i class="fa fa-th-list" aria-hidden="true"></i> {{ tabs_view }}</label>*/
/* 				<input type="radio" id="option-payment-accordion" value="accordion"  name="options[payment_type]" {% if   xconfig.options.payment_type  and  xconfig.options.payment_type  == 'accordion' %} {{ 'checked' }} {% endif %} />*/
/* 				<label for="option-payment-accordion"><i class="fa fa-dot-circle-o" aria-hidden="true"></i> {{ accordion_view }}</label>*/
/* 				</div>*/
/*   				</div>		         */
/* 		        </td>    */
/* 		        </tr>*/
/* 		        <tr id="image-row-gift_wrap_image>">*/
/*                     <td class="text-left">{{ gift_wrap_image }}</td> */
/*                     <td class="text-left">*/
/*                       <a href="" id="thumb-image_gift_wrap_image" data-toggle="image" class="img-thumbnail"><img width="100px" src="{{ xconfig.options.gift_wrap_image  and  xconfig.options.gift_wrap_image?'../image/'~xconfig.options.gift_wrap_image: '../image/catalog/xtensions/giftcard.jpg' }}" alt="" title="" data-placeholder="{{ placeholder }}" /></a>*/
/*                       <input type="hidden" name="options[gift_wrap_image]" value="{{ xconfig.options.gift_wrap_image?xconfig.options.gift_wrap_image: '../image/catalog/xtensions/giftcard.jpg' }}" id="input-image-gift_wrap_image" />*/
/*                     </td>*/
/*                     </tr> */
/* 		        <tr>*/
/*               <td class="text-left" >{{ override_heading }}<br/><span class="help">{{ override_subheading }}</span></td>              */
/*         	  <td class="text-left"> */
/*         	  <input type="checkbox" value="1"  name="options[override_format]" {{ xconfig.options.override_format?"checked": '' }} />           */
/*               </tr>                 */
/*               <tr>*/
/*               <td class="text-left">{{ address_format_heading }}<br/>*/
/*               <span class="help">*/
/*         		{{ firstname_heading }}<br>*/
/*         		{{ lastname_heading }}<br>*/
/*         		{{ company_heading }}<br>*/
/* 		        {{ address_1_heading }}<br>*/
/* 		        {{ address_2_heading }}<br>*/
/* 		        {{ city_heading }}<br>*/
/* 		        {{ postcode_heading }}<br>*/
/* 		        {{ zone_heading }}<br>*/
/* 		        {{ zone_code_heading }}<br>*/
/* 		        {{ country_heading }}<br>*/
/* 		        <b>{{ identifier_heading }}</b><br>*/
/* 		        {{ Applicable_custom_field_heading }}*/
/* 		        <br>*/
/* 		        <span style="color:red">*/
/* 		        {{ address_format_note_text }}        */
/* 		        </span>*/
/* 		       </span>*/
/*               </td>*/
/*               <td class="text-left"><textarea name="options[address_format]" autocomplete="off" cols="40" rows="15">{{ xconfig.options.address_format?xconfig.options.address_format: '' }}</textarea></td>*/
/*               </tr>*/
/*               {% if  custom_fields|length > 0 %}*/
/*               <tr>*/
/*               <td class="text-left">{{ custom_fields_for_address_heading}}</td>*/
/*               <td class="text-left">*/
/*               {% for field in custom_fields %}*/
/*               {{ field.location == 'address'?'{'~field.identifier~'}<br/>':'' }}             */
/*               {% endfor %}*/
/*               </td>*/
/*               </tr>*/
/*               {% endif %}                                           */
/* </table>         */
/* </div>*/
/* </div>*/
/* <div id="tab-footer" class="tab-pane">*/
/* <div class="table-responsive">*/
/* <table class="table table-striped table-bordered table-hover">*/
/* <thead>            */
/*             <tr>*/
/*               <td class="left" style="width:40%;">{{ information_page_heading }}</td>              */
/*               <td class="left" style="width:60%;">{{ display_footer_link_heading }}</td>                                          */
/*             </tr>*/
/*           </thead>*/
/*           {% for information in informations %}*/
/*           {% if  information.status%}*/
/*           <tr>*/
/*               <td class="left" style="width:40%;">{{ information.title }}</td>              */
/*               <td class="left" style="width:60%;"><input name="options[information][]" type="checkbox" value="{{ information.information_id }}" {{ xconfig.options.information  and  information.information_id in xconfig.options.information?'checked="checked"': ''}}/></td>                                          */
/*             </tr>*/
/*          {% endif %}  */
/*          {% endfor %}*/
/*           <tr>*/
/*               <td class="left" style="width:40%;">{{ display_contact_link }}</td>              */
/*               <td class="left" style="width:60%;">*/
/*               <div class="xform">*/
/* 		        <div class="radio-group">*/
/* 				<input type="radio" id="option-contact_us_yes" value="1" name="options[footer][contact_us]" {% if xconfig.options.footer.contact_us is not defined   or  xconfig.options.footer.contact_us is defined    and  xconfig.options.footer.contact_us  == '1' %} {{ 'checked' }} {% endif %} />*/
/* 				<label for="option-contact_us_yes">{{ yes_option }}</label>*/
/* 				<input type="radio" id="option-contact_us_no" value="0" name="options[footer][contact_us]" {% if  xconfig.options.footer.contact_us is defined  and  xconfig.options.footer.contact_us  == '0' %} {{ 'checked' }} {% endif %} />*/
/* 				<label for="option-contact_us_no">{{ no_option }}</label>*/
/* 				</div>*/
/*   				</div>*/
/*   				</td>                                          */
/*             </tr>*/
/*             <tr>*/
/*               <td class="left" style="width:40%;">{{ display_footer_modal }}</td>              */
/*               <td class="left" style="width:60%;">*/
/*               <div class="xform">*/
/* 		        <div class="radio-group">*/
/* 				<input type="radio" id="option-footer_modal" value="1" name="options[footer][link_modal]" {% if  xconfig.options.footer.link_modal is not defined  or  xconfig.options.footer.link_modal is defined  and  xconfig.options.footer.link_modal  == '1' %} {{ 'checked' }} {% endif %} />*/
/* 				<label for="option-footer_modal">{{ yes_option }}</label>*/
/* 				<input type="radio" id="option-footer_modal_no" value="0" name="options[footer][link_modal]" {% if  xconfig.options.footer.link_modal is defined  and  xconfig.options.footer.link_modal  == '0'  %} {{ 'checked' }} {% endif %} />*/
/* 				<label for="option-footer_modal_no">{{ no_option }}</label>*/
/* 				</div>*/
/*   				</div>*/
/*   				</td>                                          */
/*             </tr>*/
/* </table>*/
/* <table class="table table-striped table-bordered table-hover">*/
/* <thead>            */
/*             <tr>*/
/*               <td class="left" style="width:40%;">{{ information_page_heading }}</td>              */
/*               <td class="left" style="width:60%;">{{ contact_details_heading }}</td>                                          */
/*             </tr>*/
/*           </thead>*/
/*           <tr>*/
/*               <td class="left" style="width:40%;">{{ contact_email_heading }}<br /><small class="text-muted">{{ contact_email_subheading }}</small></td>              */
/*               <td class="left" style="width:60%;"><input name="options[footer][contact_email]" type="text" value="{{ xconfig.options.footer.contact_email?xconfig.options.footer.contact_email : contact_email }}" class="form-control" /></td>                                          */
/*             </tr>*/
/*             <tr>*/
/*               <td class="left" style="width:40%;">{{ contact_telephone_heading }}<br /><small class="text-muted">{{ contact_telephone_subheading }}</small></td>              */
/*               <td class="left" style="width:60%;"><input name="options[footer][contact_telephone]" type="text" value="{{ xconfig.options.footer.contact_telephone ? xconfig.options.footer.contact_telephone : contact_telephone }}" class="form-control" /></td>                                          */
/*             </tr>*/
/* </table>*/
/* <div class="table-responsive">*/
/*                 <table id="images" class="table table-striped table-bordered table-hover">*/
/*                   <thead>*/
/*                     <tr>*/
/*                       <td class="text-left">{{ footer_image_heading }}</td>*/
/*                       <td></td>*/
/*                     </tr>*/
/*                   </thead>*/
/*                   <tbody>*/
/*                   {% set image_row = 0 %} */
/*                   {% if  xconfig.options.footer.images is defined %}                    */
/*                     {% for product_image in xconfig.options.footer.images %}*/
/*                     <tr id="image-row{{ image_row }}">*/
/*                       <td class="text-left"><a href="" id="thumb-image{{ image_row }}" data-toggle="image" class="img-thumbnail"><img width="100" src="../image/{{ product_image }}" alt="" title="" data-placeholder="{{ placeholder }}" /></a><input type="hidden" name="options[footer][images][]" value="{{ product_image }}" id="input-image{{ image_row }}" /></td>                      */
/*                       <td class="text-left"><button type="button" onclick="$('#image-row{{ image_row }}').remove();" data-toggle="tooltip" title="{{ button_remove }}" class="btn btn-danger"><i class="fa fa-minus-circle"></i></button></td>*/
/*                     </tr>*/
/*                     {% set image_row = image_row + 1 %}*/
/*                     {% endfor %}*/
/*                     {% endif %}*/
/*                   </tbody>*/
/*                   <tfoot>*/
/*                     <tr>*/
/*                       <td></td>*/
/*                       <td class="text-left"><button type="button" onclick="addImage();" data-toggle="tooltip" title="{{ button_image_add }}" class="btn btn-primary"><i class="fa fa-plus-circle"></i></button></td>*/
/*                     </tr>*/
/*                   </tfoot>*/
/*                 </table>*/
/*               </div>*/
/* </div>*/
/* </div>*/
/* <div id="tab-payment" class="tab-pane">                            */
/* <div class="table-responsive">*/
/*                 <table id="images" class="table table-striped table-bordered table-hover">*/
/*                   <thead>*/
/*                     <tr>*/
/*                       <td class="text-left">{{ payment_method_logo_heading }}</td>*/
/*                       <td>{{ text_payment_default }}</td>*/
/*                       <td></td>*/
/*                     </tr>*/
/*                   </thead>*/
/*                   <tbody>*/
/*                   {% for payment in payments %}*/
/*                     <tr id="image-row-{{ payment }}">*/
/*                     <td class="text-left">{{ payment }}</td>*/
/*                     <td class="text-left">*/
/*                     <div class="xform">*/
/* 			        <div class="radio-group">*/
/* 					<input type="radio" id="payment_dedault_{{ payment }}" value="{{ payment }}" name="options[payment][default]" {% if xconfig.options.payment.default is defined and xconfig.options.payment.default == payment %} {{ 'checked' }} {% endif %} />*/
/* 					<label for="payment_dedault_{{ payment }}">{{ text_payment_default }}</label>					*/
/* 					</div>*/
/*   					</div>*/
/*                     </td> */
/*                     <td class="text-left">*/
/*                       <a href="" id="thumb-image{{ payment }}" data-toggle="image" class="img-thumbnail"><img width="60" src="{{ xconfig['options']['payment']['images'][payment] is defined  and  xconfig['options']['payment']['images'][payment]?'../image/'~xconfig['options']['payment']['images'][payment]: placeholder}}" alt="" title="" data-placeholder="{{ placeholder }}" /></a>*/
/*                       <input type="hidden" name="options[payment][images][{{ payment }}]" value="{{ xconfig['options']['payment']['images'][payment]?xconfig['options']['payment']['images'][payment]: ''}}" id="input-image-{{ payment }}" />*/
/*                     </td>*/
/*                     </tr>*/
/*                   {% endfor %}*/
/*                   </tbody>                  */
/*                 </table>*/
/*               </div>*/
/* <div class="panel panel-default">*/
/*       <div class="panel-heading">*/
/*         <h3 class="panel-title"><i class="fa fa-pencil"></i> {{ text_payment_method_content }}</h3>*/
/*       </div>*/
/*       <div class="panel-body">*/
/* {% for payment in payments %}*/
/* <div class="panel panel-default">*/
/*       <div class="panel-heading">*/
/*         <h3 class="panel-title"><i class="fa fa-pencil"></i> {{ payment }}</h3>*/
/*       </div>*/
/*       <div class="panel-body">*/
/*                 <ul class="nav nav-tabs tab-horizontal" id="{{ payment }}language">*/
/*                 {% set pcount = 0 %}*/
/*                 {% for language in languages %}*/
/*                 <li{{ not pcount?' class="active"':'' }}><a href="#{{ payment }}language{{ language.language_id }}" data-toggle="tab"><img src="language/{{ language.code }}/{{ language.code }}.png" title="{{ language.name }}" /> {{ language.name }}</a></li>*/
/*                 {% set pcount = pcount + 1 %}*/
/*                 {% endfor %}*/
/*               </ul>*/
/*               <div class="tab-content">*/
/*               	{% set pcount = 0 %}*/
/*                 {% for language in languages %}*/
/*                 <div class="tab-pane{{ not pcount?' active': ''}}" id="{{ payment }}language{{ language.language_id }}">                  */
/*                   <div class="form-group">                    */
/*                     <div class="col-sm-12">*/
/*                       <textarea name="options[payment][content][{{ payment }}][{{ language.language_id }}]" id="input-description-{{ payment }}-{{ language.language_id }}" class="form-control"  data-toggle="summernote" data-lang="{{ summernote }}" >{{ xconfig['options']['payment']['content'][payment][language['language_id']] ?  xconfig['options']['payment']['content'][payment][language['language_id']] : ''}}</textarea>*/
/*                     </div>*/
/*                   </div>*/
/*                   </div>*/
/*                   {% set pcount = pcount + 1 %}*/
/*                   {% endfor %}*/
/*                   </div>*/
/* </div>*/
/* </div>              */
/* {% endfor %}           */
/* </div>*/
/* </div>*/
/* </div>*/
/* </div>*/
/* </div>*/
/* <div id="tab-social" class="tab-pane">*/
/* <div class="table-responsive">*/
/* <table class="table table-striped table-bordered table-hover">*/
/*           <thead >            */
/*             <tr >*/
/*               <td class="text-left" colspan="2"><i class="fa fa-facebook"></i>&nbsp;{{ facebook_heading }}</td>                                          */
/*             </tr>*/
/*           </thead>               */
/*               <tr>*/
/*               <td class="text-left" style="width: 30%;">{{ status_heading }}</td>              */
/*         	  <td class="text-left"> */
/*         	  <input type="checkbox" value="1"  name="social[facebook][status]" {{ xconfig.social.facebook.status?"checked": '' }} />*/
/*         	  </td>*/
/*               </tr>*/
/*               <tr>*/
/*               <td class="text-left" >{{ app_id_heading }}</td>              */
/*         	  <td class="text-left"> */
/*         	  <input type="text" name="social[facebook][appId]" value="{{ xconfig.social.facebook.appId?xconfig.social.facebook.appId:'' }}" class="form-control" />*/
/*         	  </td>*/
/*               </tr>                                           */
/* </table>*/
/* <table class="table table-striped table-bordered table-hover">*/
/*           <thead >            */
/*             <tr >*/
/*               <td class="text-left" colspan="2"><i class="fa fa-google"></i>&nbsp;{{ google_heading }}</td>                                          */
/*             </tr>*/
/*           </thead>               */
/*               <tr>*/
/*               <td class="text-left" style="width: 30%;">{{ status_heading }}</td>              */
/*         	  <td class="text-left"> */
/*         	  <input type="checkbox" value="1"  name="social[google][status]" {{ xconfig.social.google.status?"checked":'' }} />*/
/*         	  </td>*/
/*               </tr>*/
/*               <tr>*/
/*               <td class="text-left" >{{ client_id_heading }}</td>              */
/*         	  <td class="text-left"> */
/*         	  <input type="text" name="social[google][client_id]" value="{{ xconfig.social.google.client_id?xconfig.social.google.client_id:'' }}" class="form-control"/>*/
/*         	  </td>*/
/*               </tr>                                           */
/* </table>*/
/* <table class="table table-striped table-bordered table-hover">*/
/*           <thead >            */
/*             <tr >*/
/*               <td class="text-left" colspan="2"><i class="fa fa-linkedin"></i>&nbsp;{{ linkedin_heading }}</td>                                          */
/*             </tr>*/
/*           </thead>               */
/*               <tr>*/
/*               <td class="text-left" style="width: 30%;">{{ status_heading }}</td>              */
/*         	  <td class="text-left"> */
/*         	  <input type="checkbox" value="1"  name="social[linkedin][status]" {{ xconfig.social.linkedin.status?"checked": '' }} />*/
/*         	  </td>*/
/*               </tr>*/
/*               <tr>*/
/*               <td class="text-left" >{{ api_key }}</td>              */
/*         	  <td class="text-left"> */
/*         	  <input type="text" name="social[linkedin][api_key]" value="{{ xconfig.social.linkedin.api_key?xconfig.social.linkedin.api_key: ''}}" class="form-control" />*/
/*         	  </td>*/
/*               </tr>                                           */
/* </table>      */
/* </div>*/
/* <div class="panel panel-default">*/
/* <div class="panel-heading"><h3 class="panel-title">{{ extra_fields_heading }}</h3></div>*/
/* <div class="panel-body">*/
/* <div class="table-responsive additionalfields">*/
/* <table class="table table-striped table-bordered table-hover">*/
/*          */
/*           <tr>*/
/*                <td class="text-left" >{{ additional_fields_heading }}<br/><span class="help">{{ additional_fields_subheading }}{{ no_option }}{{ additional_fields_subheading_second }}</span></td>              */
/* 		        <td class="text-left">*/
/* 		        <div class="xform">*/
/* 		        <div class="radio-group">*/
/* 				<input type="radio" id="option-social-force-yes" value="yes"  name="social[additional]" {% if   xconfig.social.additional  and  xconfig.social.additional  == 'yes' %} {{ 'checked' }} {% endif %} />*/
/* 				<label for="option-social-force-yes" onclick="$('.table-additional').removeClass('hidden');"><i class="fa fa-check" aria-hidden="true"></i> {{ yes_option }}</label>*/
/* 				<input type="radio" id="option-social-force-no" value="no"  name="social[additional]" {% if   not xconfig.social.additional  or  xconfig.social.additional  and  xconfig.social.additional  == 'no' %} {{ 'checked' }} {% endif %} />*/
/* 				<label for="option-social-force-no" onclick="$('.table-additional').addClass('hidden');"><i class="fa fa-times" aria-hidden="true"></i> {{ no_option }}</label>*/
/* 				</div>*/
/*   				</div>		         */
/* 		        </td>    */
/* 		        </tr>*/
/* </table>*/
/* <table class="table table-striped table-bordered table-hover table-additional {% if   not xconfig.social.additional  or  xconfig.social.additional  and  xconfig.social.additional  == 'no'  %} {{ 'hidden' }} {% endif %}">*/
/*           <thead >            */
/*             <tr >*/
/*               <td class="text-left" width="60%">{{ additional_fields_yes_heading }}</td>              */
/*               <td class="text-center" width="20%">{{ show_title }}</td>*/
/*               <td class="text-center" width="20%">{{ required_title }}</td>                            */
/*             </tr>*/
/*           </thead>*/
/*                {% for key, field in fields %}*/
/*                {% if  field.social%}*/
/* 		          <tr>*/
/* 					<td class="text-left">*/
/* 					{{ field.title?'<span data-toggle="tooltip" title="'~field.title~'">':'' }}{{ field_title[key] }}{{ field.title?'</span>':'' }}*/
/* 					*/
/* 					</td>                  */
/* 		            <td class="text-center">*/
/* 		            <input type="checkbox" value ="1" name="social[fields][{{ key }}][show]" {{ xconfig['social']['fields'][key]['show']?'checked="checked"':'' }}  />	            */
/* 		            </td>*/
/* 		            <td class="text-center">*/
/* 		            {% if  field.required_default  and  field.required_default%}*/
/* 		            {{ always_mandatory_heading }}*/
/* 		            {% elseif  field.required  and  not field.required %}*/
/* 		            {{ cannot_mandatory_heading }}*/
/* 		            {% else %}*/
/* 		            <input type="checkbox" value="1"  name="social[fields][{{ key }}][required]" {{ not field.required?'disabled="disabled"': ''}} {{ xconfig['social']['fields'][key]['required']?'checked="checked"': ''}} />*/
/* 		            {% endif %}*/
/* 		            </td>            */
/* 				  </tr>*/
/* 				{% endif %}*/
/* 				{% endfor %}*/
/* </table>  */
/* </div>*/
/* </div>*/
/* </div>*/
/*   */
/* </div>*/
/* <div id="tab-override" class="tab-pane">*/
/* <ul class="nav nav-tabs tab-horizontal">         */
/* <li class="active"><a href="#tab-colors" data-toggle="tab">{{ custom_colors_heading }}</a></li>*/
/* <li><a href="#tab-css" data-toggle="tab">{{ custom_css_tab_heading }}</a></li>*/
/* <li><a href="#tab-js" data-toggle="tab">{{ custom_js_tab_heading }}</a></li>*/
/* </ul>*/
/* <div class="tab-content">*/
/* <div id="tab-colors" class="tab-pane active">*/
/* <div class="panel panel-default">*/
/* <div class="panel-heading"><h3 class="pane-title" style="text-transform: capitalize;">{{ text_design_option }}</h3></div>*/
/* <div class="panel-body" >*/
/* <div class="design">*/
/* {% for key, design in xtensions_design %}*/
/* <div class="design-options">*/
/* <div class="colors">*/
/* {% for color in design.placeholder  %}*/
/* <div class="sub-color" style="background: {{ color }}"></div>*/
/* {% endfor %}*/
/* </div>*/
/* <div class="xform text-center" style="display: block">*/
/* <div class="radio-group">*/
/* <input type="radio" id="option-design_{{ key }}" value="{{ key }}" {% if   xconfig.design.type  and  xconfig.design.type  ==  key %} {{ 'checked' }} {% endif %} name="design[type]" />*/
/* <label for="option-design_{{ key }}">{{ design.title }}</label>*/
/* </div>*/
/* </div>*/
/* </div>*/
/* {% endfor %}*/
/* <div class="design-options">*/
/* <div class="colors">*/
/* <div class="sub-color" style="background: red;"></div>*/
/* <div class="sub-color" style="background: green;"></div>*/
/* <div class="sub-color" style="background: blue;"></div>*/
/* </div>*/
/* <div class="xform text-center" style="display: block">*/
/* <div class="radio-group">*/
/* <input type="radio" id="option-design_custom" value="custom"  name="design[type]" {% if   xconfig.design.type  and  xconfig.design.type  == 'custom' %} {{ 'checked' }} {% endif %}/>*/
/* <label for="option-design_custom">{{ text_design_custom }}</label>*/
/* </div>*/
/* </div>*/
/* </div>*/
/* </div>*/
/* </div>*/
/* <div class="custom_design custom-colors">*/
/* {% for key, section in xtensions_color_section %}*/
/* <div class="panel" style="margin-bottom: 0;">*/
/* <div class="panel-heading" style="border-top:1px solid #ddd;"><h5 class="pane-title" style="text-transform: capitalize;">{{ text_xtensions_color_section[key] }}</h5></div>*/
/* <div class="panel-body">*/
/* <div class="row">*/
/* {% for colors in section %}*/
/* <div class="col-md-6" style="min-height: 60px;">*/
/* <div class="form-group">*/
/* <label class="col-sm-6 control-label">{{ xtensions_colors[colors] }}</label>*/
/* <div class="col-sm-6">*/
/* <div class="input-group colorpicker-component">*/
/*     <input type="text" name="colors[{{ colors }}]" value="{{ xconfig['colors'][colors]?xconfig['colors'][colors]: xtensions_custom_color[colors]}}" class="form-control" />*/
/*     <span class="input-group-addon"><i></i></span>*/
/* </div>             */
/* </div>*/
/* </div>*/
/* </div>*/
/* {% endfor %}*/
/* </div>*/
/* </div>*/
/* </div>*/
/* {% endfor %}*/
/* */
/* </div>*/
/* </div>*/
/* </div>*/
/* <div id="tab-css" class="tab-pane">*/
/* <div class="table-responsive">*/
/* <table class="table table-striped table-bordered table-hover">*/
/*     <thead >            */
/*             <tr >*/
/*               <td class="text-center" >{{ custom_css_heading }}</td>     */
/*             </tr>*/
/*           </thead>*/
/*               <tr>*/
/*               <td><textarea  id="custom_css" name="design[css]" class="form-control" rows="20">{{ xconfig.design.css?xconfig.design.css: '' }}</textarea></td>*/
/*               </tr>*/
/*               */
/* </table>*/
/* </div>*/
/* </div>*/
/* <div id="tab-js" class="tab-pane">*/
/* <div class="table-responsive">*/
/* <table class="table table-striped table-bordered table-hover">*/
/*     <thead >            */
/*             <tr >*/
/*               <td class="text-center">{{ custom_js_heading }}</td>     */
/*             </tr>*/
/*           </thead>          */
/*               */
/*               <tr>*/
/*               <td><textarea id="custom_js" name="design[js]" class="form-control"  rows="20">{{ xconfig.design.js?xconfig.design.js: ''}}</textarea></td>*/
/*               </tr>*/
/* </table>*/
/* </div>*/
/* </div>*/
/* </div>*/
/* </div>*/
/* </div>*/
/* </div>*/
/* </div>*/
/* </form>*/
/* </div>*/
/* <div id="tab-export-import" class="tab-pane">*/
/* <form action="{{ export }}" method="post" enctype="multipart/form-data" id="form-import" class="form-horizontal">*/
/* <table class="table table-striped table-bordered table-hover">*/
/*           <thead >            */
/*             <tr >*/
/*               <td class="text-left" colspan="2"><i class="fa fa-download"></i>&nbsp;{{ button_export_settings }}</td>                                          */
/*             </tr>*/
/*           </thead>               */
/*               <tr>*/
/*               <td class="text-left" style="width: 30%;">*/
/*               <select name="export_store_id" class="form-control">*/
/* 			  <option value="0" {{ store_id == 0?'selected="selected"':'' }}>{{ default_heading }}</option>			  */
/* 	          {% for store in stores %} */
/* 	  		  <option value="{{ store.store_id }}" {{ store_id == store.store_id?'selected="selected"':'' }}>{{ store.name }}</option>*/
/* 	          {% endfor %} */
/* 			  </select>*/
/* 	  		  </td>              */
/*         	  <td class="text-left"> */
/*         	  <button type="submit" data-toggle="tooltip" title="{{ button_export_settings }}" class="btn btn-primary"><i class="fa fa-download"></i></button>*/
/*         	  </td>*/
/*               </tr>                                                       */
/* </table>*/
/* </form>*/
/* <form action="{{ import }}" method="post" enctype="multipart/form-data" id="form-import" class="form-horizontal">*/
/* <table class="table table-striped table-bordered table-hover">*/
/*           <thead >            */
/*             <tr >*/
/*               <td class="text-left" colspan="3"><i class="fa fa-upload"></i>&nbsp;{{ button_import_settings }}</td>                                          */
/*             </tr>*/
/*           </thead>               */
/*               <tr>*/
/*               <td class="text-left" style="width: 30%;">*/
/*               <input type="file" name="import_file" id="input-file" class="form-control" style="max-width: 200px;display: inline-block;" />*/
/*               </td>*/
/*               <td class="text-left" style="width: 30%;">*/
/*               <select name="import_store_id" class="form-control">*/
/*               <option value="0" {{ store_id == 0?'selected="selected"':'' }}>{{ default_heading }}</option>			  */
/* 	          {% for store in stores %} */
/* 	  		  <option value="{{ store.store_id }}" {{ store_id == store.store_id?'selected="selected"':'' }}>{{ store.name }}</option>*/
/* 	          {% endfor %} */
/* 			  </select>*/
/* 	  		  </td>              */
/*         	  <td class="text-left"> */
/*         	  <button type="submit" data-toggle="tooltip" title="{{ button_import_settings }}" class="btn btn-primary"><i class="fa fa-upload"></i></button>*/
/*         	  </td>*/
/*               </tr>                                                       */
/* </table>*/
/* </form>*/
/* </div>*/
/* */
/* </div>*/
/*     </div>*/
/*   </div>*/
/*   </div>*/
/*   </div>*/
/* <script type="text/javascript" src="view/javascript/summernote/summernote.js"></script>*/
/* <link href="view/javascript/summernote/summernote.css" rel="stylesheet" />*/
/* <script type="text/javascript" src="view/javascript/summernote/summernote-image-attributes.js"></script>*/
/* <script type="text/javascript" src="view/javascript/summernote/opencart.js"></script>*/
/* <link href="view/javascript/xtensions/codemirror/lib/codemirror.css" rel="stylesheet" />*/
/* <link href="view/javascript/xtensions/codemirror/lib/show-hint.css" rel="stylesheet" />*/
/* <link href="view/javascript/xtensions/codemirror/theme/oceanic-next.css" rel="stylesheet" />*/
/* <script type="text/javascript" src="view/javascript/xtensions/codemirror/lib/codemirror.js"></script>*/
/* <script type="text/javascript" src="view/javascript/xtensions/codemirror/lib/show-hint.js"></script>*/
/* <script type="text/javascript" src="view/javascript/xtensions/codemirror/lib/css-hint.js"></script>*/
/* <script type="text/javascript" src="view/javascript/xtensions/codemirror/lib/javascript-hint.js"></script> */
/* <script type="text/javascript" src="view/javascript/xtensions/codemirror/lib/autorefresh.js"></script>*/
/* <script type="text/javascript" src="view/javascript/xtensions/codemirror/lib/css.js"></script> */
/* <script type="text/javascript" src="view/javascript/xtensions/codemirror/lib/javascript.js"></script>*/
/* <script type="text/javascript" src="{{ xtensions_support }}help/xsupport"></script>   */
/* <script type="text/javascript">*/
/* var xtensions_module = '{{ xtensions_module }}';*/
/* var image_row = {{ image_row }};*/
/* */
/* function addImage() {*/
/* 	html  = '<tr id="image-row' + image_row + '">';*/
/* 	html += '  <td class="text-left"><a href="" id="thumb-image' + image_row + '"data-toggle="image" class="img-thumbnail"><img src="{{ placeholder }}" alt="" title="" data-placeholder="{{ placeholder }}" /></a><input type="hidden" name="options[footer][images][]" value="" id="input-image' + image_row + '" /></td>';	*/
/* 	html += '  <td class="text-left"><button type="button" onclick="$(\'#image-row' + image_row  + '\').remove();" data-toggle="tooltip" title="{{ button_remove }}" class="btn btn-danger"><i class="fa fa-minus-circle"></i></button></td>';*/
/* 	html += '</tr>';*/
/* */
/* 	$('#images tbody').append(html);*/
/* */
/* 	image_row++;*/
/* }*/
/* $('select[name=\'store_id\']').bind('change', function() {*/
/* 	location = 'index.php?route={{ xtensions_admin_xcheckout_path }}&user_token={{ user_token }}&store_id=' + this.value;*/
/* });*/
/* $('select[name=\'options[country_id]\']').bind('change', function() {*/
/*   $.ajax({*/
/*     url: 'index.php?route={{ xtensions_admin_xcheckout_path }}/country&user_token={{ user_token }}&country_id=' + this.value,*/
/*     dataType: 'json',          */
/*     success: function(json) {     */
/*       html='';*/
/*     if (json['zone'] != '' && undefined !=json['zone']) {*/
/*         html = '<option value="999">--Please Select--</option>';*/
/*         for (i = 0; i < json['zone'].length; i++) {*/
/*               html += '<option value="' + json['zone'][i]['zone_id'] + '"';*/
/*             */
/*           if (json['zone'][i]['zone_id'] =='{{ xconfig.options.zone_id  and  xconfig.options.zone_id?xconfig.options.zone_id:"" }}') {*/
/*                 html += ' selected="selected"';*/
/*             }*/
/*   */
/*                  html += '>' + json['zone'][i]['name'] + '</option>';*/
/*         }*/
/*       } else {*/
/*         html += '<option value="0" selected="selected">--None--</option>';*/
/*       }*/
/*       */
/*       $('select[name=\'options[zone_id]\']').html(html);*/
/*     },*/
/*     error: function(xhr, ajaxOptions, thrownError) {*/
/*       alert(thrownError + "\r\n" + xhr.statusText + "\r\n" + xhr.responseText);*/
/*     }*/
/*   });*/
/* });*/
/* $('select[name=\'options[country_id]\']').trigger('change');*/
/* $('input[name=\'design[type]\']').bind('change', function() {*/
/* 	changeDesign();*/
/* });*/
/* function changeDesign(){*/
/* 	if($('input[name=\'design[type]\']:checked').val() == 'custom'){*/
/* 		$('.custom-colors').show();*/
/* 	 }else{*/
/* 		$('.custom-colors').hide();*/
/* 	 }*/
/* }*/
/* changeDesign();*/
/* $(function() {*/
/*     $('.colorpicker-component').colorpicker({*/
/* 		'format':'hex'*/
/*     });*/
/* });*/
/* </script>*/
/* <script type="text/javascript">*/
/*  var codemirrorcssold;*/
/*  var codemirrorjsold;*/
/*  window.onload = function () {*/
/*  var codemirrorCss = CodeMirror.fromTextArea(document.querySelector('#custom_css'), {*/
/* 		mode: 'text/css',*/
/* 		height: '500px',*/
/* 		lineNumbers: true,*/
/* 		theme: 'oceanic-next',*/
/* 		extraKeys: {"Ctrl-Space": "autocomplete"},*/
/* 	});*/
/*  codemirrorCss.refresh();*/
/*  codemirrorcssold = codemirrorCss;*/
/*  var codemirrorJs = CodeMirror.fromTextArea(document.querySelector('#custom_js'), {*/
/* 		mode: 'text/javascript',*/
/* 		height: '500px',*/
/* 		lineNumbers: true,*/
/* 		theme: 'oceanic-next',*/
/* 		extraKeys: {"Ctrl-Space": "autocomplete"},*/
/* 	});*/
/*  codemirrorJs.refresh();*/
/* codemirrorjsold = codemirrorJs;*/
/*  };*/
/* $('a[data-toggle="tab"]').on('shown.bs.tab', function (e) {	*/
/* 	var target = $(e.target).attr("href");*/
/* 	if(target == '#tab-css'){*/
/* 		codemirrorcssold.refresh();*/
/* 	}else if(target == '#tab-js'){		*/
/* 		codemirrorjsold.refresh();*/
/* 	}*/
/* });*/
/* </script>*/
/* {{ footer }}*/
/* */
