var/cache/dev/twig/00/009486ac35f80109ea9b68593c862f3f.php line 44

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. use Twig\TemplateWrapper;
  15. /* cart/shared/shipping.html.twig */
  16. class __TwigTemplate_9a74fefa47fafcf071fd68825873c545 extends Template
  17. {
  18.     private Source $source;
  19.     /**
  20.      * @var array<string, Template>
  21.      */
  22.     private array $macros = [];
  23.     public function __construct(Environment $env)
  24.     {
  25.         parent::__construct($env);
  26.         $this->source $this->getSourceContext();
  27.         $this->blocks = [
  28.             'title' => [$this'block_title'],
  29.             'content' => [$this'block_content'],
  30.         ];
  31.     }
  32.     protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  33.     {
  34.         // line 1
  35.         return "layout/layout.html.twig";
  36.     }
  37.     protected function doDisplay(array $context, array $blocks = []): iterable
  38.     {
  39.         $macros $this->macros;
  40.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  41.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""cart/shared/shipping.html.twig"));
  42.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  43.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""cart/shared/shipping.html.twig"));
  44.         $this->parent $this->loadTemplate("layout/layout.html.twig""cart/shared/shipping.html.twig"1);
  45.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  46.         
  47.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  48.         
  49.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  50.     }
  51.     // line 3
  52.     /**
  53.      * @return iterable<null|scalar|\Stringable>
  54.      */
  55.     public function block_title(array $context, array $blocks = []): iterable
  56.     {
  57.         $macros $this->macros;
  58.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  59.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  60.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  61.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  62.         yield "GFS::Cart Details
  63. ";
  64.         
  65.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  66.         
  67.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  68.         yield from [];
  69.     }
  70.     // line 6
  71.     /**
  72.      * @return iterable<null|scalar|\Stringable>
  73.      */
  74.     public function block_content(array $context, array $blocks = []): iterable
  75.     {
  76.         $macros $this->macros;
  77.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  78.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  79.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  80.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  81.         // line 7
  82.         yield "
  83. \t";
  84.         // line 10
  85.         yield "\t<script src='/static/assets/js/html2pdf.bundle.js'></script>
  86. \t<div class=\"container container-sm shipping-container invoice\">
  87. \t\t<div
  88. \t\t\tclass=\"shipping-cart\">
  89. \t\t\t<!--Start Breadcrumbs-->
  90. \t\t\t<div class=\"breadcrumb-holder\">
  91. \t\t\t\t<ol class=\"breadcrumb\">
  92. \t\t\t\t\t<li class=\"breadcrumb-item\">
  93. \t\t\t\t\t\t<a href=\"/";
  94.         // line 18
  95.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'18$this->source); })()), "request", [], "any"falsefalsefalse18), "locale", [], "any"falsefalsefalse18), "html"nulltrue);
  96.         yield "/\">";
  97.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Home"), "html"nulltrue);
  98.         yield "</a>
  99. \t\t\t\t\t</li>
  100. \t\t\t\t\t<li class=\"breadcrumb-item\">
  101. \t\t\t\t\t\t<a href=\"javascript:void(0);\">";
  102.         // line 21
  103.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("MY CART "), "html"nulltrue);
  104.         yield "</a>
  105. \t\t\t\t\t</li>
  106. \t\t\t\t</ol>
  107. \t\t\t</div>
  108. \t\t\t<!--End Breadcrumbs-->
  109. \t\t\t<h1 class=\"heading shopping-cart-heading\">";
  110.         // line 26
  111.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Your Shopping Cart "), "html"nulltrue);
  112.         yield "</h1>
  113. \t\t</div>
  114. \t\t<!-- Start stepper -->
  115. \t\t<section class=\"stepper\">
  116. \t\t\t<div class=\"tabs-stepper\">
  117. \t\t\t\t<ul class=\"nav nav-tabs\" role=\"tablist\">
  118. \t\t\t\t\t<li class=\"nav-item\">
  119. \t\t\t\t\t\t<a class=\"nav-link active shop\" data-toggle=\"tab\" href=\"#\" role=\"tab\">";
  120.         // line 34
  121.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Shopping Cart"), "html"nulltrue);
  122.         yield "</a>
  123. \t\t\t\t\t</li>
  124. \t\t\t\t\t<li class=\"nav-item\">
  125. \t\t\t\t\t\t<a class=\"nav-link ship\" data-toggle=\"tab\" href=\"#\" role=\"tab\">";
  126.         // line 37
  127.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Shipping"), "html"nulltrue);
  128.         yield "</a>
  129. \t\t\t\t\t</li>
  130. \t\t\t\t\t<li class=\"nav-item d-none\">
  131. \t\t\t\t\t\t<a class=\"nav-link\" data-toggle=\"tab\" href=\"#payment-method\" role=\"tab\">Payment Method</a>
  132. \t\t\t\t\t</li>
  133. \t\t\t\t\t<li class=\"nav-item\">
  134. \t\t\t\t\t\t<a class=\"nav-link confirm\" data-toggle=\"tab\" href=\"#\" role=\"tab\">";
  135.         // line 43
  136.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Confirmation"), "html"nulltrue);
  137.         yield "</a>
  138. \t\t\t\t\t</li>
  139. \t\t\t\t</ul>
  140. \t\t\t</div>
  141. \t\t</section>
  142. \t\t<section class=\"distributor-panel d-none\">
  143. \t\t\t<div class=\"distributor-panel-editor\">
  144. \t\t\t\t<div class=\"distributor-panel-editor-header\">
  145. \t\t\t\t\t<h6>";
  146.         // line 51
  147.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Your Distributor"), "html"nulltrue);
  148.         yield "</h6>
  149. \t\t\t\t</div>
  150. \t\t\t\t<form action=\"\">
  151. \t\t\t\t\t<div class=\"row\">
  152. \t\t\t\t\t\t<div class=\"col-lg-3\">
  153. \t\t\t\t\t\t\t<div class=\"select-holder\">
  154. \t\t\t\t\t\t\t\t<label for=\"countrylocation\">";
  155.         // line 57
  156.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Country/Location"), "html"nulltrue);
  157.         yield "*</label>
  158. \t\t\t\t\t\t\t\t<div class=\"custom-dropdown\">
  159. \t\t\t\t\t\t\t\t\t<select id=\"countrylocation\" class=\"form-control\">
  160. \t\t\t\t\t\t\t\t\t\t<option>";
  161.         // line 60
  162.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Country/Location"), "html"nulltrue);
  163.         yield "</option>
  164. \t\t\t\t\t\t\t\t\t\t";
  165.         // line 61
  166.         $context['_parent'] = $context;
  167.         $context['_seq'] = CoreExtension::ensureTraversable((isset($context["distros"]) || array_key_exists("distros"$context) ? $context["distros"] : (function () { throw new RuntimeError('Variable "distros" does not exist.'61$this->source); })()));
  168.         foreach ($context['_seq'] as $context["_key"] => $context["distro"]) {
  169.             // line 62
  170.             yield "\t\t\t\t\t\t\t\t\t\t\t<option value=\"";
  171.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["distro"], "distroCountry", [], "any"falsefalsefalse62), "html"nulltrue);
  172.             yield "\">
  173. \t\t\t\t\t\t\t\t\t\t\t\t";
  174.             // line 63
  175.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->extensions['App\Twig\CountryExtention']->getCountryList(CoreExtension::getAttribute($this->env$this->source$context["distro"], "distroCountry", [], "any"falsefalsefalse63), CoreExtension::getAttribute($this->env$this->source$context["distro"], "distroCountry", [], "any"falsefalsefalse63))), "html"nulltrue);
  176.             yield "
  177. \t\t\t\t\t\t\t\t\t\t\t</option>
  178. \t\t\t\t\t\t\t\t\t\t";
  179.         }
  180.         $_parent $context['_parent'];
  181.         unset($context['_seq'], $context['_key'], $context['distro'], $context['_parent']);
  182.         $context array_intersect_key($context$_parent) + $_parent;
  183.         // line 66
  184.         yield "\t\t\t\t\t\t\t\t\t</select>
  185. \t\t\t\t\t\t\t\t</div>
  186. \t\t\t\t\t\t\t</div>
  187. \t\t\t\t\t\t</div>
  188. \t\t\t\t\t\t<div class=\"col-lg-5 col-xl-4\">
  189. \t\t\t\t\t\t\t<div class=\"select-holder\">
  190. \t\t\t\t\t\t\t\t<label for=\"distributorname\">";
  191.         // line 72
  192.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Distributor Name"), "html"nulltrue);
  193.         yield "*</label>
  194. \t\t\t\t\t\t\t\t<div class=\"custom-dropdown\">
  195. \t\t\t\t\t\t\t\t\t<select id=\"distributorname\" class=\"form-control\">
  196. \t\t\t\t\t\t\t\t\t\t<option value=\"\">";
  197.         // line 75
  198.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Distributor Name"), "html"nulltrue);
  199.         yield "</option>
  200. \t\t\t\t\t\t\t\t\t</select>
  201. \t\t\t\t\t\t\t\t</div>
  202. \t\t\t\t\t\t\t</div>
  203. \t\t\t\t\t\t</div>
  204. \t\t\t\t\t\t<div class=\"col-lg-3\">
  205. \t\t\t\t\t\t\t<div class=\"select-holder\">
  206. \t\t\t\t\t\t\t\t<label for=\"clientno\">";
  207.         // line 82
  208.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Client number "), "html"nulltrue);
  209.         yield "</label>
  210. \t\t\t\t\t\t\t\t<div class=\"custom-input\">
  211. \t\t\t\t\t\t\t\t\t<input id=\"clientno\" class=\"form-control\" placeholder=\"";
  212.         // line 84
  213.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Client number "), "html"nulltrue);
  214.         yield "\" readonly/>
  215. \t\t\t\t\t\t\t\t</div>
  216. \t\t\t\t\t\t\t</div>
  217. \t\t\t\t\t\t</div>
  218. \t\t\t\t\t\t<div class=\"col-lg-3 btn-position\">
  219. \t\t\t\t\t\t\t<div class=\"update-btn distro d-none\">
  220. \t\t\t\t\t\t\t\t<button type=\"submit\">Update your distributor</button>
  221. \t\t\t\t\t\t\t</div>
  222. \t\t\t\t\t\t</div>
  223. \t\t\t\t\t</div>
  224. \t\t\t\t</form>
  225. \t\t\t</div>
  226. \t\t</section>
  227. \t\t";
  228.         // line 98
  229.         if (array_key_exists("cartItems"$context)) {
  230.             // line 99
  231.             yield "\t\t\t<section class=\"tab-panel\">
  232. \t\t\t\t<div class=\"row\">
  233. \t\t\t\t\t<div class=\"col-lg-9 summary-table-div\">
  234. \t\t\t\t\t\t<div class=\"tab-content\">
  235. \t\t\t\t\t\t\t<div class=\"tab-pane active\" id=\"shopping-cart\" role=\"tabpanel\">
  236. \t\t\t\t\t\t\t\t<div class=\"cart-box\">
  237. \t\t\t\t\t\t\t\t\t<div class=\"table-responsive\">
  238. \t\t\t\t\t\t\t\t\t\t<table class=\"table\">
  239. \t\t\t\t\t\t\t\t\t\t\t<thead>
  240. \t\t\t\t\t\t\t\t\t\t\t\t<tr>
  241. \t\t\t\t\t\t\t\t\t\t\t\t\t<th>
  242. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<span>";
  243.             // line 110
  244.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("item"), "html"nulltrue);
  245.             yield "</span><!--span><a href=\"javascript:void(0);\">Select all</a></span--></th>
  246. \t\t\t\t\t\t\t\t\t\t\t\t\t<th>";
  247.             // line 111
  248.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Description"), "html"nulltrue);
  249.             yield "</th>
  250. \t\t\t\t\t\t\t\t\t\t\t\t\t<th>";
  251.             // line 112
  252.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Quantity"), "html"nulltrue);
  253.             yield "</th>
  254. \t\t\t\t\t\t\t\t\t\t\t\t\t";
  255.             // line 114
  256.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"d-none\">";
  257.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Recommended Price"), "html"nulltrue);
  258.             yield "</th>
  259. \t\t\t\t\t\t\t\t\t\t\t\t\t<th>";
  260.             // line 115
  261.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Action"), "html"nulltrue);
  262.             yield "</th>
  263. \t\t\t\t\t\t\t\t\t\t\t\t\t<th></th>
  264. \t\t\t\t\t\t\t\t\t\t\t\t</tr>
  265. \t\t\t\t\t\t\t\t\t\t\t</thead>
  266. \t\t\t\t\t\t\t\t\t\t\t<tbody>
  267. \t\t\t\t\t\t\t\t\t\t\t\t";
  268.             // line 120
  269.             $context['_parent'] = $context;
  270.             $context['_seq'] = CoreExtension::ensureTraversable((isset($context["cartItems"]) || array_key_exists("cartItems"$context) ? $context["cartItems"] : (function () { throw new RuntimeError('Variable "cartItems" does not exist.'120$this->source); })()));
  271.             foreach ($context['_seq'] as $context["_key"] => $context["cart"]) {
  272.                 // line 121
  273.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
  274. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>
  275. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"shipping-product\">
  276. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"shipping-product-checkbox\">
  277. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input class=\"styled-checkbox1\" id=\"";
  278.                 // line 125
  279.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["cart"], "prod", [], "array"falsefalsefalse125), "id", [], "any"falsefalsefalse125), "html"nulltrue);
  280.                 yield "\" type=\"checkbox\" value=\"";
  281.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["cart"], "prod", [], "array"falsefalsefalse125), "id", [], "any"falsefalsefalse125), "html"nulltrue);
  282.                 yield "\" ";
  283.                 yield (((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["cart"], "prod", [], "array"falsefalsefalse125), "id", [], "any"falsefalsefalse125) == CoreExtension::getAttribute($this->env$this->source$context["cart"], "quote", [], "any"falsefalsefalse125))) ? ("disabled") : (""));
  284.                 yield "/>
  285. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"";
  286.                 // line 126
  287.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["cart"], "prod", [], "array"falsefalsefalse126), "id", [], "any"falsefalsefalse126), "html"nulltrue);
  288.                 yield "\"></label>
  289. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  290. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"shipping-product-image\">
  291. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<figure class=\"shipping-product-image-img\">
  292. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img src=\"";
  293.                 // line 130
  294.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["cart"], "prod", [], "array"falsefalsefalse130), "attrimage", [], "any"falsefalsefalse130), "items", [], "any"falsefalsefalse130), 0, [], "array"falsefalsefalse130), "html"nulltrue);
  295.                 yield "\" alt=\"";
  296.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["cart"], "prod", [], "array"falsefalsefalse130), "name", [], "any"falsefalsefalse130), "html"nulltrue);
  297.                 yield "\">
  298. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</figure>
  299. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  300. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  301. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
  302. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>
  303. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"slide-info\">
  304. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  305.                 // line 137
  306.                 if (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["cart"], "prod", [], "array"falsetruefalse137), "region", [], "any"falsetruefalse137), 0, [], "array"truetruefalse137)) {
  307.                     // line 138
  308.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h5 class=\"title\">";
  309.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["cart"], "prod", [], "array"falsefalsefalse138), "name", [], "any"falsefalsefalse138), "html"nulltrue);
  310.                     yield "</h5>
  311. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"kg\">";
  312.                     // line 139
  313.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["cart"], "prod", [], "array"falsefalsefalse139), "size", [], "any"falsefalsefalse139), "html"nulltrue);
  314.                     yield "</div>
  315. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"kg\">";
  316.                     // line 140
  317.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Product Code"), "html"nulltrue);
  318.                     yield ":
  319. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  320.                     // line 141
  321.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["cart"], "prod", [], "array"falsefalsefalse141), "code", [], "any"falsefalsefalse141), "html"nulltrue);
  322.                     yield "</div>
  323. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"kg d-none\">";
  324.                     // line 142
  325.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Unit Price "), "html"nulltrue);
  326.                     yield "</div>
  327. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"price d-none\">";
  328.                     // line 143
  329.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["cart"], "prod", [], "array"falsefalsefalse143), "region", [], "any"falsefalsefalse143), 0, [], "array"falsefalsefalse143), "price", [], "any"falsefalsefalse143), "data", [], "any"falsefalsefalse143), "html"nulltrue);
  330.                     yield "
  331. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  332.                     // line 144
  333.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["cart"], "prod", [], "array"falsefalsefalse144), "region", [], "any"falsefalsefalse144), 0, [], "array"falsefalsefalse144), "currency_symbol", [], "any"falsefalsefalse144), "data", [], "any"falsefalsefalse144)), "html"nulltrue);
  334.                     yield "</div>
  335. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"award d-none\">
  336. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  337.                     // line 146
  338.                     $context["points"] = Twig\Extension\CoreExtension::round(((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["cart"], "prod", [], "array"falsefalsefalse146), "region", [], "any"falsefalsefalse146), 0, [], "array"falsefalsefalse146), "price", [], "any"falsefalsefalse146), "data", [], "any"falsefalsefalse146) / 100) * 10));
  339.                     // line 147
  340.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"far fa-star \"></i>
  341. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  342.                     // line 148
  343.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Earn"), "html"nulltrue);
  344.                     yield "
  345. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"grpt\">";
  346.                     // line 149
  347.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["points"]) || array_key_exists("points"$context) ? $context["points"] : (function () { throw new RuntimeError('Variable "points" does not exist.'149$this->source); })()), "html"nulltrue);
  348.                     yield "</i>
  349. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  350.                     // line 150
  351.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Rewards Points"), "html"nulltrue);
  352.                     yield "
  353. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  354. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  355.                 }
  356.                 // line 153
  357.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  358. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
  359. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>
  360. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"order-count-number\">
  361. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"minus\" data-additem=\"";
  362.                 // line 157
  363.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["cart"], "prod", [], "array"falsefalsefalse157), "id", [], "any"falsefalsefalse157), "html"nulltrue);
  364.                 yield "\"><img src=\"/static/assets/images/icon-minus.svg\" alt=\"icon-minus\"></span>
  365. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input class=\"count\" type=\"text\" value=\"";
  366.                 // line 158
  367.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["cart"], "qty", [], "array"falsefalsefalse158), "html"nulltrue);
  368.                 yield "\">
  369. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"plus\" data-additem=\"";
  370.                 // line 159
  371.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["cart"], "prod", [], "array"falsefalsefalse159), "id", [], "any"falsefalsefalse159), "html"nulltrue);
  372.                 yield "\"><img src=\"/static/assets/images/icon-plus.svg\" alt=\"icon-plus\"></span>
  373. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  374. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
  375. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"d-none\">
  376. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"points-box \">
  377. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  378.                 // line 164
  379.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((isset($context["points"]) || array_key_exists("points"$context) ? $context["points"] : (function () { throw new RuntimeError('Variable "points" does not exist.'164$this->source); })()) * CoreExtension::getAttribute($this->env$this->source$context["cart"], "qty", [], "array"falsefalsefalse164)), "html"nulltrue);
  380.                 yield "
  381. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tpt
  382. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  383. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
  384. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"d-none\">
  385. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"item-price \">
  386. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  387.                 // line 170
  388.                 if (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["cart"], "prod", [], "array"falsetruefalse170), "region", [], "any"falsetruefalse170), 0, [], "array"truetruefalse170)) {
  389.                     // line 171
  390.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"item-curr\">";
  391.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["cart"], "prod", [], "array"falsefalsefalse171), "region", [], "any"falsefalsefalse171), 0, [], "array"falsefalsefalse171), "currency_symbol", [], "any"falsefalsefalse171), "data", [], "any"falsefalsefalse171)), "html"nulltrue);
  392.                     yield "</div>
  393. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"item-price-change\">";
  394.                     // line 172
  395.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["cart"], "prod", [], "array"falsefalsefalse172), "region", [], "any"falsefalsefalse172), 0, [], "array"falsefalsefalse172), "price", [], "any"falsefalsefalse172), "data", [], "any"falsefalsefalse172) * CoreExtension::getAttribute($this->env$this->source$context["cart"], "qty", [], "array"falsefalsefalse172)), "html"nulltrue);
  396.                     yield "
  397. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  398. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  399.                 }
  400.                 // line 175
  401.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  402. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"subTotal d-none\">
  403. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  404.                 // line 177
  405.                 if (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["cart"], "prod", [], "array"falsetruefalse177), "region", [], "any"falsetruefalse177), 0, [], "array"truetruefalse177)) {
  406.                     // line 178
  407.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  408.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["cart"], "prod", [], "array"falsefalsefalse178), "region", [], "any"falsefalsefalse178), 0, [], "array"falsefalsefalse178), "price", [], "any"falsefalsefalse178), "data", [], "any"falsefalsefalse178) * CoreExtension::getAttribute($this->env$this->source$context["cart"], "qty", [], "array"falsefalsefalse178)), "html"nulltrue);
  409.                     yield "
  410. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  411.                 }
  412.                 // line 180
  413.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  414. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
  415. \t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  416.                 // line 215
  417.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>
  418. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"dustbin-box\" data-pid=\"";
  419.                 // line 216
  420.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["cart"], "prod", [], "array"falsefalsefalse216), "id", [], "any"falsefalsefalse216), "html"nulltrue);
  421.                 yield "\">
  422. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img src=\"/static/assets/images/dustbin.svg\" alt=\"dustbin\">
  423. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  424. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
  425. \t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  426. \t\t\t\t\t\t\t\t\t\t\t\t";
  427.             }
  428.             $_parent $context['_parent'];
  429.             unset($context['_seq'], $context['_key'], $context['cart'], $context['_parent']);
  430.             $context array_intersect_key($context$_parent) + $_parent;
  431.             // line 222
  432.             yield "\t\t\t\t\t\t\t\t\t\t\t</tbody>
  433. \t\t\t\t\t\t\t\t\t\t</table>
  434. \t\t\t\t\t\t\t\t\t</div>
  435. \t\t\t\t\t\t\t\t\t<div class=\"table-quote-box\">
  436. \t\t\t\t\t\t\t\t\t\t<div class=\"table-all-quote\">
  437. \t\t\t\t\t\t\t\t\t\t\t<div
  438. \t\t\t\t\t\t\t\t\t\t\t\tclass=\"btn-holder\"><!--a href=\"javascript:void(0)\" class=\"btn btn-custom btn-green\">Add quote </a-->
  439. \t\t\t\t\t\t\t\t\t\t\t</div>
  440. \t\t\t\t\t\t\t\t\t\t\t";
  441.             // line 233
  442.             yield "\t\t\t\t\t\t\t\t\t\t</div>
  443. \t\t\t\t\t\t\t\t\t\t<div class=\"del-box\">
  444. \t\t\t\t\t\t\t\t\t\t\t<div class=\"del-box-content\">
  445. \t\t\t\t\t\t\t\t\t\t\t\t";
  446.             // line 236
  447.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Remove all "), "html"nulltrue);
  448.             yield "
  449. \t\t\t\t\t\t\t\t\t\t\t</div>
  450. \t\t\t\t\t\t\t\t\t\t\t<div class=\"del-box-img\">
  451. \t\t\t\t\t\t\t\t\t\t\t\t<img src=\"/static/assets/images/dustbin.svg\" alt=\"dustbin\" class=\"del-box-img-all\">
  452. \t\t\t\t\t\t\t\t\t\t\t</div>
  453. \t\t\t\t\t\t\t\t\t\t</div>
  454. \t\t\t\t\t\t\t\t\t</div>
  455. \t\t\t\t\t\t\t\t</div>
  456. \t\t\t\t\t\t\t\t<div class=\"discount-box d-none\">
  457. \t\t\t\t\t\t\t\t\t<div class=\"discount-box-coupons\">
  458. \t\t\t\t\t\t\t\t\t\t<div class=\"select-holder\">
  459. \t\t\t\t\t\t\t\t\t\t\t<div class=\"custom-input\">
  460. \t\t\t\t\t\t\t\t\t\t\t\t<input id=\"couponno\" class=\"form-control\" data-href=\"apply\" placeholder=\"";
  461.             // line 248
  462.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Enter discount code here "), "html"nulltrue);
  463.             yield "\"/>
  464. \t\t\t\t\t\t\t\t\t\t\t</div>
  465. \t\t\t\t\t\t\t\t\t\t</div>
  466. \t\t\t\t\t\t\t\t\t\t<div class=\"btn-holder\">
  467. \t\t\t\t\t\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"btn btn-custom btn-green apply_vouch\">";
  468.             // line 252
  469.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("APPLY CODE "), "html"nulltrue);
  470.             yield "</a>
  471. \t\t\t\t\t\t\t\t\t\t</div>
  472. \t\t\t\t\t\t\t\t\t</div>
  473. \t\t\t\t\t\t\t\t\t<div class=\"code-hint d-none\">
  474. \t\t\t\t\t\t\t\t\t\t<ul class=\"list-unstyled recipe-info\">
  475. \t\t\t\t\t\t\t\t\t\t\t<li class=\"info-icon\">";
  476.             // line 257
  477.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("What is a discount code, how can you get one? "), "html"nulltrue);
  478.             yield "</li>
  479. \t\t\t\t\t\t\t\t\t\t</ul>
  480. \t\t\t\t\t\t\t\t\t</div>
  481. \t\t\t\t\t\t\t\t\t<div class=\"discount_coupon_html\"></div>
  482. \t\t\t\t\t\t\t\t</div>
  483. \t\t\t\t\t\t\t\t<div class=\"checkout-box\">
  484. \t\t\t\t\t\t\t\t\t<div class=\"btn-holder\">
  485. \t\t\t\t\t\t\t\t\t\t<button data-toggle=\"tab\" data-href=\"#shipping\" role=\"tab\" class=\"btn btn-custom btn-green get-all-quote\">";
  486.             // line 264
  487.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Next"), "html"nulltrue);
  488.             yield "</button>
  489. \t\t\t\t\t\t\t\t\t\t";
  490.             // line 266
  491.             yield "\t\t\t\t\t\t\t\t\t\t<a href=\"/";
  492.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'266$this->source); })()), "request", [], "any"falsefalsefalse266), "locale", [], "any"falsefalsefalse266), "html"nulltrue);
  493.             yield "/products\" class=\"btn btn-custom btn-green custom-disabled\">";
  494.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Continue Shopping"), "html"nulltrue);
  495.             yield "</a>
  496. \t\t\t\t\t\t\t\t\t</div>
  497. \t\t\t\t\t\t\t\t</div>
  498. \t\t\t\t\t\t\t</div>
  499. \t\t\t\t\t\t\t<div class=\"tab-pane\" id=\"shipping\" role=\"tabpanel\">
  500. \t\t\t\t\t\t\t\t<form id=\"customerConfirm\" name=\"customerConfirm\">
  501. \t\t\t\t\t\t\t\t\t<div class=\"shipping-form\">
  502. \t\t\t\t\t\t\t\t\t\t<div class=\"shipping-form-heading\">
  503. \t\t\t\t\t\t\t\t\t\t\t<h2>My Details</h2>
  504. \t\t\t\t\t\t\t\t\t\t</div>
  505. \t\t\t\t\t\t\t\t\t\t<div class=\"shipping-form-box\">
  506. \t\t\t\t\t\t\t\t\t\t\t<div class=\"container-fluid\">
  507. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"row\">
  508. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-lg-6\">
  509. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"select-holder\">
  510. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"firstname\">First Name<span>*</span>
  511. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</label>
  512. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"custom-input\">
  513. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"firstname\" name=\"firstname\" class=\"form-control required\" value=\"";
  514.             // line 284
  515.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["user_data"]) || array_key_exists("user_data"$context) ? $context["user_data"] : (function () { throw new RuntimeError('Variable "user_data" does not exist.'284$this->source); })()), "firstname", [], "any"falsefalsefalse284), "html"nulltrue);
  516.             yield "\" placeholder=\"First Name\" required/>
  517. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  518. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  519. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  520. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-lg-6\">
  521. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"select-holder\">
  522. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"lastname\">Last Name<span>*</span>
  523. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</label>
  524. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"custom-input\">
  525. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"lastname\" name=\"lastname\" class=\"form-control required\" value=\"";
  526.             // line 293
  527.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["user_data"]) || array_key_exists("user_data"$context) ? $context["user_data"] : (function () { throw new RuntimeError('Variable "user_data" does not exist.'293$this->source); })()), "lastname", [], "any"falsefalsefalse293), "html"nulltrue);
  528.             yield "\" placeholder=\"Last Name\" required/>
  529. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  530. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  531. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  532. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-lg-6\">
  533. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"select-holder\">
  534. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"email\">Email Address<span>*</span>
  535. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</label>
  536. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"custom-input\">
  537. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"email\" name=\"email\" class=\"form-control required\" value=\"";
  538.             // line 302
  539.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["user_data"]) || array_key_exists("user_data"$context) ? $context["user_data"] : (function () { throw new RuntimeError('Variable "user_data" does not exist.'302$this->source); })()), "email", [], "any"falsefalsefalse302), "html"nulltrue);
  540.             yield "\" placeholder=\"Email Address\" required/>
  541. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  542. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  543. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  544. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-lg-6\">
  545. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"select-holder\">
  546. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"mobile\">Mobile<span>*</span>
  547. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</label>
  548. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"custom-input\">
  549. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"mobile\" name=\"mobile\" class=\"form-control required\" value=\"";
  550.             // line 311
  551.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["user_data"]) || array_key_exists("user_data"$context) ? $context["user_data"] : (function () { throw new RuntimeError('Variable "user_data" does not exist.'311$this->source); })()), "mobilenumber", [], "any"falsefalsefalse311), "html"nulltrue);
  552.             yield "\" placeholder=\"Mobile\" required/>
  553. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  554. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  555. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  556. \t\t\t\t\t\t\t\t\t\t\t\t\t";
  557.             // line 329
  558.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-lg-6\">
  559. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"select-holder\">
  560. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"country\">Country<span>*</span>
  561. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</label>
  562. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</label>
  563. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"custom-input\">
  564. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"addressline1\" name=\"addressline1\" class=\"form-control required\" value=\"";
  565.             // line 335
  566.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["user_data"]) || array_key_exists("user_data"$context) ? $context["user_data"] : (function () { throw new RuntimeError('Variable "user_data" does not exist.'335$this->source); })()), "address1", [], "any"falsefalsefalse335), "html"nulltrue);
  567.             yield "\" placeholder=\"Country\" required/>
  568. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  569. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  570. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  571. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-lg-6\">
  572. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"select-holder\">
  573. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"towncity\">Town/City<span>*</span>
  574. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</label>
  575. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div
  576. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"custom-input\">
  577. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  578.             // line 346
  579.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"addressline1\" name=\"towncity\" class=\"form-control required\" value=\"";
  580.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["user_data"]) || array_key_exists("user_data"$context) ? $context["user_data"] : (function () { throw new RuntimeError('Variable "user_data" does not exist.'346$this->source); })()), "address2", [], "any"falsefalsefalse346), "html"nulltrue);
  581.             yield "\" placeholder=\"Town/City\" required/>
  582. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  583. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  584. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  585. \t\t\t\t\t\t\t\t\t\t\t</div>
  586. \t\t\t\t\t\t\t\t\t\t</div>
  587. \t\t\t\t\t\t\t\t\t</div>
  588. \t\t\t\t\t\t\t\t\t<div class=\"shipping-form-heading mt-5 d-none\">
  589. \t\t\t\t\t\t\t\t\t\t<h2>Delivery Address</h2>
  590. \t\t\t\t\t\t\t\t\t</div>
  591. \t\t\t\t\t\t\t\t\t<div class=\"shipping-form-box d-none\">
  592. \t\t\t\t\t\t\t\t\t\t<div class=\"container-fluid\">
  593. \t\t\t\t\t\t\t\t\t\t\t<div class=\"row\">
  594. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-lg-12\">
  595. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"select-holder\">
  596. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"businessname\">Business Name<span>*</span>
  597. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</label>
  598. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"custom-input\">
  599. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"businessname\" name=\"businessname\" class=\"form-control required\" value=\"";
  600.             // line 364
  601.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["user_data"]) || array_key_exists("user_data"$context) ? $context["user_data"] : (function () { throw new RuntimeError('Variable "user_data" does not exist.'364$this->source); })()), "business_type", [], "any"falsefalsefalse364), "html"nulltrue);
  602.             yield "\" placeholder=\"Business Name\" required/>
  603. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  604. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  605. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  606. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-lg-6\">
  607. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"select-holder\">
  608. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"addressline1\">Address Line 1<span>*</span>
  609. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</label>
  610. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"custom-input\">
  611. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"addressline1\" name=\"addressline1\" class=\"form-control required\" value=\"";
  612.             // line 373
  613.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["user_data"]) || array_key_exists("user_data"$context) ? $context["user_data"] : (function () { throw new RuntimeError('Variable "user_data" does not exist.'373$this->source); })()), "address1", [], "any"falsefalsefalse373), "html"nulltrue);
  614.             yield "\" placeholder=\"Address Line 1\" required/>
  615. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  616. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  617. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  618. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-lg-6\">
  619. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"select-holder\">
  620. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"addressline2\">Address Line 2</label>
  621. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"custom-input\">
  622. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"addressline2\" class=\"form-control\" value=\"";
  623.             // line 381
  624.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["user_data"]) || array_key_exists("user_data"$context) ? $context["user_data"] : (function () { throw new RuntimeError('Variable "user_data" does not exist.'381$this->source); })()), "address2", [], "any"falsefalsefalse381), "html"nulltrue);
  625.             yield "\" placeholder=\"Address Line 2\"/>
  626. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  627. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  628. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  629. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-lg-6\">
  630. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"select-holder\">
  631. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"countrydelivary\">Country<span>*</span>
  632. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</label>
  633. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"custom-input\">
  634. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"country2\" class=\"form-control\" value=\"Saudi Arabia\" placeholder=\"Country\" required disabled/>
  635. \t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  636.             // line 392
  637.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  638.             // line 393
  639.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  640.             // line 397
  641.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  642.             // line 398
  643.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  644.             // line 400
  645.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  646. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  647. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  648. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-lg-6\">
  649. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"select-holder\">
  650. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"towncitydelivary\">Town/City<span>*</span>
  651. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</label>
  652. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div
  653. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"custom-dropdown\">
  654. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  655.             // line 410
  656.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<select id=\"towncity2\" name=\"towncity2\" class=\"form-control required\" required>
  657. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"\" selected>";
  658.             // line 411
  659.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Please Select City"), "html"nulltrue);
  660.             yield "</option>
  661. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"Riyadh\">";
  662.             // line 412
  663.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Riyadh"), "html"nulltrue);
  664.             yield "</option>
  665. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"Jeddah\">";
  666.             // line 413
  667.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Jeddah"), "html"nulltrue);
  668.             yield "</option>
  669. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"Mecca\">";
  670.             // line 414
  671.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Mecca"), "html"nulltrue);
  672.             yield "</option>
  673. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"Medina\">";
  674.             // line 415
  675.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Medina"), "html"nulltrue);
  676.             yield "</option>
  677. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"Dammam\">";
  678.             // line 416
  679.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Dammam"), "html"nulltrue);
  680.             yield "</option>
  681. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"Al Khobar\">";
  682.             // line 417
  683.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Al Khobar"), "html"nulltrue);
  684.             yield "</option>
  685. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"Dhahran\">";
  686.             // line 418
  687.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Dhahran"), "html"nulltrue);
  688.             yield "</option>
  689. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"Jubail\">";
  690.             // line 419
  691.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Jubail"), "html"nulltrue);
  692.             yield "</option>
  693. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"Abha\">";
  694.             // line 420
  695.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Abha"), "html"nulltrue);
  696.             yield "</option>
  697. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"Taif\">";
  698.             // line 421
  699.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Taif"), "html"nulltrue);
  700.             yield "</option>
  701. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"Tabuk\">";
  702.             // line 422
  703.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Tabuk"), "html"nulltrue);
  704.             yield "</option>
  705. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"Hail\">";
  706.             // line 423
  707.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Hail"), "html"nulltrue);
  708.             yield "</option>
  709. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"Buraidah\">";
  710.             // line 424
  711.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Buraidah"), "html"nulltrue);
  712.             yield "</option>
  713. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"Najran\">";
  714.             // line 425
  715.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Najran"), "html"nulltrue);
  716.             yield "</option>
  717. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"Jizan\">";
  718.             // line 426
  719.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Jizan"), "html"nulltrue);
  720.             yield "</option>
  721. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"Khamis Mushait\">";
  722.             // line 427
  723.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Khamis Mushait"), "html"nulltrue);
  724.             yield "</option>
  725. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"Yanbu\">";
  726.             // line 428
  727.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Yanbu"), "html"nulltrue);
  728.             yield "</option>
  729. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"Al Ahsa\">";
  730.             // line 429
  731.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Al Ahsa"), "html"nulltrue);
  732.             yield "</option>
  733. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"Qatif\">";
  734.             // line 430
  735.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Qatif"), "html"nulltrue);
  736.             yield "</option>
  737. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"Rabigh\">";
  738.             // line 431
  739.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Rabigh"), "html"nulltrue);
  740.             yield "</option>
  741. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</select>
  742. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  743. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  744. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  745. \t\t\t\t\t\t\t\t\t\t\t</div>
  746. \t\t\t\t\t\t\t\t\t\t</div>
  747. \t\t\t\t\t\t\t\t\t</div>
  748. \t\t\t\t\t\t\t\t\t<div class=\"shipping-form-heading mt-5\">
  749. \t\t\t\t\t\t\t\t\t\t<h2>Add notes/instructions</h2>
  750. \t\t\t\t\t\t\t\t\t</div>
  751. \t\t\t\t\t\t\t\t\t<div class=\"shipping-form-box\">
  752. \t\t\t\t\t\t\t\t\t\t<div class=\"container-fluid\">
  753. \t\t\t\t\t\t\t\t\t\t\t<div class=\"row\">
  754. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-lg-12\">
  755. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"select-holder\">
  756. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"custom-textarea\">
  757. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<textarea class=\"form-control\" id=\"extranotes\" rows=\"5\"></textarea>
  758. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  759. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  760. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  761. \t\t\t\t\t\t\t\t\t\t\t</div>
  762. \t\t\t\t\t\t\t\t\t\t</div>
  763. \t\t\t\t\t\t\t\t\t</div>
  764. \t\t\t\t\t\t\t\t</div>
  765. \t\t\t\t\t\t\t\t<div class=\"checkout-box\">
  766. \t\t\t\t\t\t\t\t\t<div class=\"btn-holder\">
  767. \t\t\t\t\t\t\t\t\t\t<button data-toggle=\"tab\" data-href=\"place-order\" role=\"tab\" class=\"btn btn-custom btn-green d-none\" id=\"placeorder\">Place Order</button>
  768. \t\t\t\t\t\t\t\t\t\t<button data-toggle=\"tab\" data-href=\"#confirmation\" role=\"tab\" class=\"btn btn-custom btn-secondary\" id=\"cusaddress\">Get Quote</button>
  769. \t\t\t\t\t\t\t\t\t\t<a data-toggle=\"tab\" href=\"#shopping-cart\" role=\"tab\" class=\"btn btn-custom btn-secondary custom-disabled btn-prev\">Previous</a>
  770. \t\t\t\t\t\t\t\t\t</div>
  771. \t\t\t\t\t\t\t\t</div>
  772. \t\t\t\t\t\t\t</form>
  773. \t\t\t\t\t\t</div>
  774. \t\t\t\t\t\t<div class=\"tab-pane d-none\" id=\"payment-method\" role=\"tabpanel\">
  775. \t\t\t\t\t\t\t<form action=\"\">
  776. \t\t\t\t\t\t\t\t<div class=\"shipping-form\">
  777. \t\t\t\t\t\t\t\t\t<div class=\"shipping-form-heading\">
  778. \t\t\t\t\t\t\t\t\t\t<h2>Payment Method</h2>
  779. \t\t\t\t\t\t\t\t\t</div>
  780. \t\t\t\t\t\t\t\t\t<div class=\"shipping-form-box\">
  781. \t\t\t\t\t\t\t\t\t\t<div class=\"container-fluid\">
  782. \t\t\t\t\t\t\t\t\t\t\t<div class=\"row\">
  783. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-lg-7\">
  784. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"group-radio\">
  785. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"radio-button form-check\">
  786. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input class=\"form-check-input\" type=\"radio\" name=\"exampleRadios\" id=\"cashondelivery\" value=\"option2\">
  787. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"form-check-label\" for=\"cashondelivery\">Cash on delivery</label>
  788. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  789. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"radio-button form-check\">
  790. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input class=\"form-check-input\" type=\"radio\" name=\"exampleRadios\" id=\"creditdebit\" value=\"option1\" checked=\"\">
  791. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"form-check-label\" for=\"creditdebit\">Credit / Debit Card</label>
  792. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  793. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  794. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  795. \t\t\t\t\t\t\t\t\t\t\t</div>
  796. \t\t\t\t\t\t\t\t\t\t\t<div class=\"row payhead\">
  797. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-lg-7\">
  798. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sub-heading\">
  799. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<h6>Pay with any Credit or Debit Card</h6>
  800. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  801. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  802. \t\t\t\t\t\t\t\t\t\t\t</div>
  803. \t\t\t\t\t\t\t\t\t\t\t<div class=\"row cardnumber\">
  804. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-lg-7\">
  805. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"select-holder\">
  806. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"cardnumber\">Card Number<span>*</span>
  807. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</label>
  808. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"custom-input\">
  809. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"cardnumber\" class=\"form-control\" placeholder=\"Card Number\"/>
  810. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  811. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  812. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  813. \t\t\t\t\t\t\t\t\t\t\t</div>
  814. \t\t\t\t\t\t\t\t\t\t\t<div class=\"row cardholder\">
  815. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-lg-7\">
  816. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"select-holder\">
  817. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"cardholder\">Card Holder Name<span>*</span>
  818. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</label>
  819. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"custom-input\">
  820. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"cardholder\" class=\"form-control\" placeholder=\"Card Holder Name\"/>
  821. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  822. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  823. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  824. \t\t\t\t\t\t\t\t\t\t\t</div>
  825. \t\t\t\t\t\t\t\t\t\t\t<div class=\"row cardnumber\">
  826. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-9 col-lg-5\">
  827. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"select-holder\">
  828. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"cardnumber\">Card Number<span>*</span>
  829. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</label>
  830. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"custom-input\">
  831. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"cardnumber\" class=\"form-control\" placeholder=\"Card Number\"/>
  832. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  833. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  834. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  835. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-3 col-lg-2\">
  836. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"select-holder full-width\">
  837. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"custom-input\">
  838. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"cardnumber\" class=\"form-control\" placeholder=\"Card Number\"/>
  839. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  840. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  841. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  842. \t\t\t\t\t\t\t\t\t\t\t</div>
  843. \t\t\t\t\t\t\t\t\t\t\t<div class=\"row cardholder\">
  844. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-10 col-lg-4\">
  845. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"select-holder\">
  846. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"cardholder\">Card Holder Name<span>*</span>
  847. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</label>
  848. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"custom-input\">
  849. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"cardholder\" class=\"form-control\" placeholder=\"Card Holder Name\"/>
  850. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  851. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  852. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  853. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-2 col-lg-2\">
  854. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"image-holder\">
  855. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<img src=\"/static/assets/images/card.png\" alt=\"card\">
  856. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  857. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  858. \t\t\t\t\t\t\t\t\t\t\t</div>
  859. \t\t\t\t\t\t\t\t\t\t</div>
  860. \t\t\t\t\t\t\t\t\t</div>
  861. \t\t\t\t\t\t\t\t</div>
  862. \t\t\t\t\t\t\t\t<div class=\"checkout-box\">
  863. \t\t\t\t\t\t\t\t\t<div
  864. \t\t\t\t\t\t\t\t\t\tclass=\"btn-holder\">
  865. \t\t\t\t\t\t\t\t\t\t";
  866.             // line 557
  867.             yield "\t\t\t\t\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"btn btn-custom btn-secondary custom-disabled\">Previous</a>
  868. \t\t\t\t\t\t\t\t\t</div>
  869. \t\t\t\t\t\t\t\t</div>
  870. \t\t\t\t\t\t\t</form>
  871. \t\t\t\t\t\t</div>
  872. \t\t\t\t\t\t<div class=\"tab-pane\" id=\"confirmation\" role=\"tabpanel\">
  873. \t\t\t\t\t\t\t<div id=\"myDiv\">
  874. \t\t\t\t\t\t\t\t<img id=\"loading-image\" src=\"/static/assets/images/loader.gif\" class=\"d-none\" alt=\"loader\"/>
  875. \t\t\t\t\t\t\t</div>
  876. \t\t\t\t\t\t\t<div class=\"shipping-form\">
  877. \t\t\t\t\t\t\t\t<div class=\"shipping-form-heading\">
  878. \t\t\t\t\t\t\t\t\t<h2>Request
  879. \t\t\t\t\t\t\t\t\t\t<span class=\"order_status\"></span>
  880. \t\t\t\t\t\t\t\t\t\tConfirmation</h2>
  881. \t\t\t\t\t\t\t\t</div>
  882. \t\t\t\t\t\t\t\t<div class=\"shipping-message\">
  883. \t\t\t\t\t\t\t\t\t<div class=\"thank-you-message\">
  884. \t\t\t\t\t\t\t\t\t\t<p>
  885. \t\t\t\t\t\t\t\t\t\t\tThank you, your
  886. \t\t\t\t\t\t\t\t\t\t\t<span class=\"order_status\"></span>
  887. \t\t\t\t\t\t\t\t\t\t\trequest has been received!<br>
  888. \t\t\t\t\t\t\t\t\t\t\tYour distributor will get in touch with you soon.
  889. \t\t\t\t\t\t\t\t\t\t</p><br>
  890. \t\t\t\t\t\t\t\t\t\t<span>
  891. \t\t\t\t\t\t\t\t\t\t\tYour
  892. \t\t\t\t\t\t\t\t\t\t\t<span class=\"order_status\"></span>
  893. \t\t\t\t\t\t\t\t\t\t\tNumber is
  894. \t\t\t\t\t\t\t\t\t\t\t<span id=\"coid\"></span><br>
  895. \t\t\t\t\t\t\t\t\t\t</span><br>
  896. \t\t\t\t\t\t\t\t\t\t<span>
  897. \t\t\t\t\t\t\t\t\t\t\tYour distributor will respond to your request within 48hrs.
  898. \t\t\t\t\t\t\t\t\t\t\t<br>
  899. \t\t\t\t\t\t\t\t\t\t\tFor any further information/enquiry please feel free to contact us @ +966537310415
  900. \t\t\t\t\t\t\t\t\t\t</span>
  901. \t\t\t\t\t\t\t\t\t</div>
  902. \t\t\t\t\t\t\t\t\t<div class=\"order-no\">
  903. \t\t\t\t\t\t\t\t\t\t<ul
  904. \t\t\t\t\t\t\t\t\t\t\tclass=\"list-unstyled social-info\">";
  905.             // line 597
  906.             yield "\t\t\t\t\t\t\t\t\t\t</ul>
  907. \t\t\t\t\t\t\t\t\t</div>
  908. \t\t\t\t\t\t\t\t\t<div class=\"deliver-time\">";
  909.             // line 600
  910.             yield "\t\t\t\t\t\t\t\t\t\t";
  911.             // line 601
  912.             yield "\t\t\t\t\t\t\t\t\t</div>
  913. \t\t\t\t\t\t\t\t</div>
  914. \t\t\t\t\t\t\t</div>
  915. \t\t\t\t\t\t\t<div class=\"checkout-box\">
  916. \t\t\t\t\t\t\t\t<div class=\"btn-holder\">
  917. \t\t\t\t\t\t\t\t\t<a href=\"/";
  918.             // line 606
  919.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'606$this->source); })()), "request", [], "any"falsefalsefalse606), "locale", [], "any"falsefalsefalse606), "html"nulltrue);
  920.             yield "/products\" class=\"btn btn-custom btn-secondary\">";
  921.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Continue Shopping"), "html"nulltrue);
  922.             yield "</a>
  923. \t\t\t\t\t\t\t\t</div>
  924. \t\t\t\t\t\t\t</div>
  925. \t\t\t\t\t\t</div>
  926. \t\t\t\t\t</div>
  927. \t\t\t\t\t<div class=\"helpout-box\">
  928. \t\t\t\t\t\t<div class=\"helpout-box-head\">
  929. \t\t\t\t\t\t\t<p>";
  930.             // line 613
  931.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Need help"), "html"nulltrue);
  932.             yield "</p>
  933. \t\t\t\t\t\t</div>
  934. \t\t\t\t\t\t<div class=\"helpout-box-content\">
  935. \t\t\t\t\t\t\t<div class=\"helpout-box-content-text\">
  936. \t\t\t\t\t\t\t\t<p>";
  937.             // line 617
  938.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("please contact us: "), "html"nulltrue);
  939.             yield "</p>
  940. \t\t\t\t\t\t\t\t<p>";
  941.             // line 618
  942.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("call us"), "html"nulltrue);
  943.             yield "
  944. \t\t\t\t\t\t\t\t\t@ +966537310415</p>
  945. \t\t\t\t\t\t\t\t<p>";
  946.             // line 620
  947.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("email us"), "html"nulltrue);
  948.             yield "
  949. \t\t\t\t\t\t\t\t\t@ gcs@goody.com.sa</p>
  950. \t\t\t\t\t\t\t</div>
  951. \t\t\t\t\t\t\t";
  952.             // line 626
  953.             yield "\t\t\t\t\t\t</div>
  954. \t\t\t\t\t</div>
  955. \t\t\t\t</div>
  956. \t\t\t\t<div class=\"col-lg-3 d-none\">
  957. \t\t\t\t\t<div class=\"summary-card\">
  958. \t\t\t\t\t\t<div class=\"shop-heading\">
  959. \t\t\t\t\t\t\t<h6>";
  960.             // line 632
  961.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("shopping SUMMARY"), "html"nulltrue);
  962.             yield "</h6>
  963. \t\t\t\t\t\t</div>
  964. \t\t\t\t\t\t<div class=\"summary-card-sub-total\">
  965. \t\t\t\t\t\t\t<span>";
  966.             // line 635
  967.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Subtotal"), "html"nulltrue);
  968.             yield "</span>
  969. \t\t\t\t\t\t\t<span id=\"subTT\"></span>
  970. \t\t\t\t\t\t</div>
  971. \t\t\t\t\t\t<div class=\"summary-card-sub-total\">
  972. \t\t\t\t\t\t\t<span>";
  973.             // line 639
  974.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Shipping"), "html"nulltrue);
  975.             yield "</span>
  976. \t\t\t\t\t\t\t<span>";
  977.             // line 640
  978.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Free"), "html"nulltrue);
  979.             yield "</span>
  980. \t\t\t\t\t\t</div>
  981. \t\t\t\t\t\t<div class=\"summary-card-sub-total\">
  982. \t\t\t\t\t\t\t<span>";
  983.             // line 643
  984.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("VAT"), "html"nulltrue);
  985.             yield "
  986. \t\t\t\t\t\t\t\t(<var id=\"vtr\">";
  987.             // line 644
  988.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["tax"]) || array_key_exists("tax"$context) ? $context["tax"] : (function () { throw new RuntimeError('Variable "tax" does not exist.'644$this->source); })()), "html"nulltrue);
  989.             yield "</var>%)</span>
  990. \t\t\t\t\t\t\t<span id=\"vat\"></span>
  991. \t\t\t\t\t\t</div>
  992. \t\t\t\t\t\t";
  993.             // line 651
  994.             yield "\t\t\t\t\t\t<div class=\"summary-card-total\">
  995. \t\t\t\t\t\t\t<span>";
  996.             // line 652
  997.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Total"), "html"nulltrue);
  998.             yield "</span>
  999. \t\t\t\t\t\t\t<span>
  1000. \t\t\t\t\t\t\t\t<span class=\"discounted-price d-none\"></span>
  1001. \t\t\t\t\t\t\t\tSAR
  1002. \t\t\t\t\t\t\t\t<span id=\"ctotal\"></span>
  1003. \t\t\t\t\t\t\t</span>
  1004. \t\t\t\t\t\t</div>
  1005. \t\t\t\t\t\t<div class=\"summary-card-sub-total summary-points d-none\">
  1006. \t\t\t\t\t\t\t<span>";
  1007.             // line 660
  1008.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("POINTS"), "html"nulltrue);
  1009.             yield "</span>
  1010. \t\t\t\t\t\t\t<span id=\"totPT\"></span>
  1011. \t\t\t\t\t\t</div>
  1012. \t\t\t\t\t</div>
  1013. \t\t\t\t</div>
  1014. \t\t\t</div>
  1015. \t\t</section>
  1016. \t\t<!-- End stepper -->
  1017. \t</div>
  1018. \t<script>
  1019. \t\t\$(document).ready(function () {
  1020. \$(\"#customerConfirm\").validate({
  1021. errorClass: \"error-class\",
  1022. validClass: \"valid-class\",
  1023. rules: {
  1024. mobile: {
  1025. required: true,
  1026. // email: true
  1027. },
  1028. country: {
  1029. required: true,
  1030. // minlength: 5
  1031. },
  1032. towncity: {
  1033. required: true,
  1034. minlength: 3
  1035. },
  1036. addressline1: {
  1037. required: true,
  1038. minlength: 3
  1039. }
  1040. }
  1041. });
  1042. \$('.get-all-quote').on('click', function (e) {
  1043. e.preventDefault();
  1044. e.stopPropagation();
  1045. var href = \$(this).attr(\"data-href\");
  1046. var vid = \$('#distributorname').find(\":selected\").val();
  1047. \$('.update-btn.distro').addClass('d-none');
  1048. \$('.nav-link.shop').removeClass('active');
  1049. \$(\".nav-link.ship\").addClass('active');
  1050. chkArray = []
  1051. countArr = [];
  1052. priceArr = [];
  1053. pointArr = [];
  1054. currencyArr = [];
  1055. \$('input:checkbox').not(\":disabled\").attr('checked', 'checked');
  1056. \$(\".styled-checkbox1:checkbox:checked\").each(function () {
  1057. chkArray.push(\$(this).val());
  1058. });
  1059. \$(\".count\").each(function () {
  1060. countArr.push(\$(this).val());
  1061. });
  1062. \$(\".item-price-change\").each(function () {
  1063. priceArr.push(\$(this).text());
  1064. });
  1065. \$(\".points-box\").each(function () {
  1066. pointArr.push(\$(this).text().trim());
  1067. });
  1068. \$(\".item-curr\").each(function () {
  1069. currencyArr.push(\$(this).text().trim());
  1070. });
  1071. var dc_span = \$(\"#dc_span\").text();
  1072. // if (vid) {
  1073. \$.ajax({
  1074. url: '/distroMailAll',
  1075. type: \"post\",
  1076. dataType: 'json',
  1077. data: {
  1078. pids: chkArray,
  1079. vid: vid,
  1080. counts: countArr,
  1081. prices: priceArr,
  1082. points: pointArr,
  1083. currencies: currencyArr,
  1084. dc_span: dc_span
  1085. },
  1086. success: function (data) {
  1087. \$('#countrylocation').prop(\"disabled\", \"disabled\");
  1088. \$('#distributorname').prop(\"disabled\", \"disabled\");
  1089. \$('li > .nav-link a[href=\"#' + href + '\"]').tab('show');
  1090. \$('#shopping-cart').removeClass('active');
  1091. \$('#shipping').addClass('active');
  1092. \$(\"ol.breadcrumb\").append('<li class=\"breadcrumb-item\"><a href=\"javascript:void(0);\">SHIPPING</a></li>');
  1093. }
  1094. });
  1095. // } else {
  1096. // e.stopPropagation();
  1097. // alert(\"Select Distributor\");
  1098. // }
  1099. });
  1100. var allChecked = true;
  1101. \$(\".styled-checkbox1\").each(function (index, element) {
  1102. if (! element.checked && !\$(\".styled-checkbox1\").is(':disabled')) {
  1103. allChecked = false;
  1104. return false;
  1105. }
  1106. });
  1107. \$(\".styled-checkbox1\").prop('checked', true);
  1108. \$(\"#countrylocation\").on('change', function () {
  1109. var sel = \$('#countrylocation').find(\":selected\").val();
  1110. \$('#distributorname').empty();
  1111. \$.ajax({
  1112. url: \"/getVendorByCountry\",
  1113. type: \"post\",
  1114. dataType: 'json',
  1115. data: {
  1116. val: sel
  1117. },
  1118. success: function (result) {
  1119. if (result) {
  1120. \$('#distributorname').append('<option value=\"\">Distributor Name</option>');
  1121. \$('#distributorname').append('<option value=\"' + result.uid + '\">' + result.name + ' </option>');
  1122. }
  1123. }
  1124. });
  1125. });
  1126. \$(\"#distributorname\").on('change', function () {
  1127. var sel = \$('#distributorname').find(\":selected\").val();
  1128. console.log(sel);
  1129. if (sel) {
  1130. \$.ajax({
  1131. url: \"/getVendorNumber\",
  1132. type: \"post\",
  1133. dataType: 'json',
  1134. data: {
  1135. val: sel
  1136. },
  1137. success: function (result) {
  1138. if (result.ClientNo) {
  1139. \$('.get-all-quote').css(\"pointer-events\", \"auto\");
  1140. \$('#clientno').val(result.ClientNo);
  1141. }
  1142. }
  1143. });
  1144. } else {
  1145. \$('.get-all-quote').css(\"pointer-events\", \"none\");
  1146. alert(\"Distributor must be selected to process your request\");
  1147. }
  1148. });
  1149. \$(\".btn-quote\").click(function (e) {
  1150. e.stopPropagation()
  1151. pid = \$(this).attr(\"data-prodId\");
  1152. vid = \$('#distributorname').find(\":selected\").val();
  1153. if (vid) {
  1154. \$.ajax({
  1155. url: '/distroMail',
  1156. type: \"post\",
  1157. dataType: 'json',
  1158. data: {
  1159. pid: pid,
  1160. vid: vid
  1161. },
  1162. success: function (data) {
  1163. location.reload();
  1164. }
  1165. });
  1166. } else {
  1167. alert(\"Select Distributor\");
  1168. }
  1169. });
  1170. \$(\"#cashondelivery\").on('click', function () {
  1171. \$('.row.cardnumber').hide();
  1172. \$('.row.cardholder').hide();
  1173. \$('.row.cardnumber').hide();
  1174. \$('.row.cardholder').hide();
  1175. \$('.row.payhead').hide();
  1176. });
  1177. \$(\"#creditdebit\").on('click', function () {
  1178. \$('.row.cardnumber').show();
  1179. \$('.row.cardholder').show();
  1180. \$('.row.cardnumber').show();
  1181. \$('.row.cardholder').show();
  1182. \$('.row.payhead').show();
  1183. });
  1184. \$('#cusaddress,#placeorder').click(function (e) {
  1185. e.preventDefault();
  1186. e.stopPropagation();
  1187. var isOrder = false;
  1188. var href = \$(this).attr(\"data-href\");
  1189. console.log(href);
  1190. if (href == 'place-order') {
  1191. isOrder = true;
  1192. }
  1193. var firstname = \$(\"#firstname\").val();
  1194. var lastname = \$(\"#lastname\").val();
  1195. var email = \$(\"#email\").val();
  1196. var mobile = \$(\"#mobile\").val();
  1197. var country = \$(\"#country\").find(\":selected\").val();
  1198. var towncity = \$(\"#towncity\").val();
  1199. var businessname = \$(\"#businessname\").val();
  1200. var addressline1 = \$(\"#addressline1\").val();
  1201. var addressline2 = \$(\"#addressline2\").val();
  1202. var country2 = \$(\"#country2\").find(\":selected\").val();
  1203. var towncity2 = \$(\"#towncity2\").val();
  1204. var extranotes = \$(\"#extranotes\").val();
  1205. var ctotal = \$(\"#ctotal\").text();
  1206. var ptotal = \$(\"#totPT\").text();
  1207. \$('.nav-link.ship').removeClass('active');
  1208. \$('.nav-link.confirm').addClass('active');
  1209. var vid = \$('#distributorname').find(\":selected\").val();
  1210. chkArray = []
  1211. countArr = [];
  1212. \$('input:checkbox').not(\":disabled\").attr('checked', 'checked');
  1213. \$(\".styled-checkbox1:checkbox:checked\").each(function () {
  1214. chkArray.push(\$(this).val());
  1215. });
  1216. \$(\".count\").each(function () {
  1217. countArr.push(\$(this).val());
  1218. });
  1219. \$('#customerConfirm').valid();
  1220. if (\$(\"#customerConfirm\").valid()) {
  1221. \$(\"#loading-image\").show();
  1222. \$.ajax({
  1223. url: '/saveCustomAddress',
  1224. type: \"post\",
  1225. dataType: 'json',
  1226. data: {
  1227. firstname: firstname,
  1228. lastname: lastname,
  1229. email: email,
  1230. mobile: mobile,
  1231. country: country,
  1232. towncity: towncity,
  1233. businessname: businessname,
  1234. addressline1: addressline1,
  1235. addressline2: addressline2,
  1236. country2: country2,
  1237. towncity2: towncity2,
  1238. extranotes: extranotes,
  1239. pids: chkArray,
  1240. countArr: countArr,
  1241. vid: vid,
  1242. stot: ctotal,
  1243. ctot: ptotal,
  1244. isOrder: isOrder
  1245. },
  1246. completed: function (data) { // \$('#coid').text(data.orderId);
  1247. \$('.cart-box-icon-count').text(0);
  1248. },
  1249. success: function (data) {
  1250. \$('#coid').text(data.orderNumber);
  1251. \$('.order_status').each(function () {
  1252. \$(this).html(data.orderstatus);
  1253. });
  1254. // \$('#coid').text(data.orderId);
  1255. \$(\"#loading-image\").hide();
  1256. \$(\".distributor-panel\").addClass('d-none');
  1257. \$('.cart-box-icon-count').text(0);
  1258. \$('li > .nav-link a[href=\"#' + href + '\"]').tab('show');
  1259. \$('#confirmation').addClass('active');
  1260. \$('#shipping').removeClass('active');
  1261. \$('#clientno').val('');
  1262. \$('#countrylocation').prop('selectedIndex', 0);
  1263. \$('#distributorname').prop('selectedIndex', 0);
  1264. \$(\"ol.breadcrumb\").append('<li class=\"breadcrumb-item\"><a href=\"javascript:void(0);\">CONFIRMATION</a></li>');
  1265. }
  1266. });
  1267. }
  1268. // return false;
  1269. });
  1270. sumCart();
  1271. \$(\".dustbin-box\").on('click', function (e) {
  1272. e.stopPropagation()
  1273. pid = \$(this).attr(\"data-pid\");
  1274. var obj = \$(this);
  1275. if (confirm(\"Are you sure you want to delete this?\")) {
  1276. \$.ajax({
  1277. url: '/removeCartItem',
  1278. type: \"post\",
  1279. dataType: 'json',
  1280. data: {
  1281. pid: pid
  1282. },
  1283. success: function (data) {
  1284. \$(obj).closest(\"tr\").remove();
  1285. \$('.cart-box-icon-count').text(data);
  1286. sumCart();
  1287. }
  1288. });
  1289. } else {
  1290. return false;
  1291. }
  1292. });
  1293. \$(\".del-box-img-all\").on('click', function (e) {
  1294. e.stopPropagation()
  1295. if (confirm(\"Are you sure you want to delete this?\")) {
  1296. \$.ajax({
  1297. url: '/removeCartItemAll',
  1298. type: \"post\",
  1299. dataType: 'json',
  1300. success: function (data) {
  1301. location.reload();
  1302. }
  1303. });
  1304. } else {
  1305. return false;
  1306. }
  1307. });
  1308. \$('.plus').on('click', function () {
  1309. txt = \$(this).parent().parent().find('.count').val();
  1310. v = 0;
  1311. v = v + parseInt(txt);
  1312. var id = \$(this).attr('data-addItem');
  1313. price = \$(this).closest('td').siblings().find('.price').text();
  1314. subT = \$(this).closest('td').siblings().find('.subTotal').text();
  1315. ptb = \$(this).closest('td').siblings().find('.grpt').text();
  1316. ptT = parseInt(v) * parseInt(ptb);
  1317. \$(this).closest('td').siblings().find('.points-box').text(ptT);
  1318. priceSum = parseFloat(price) * parseFloat(v);
  1319. \$(this).closest('td').siblings().find('.item-price-change').text(priceSum);
  1320. \$(this).closest('td').siblings().find('.subTotal').text(priceSum);
  1321. \$.ajax({
  1322. url: '/addcart?id=' + id,
  1323. type: \"post\",
  1324. dataType: 'json',
  1325. success: function (data) {
  1326. \$('.cart-box-icon-count').text(data);
  1327. sumCart();
  1328. }
  1329. });
  1330. });
  1331. \$('.minus').on('click', function () {
  1332. txt = \$(this).parent().parent().find('.count').val();
  1333. console.log(\"curr_qutr = \" + txt);
  1334. v = 0;
  1335. v = v + parseInt(txt);
  1336. var id = \$(this).attr('data-addItem');
  1337. price = \$(this).closest('td').siblings().find('.price').text();
  1338. subT = \$(this).closest('td').siblings().find('.subTotal').text();
  1339. ptb = \$(this).closest('td').siblings().find('.grpt').text();
  1340. ptT = parseInt(v) * parseInt(ptb);
  1341. \$(this).closest('td').siblings().find('.points-box').text(ptT);
  1342. priceSum = parseFloat(price) * parseFloat(v);
  1343. \$(this).closest('td').siblings().find('.item-price-change').text(priceSum);
  1344. \$(this).closest('td').siblings().find('.subTotal').text(priceSum);
  1345. \$.ajax({
  1346. url: '/rmcart?id=' + id + '&qty=' + txt,
  1347. type: \"post\",
  1348. dataType: 'json',
  1349. success: function (data) {
  1350. \$('.cart-box-icon-count').text(data);
  1351. sumCart();
  1352. }
  1353. });
  1354. });
  1355. \$('.btn-prev').on('click', function () {
  1356. \$('.nav-link.ship').removeClass('active');
  1357. \$(\".nav-link.shop\").addClass('active');
  1358. \$(\".get-all-quote\").removeClass('active');
  1359. // \$(\".get-all-quote\").removeClass('active');
  1360. \$(this).removeClass('active');
  1361. });
  1362. \$('.apply_vouch').on('click', function () {
  1363. var vcode = \$(\"#couponno\").val();
  1364. var dataHref = \$(\"#couponno\").attr('data-href');
  1365. var dscode = \$('#dscode').text();
  1366. var subt = \$('#subTT').text();
  1367. var cds = Number(subt * (dscode / 100));
  1368. var vatv = Number(\$('#vtr').text() / 100);
  1369. var tot = Number(subt + vatv - cds);
  1370. var dataURL = '/apply_voucher';
  1371. if (dataHref == 'remove') {
  1372. var dataURL = '/remove_voucher';
  1373. }
  1374. console.log(dscode);
  1375. if (vcode) {
  1376. if (confirm(\"Are you sure you want to Apply this?\")) {
  1377. \$.ajax({
  1378. url: dataURL,
  1379. type: \"post\",
  1380. dataType: 'json',
  1381. data: {
  1382. voucher_code: vcode
  1383. },
  1384. success: function (data) {
  1385. \$('.summary-card-sub-total').removeClass('d-none');
  1386. \$('.discounted-price').removeClass('d-none');
  1387. \$('#dc_span').empty();
  1388. \$('#dc_span').text(cds.toFixed(2));
  1389. \$('.discounted-price').text(tot);
  1390. // \$(\".apply_vouch\").css('pointer-events','none');
  1391. if (data.message != \"\") {
  1392. \$('.discount_coupon_html').html(`<div class=\"alert alert-danger mt-3\"  role=\"alert\"> ` + data.message + ` </div>`);
  1393. } else {
  1394. \$('.discount_coupon_html').html(data.result.errorMessage);
  1395. }
  1396. console.log(\"Data Href = \" + dataHref);
  1397. if (dataHref == 'apply') {
  1398. \$('.apply_vouch').removeClass('btn-green');
  1399. \$('.apply_vouch').addClass('btn-secondary');
  1400. \$('.apply_vouch').html('Remove Coupon');
  1401. \$(\"#couponno\").prop(\"disabled\", true);
  1402. \$(\"#couponno\").attr('data-href', 'remove');
  1403. } else if (dataHref == 'remove') {
  1404. \$('.apply_vouch').removeClass('btn-secondary');
  1405. \$('.apply_vouch').addClass('btn-green');
  1406. \$('.apply_vouch').html('Apply Coupon');
  1407. \$(\"#couponno\").prop(\"disabled\", false);
  1408. \$(\"#couponno\").attr('data-href', 'apply');
  1409. }
  1410. sumCart();
  1411. }
  1412. });
  1413. } else {
  1414. return false;
  1415. }
  1416. } else {
  1417. alert('Enter Voucher');
  1418. }
  1419. });
  1420. });
  1421. window.onload = function () {
  1422. document.getElementById(\"download\").addEventListener(\"click\", () => {
  1423. var invoice = document.createElement('div');
  1424. let cart = document.querySelector(\"#shopping-cart\").cloneNode(true);
  1425. let summ = document.querySelector(\".summary-card\").cloneNode(true);
  1426. let shipp = document.querySelector(\"#shipping\").cloneNode(true);
  1427. invoice.appendChild(cart);
  1428. invoice.appendChild(summ);
  1429. invoice.appendChild(shipp);
  1430. var opt = {
  1431. margin: 1,
  1432. filename: 'myorder.pdf',
  1433. image: {
  1434. type: 'jpeg',
  1435. quality: 0.98
  1436. },
  1437. html2canvas: {
  1438. scale: 1
  1439. },
  1440. jsPDF: {
  1441. unit: 'in',
  1442. format: 'letter',
  1443. orientation: 'landscape'
  1444. }
  1445. };
  1446. html2pdf().from(invoice).set(opt).save();
  1447. })
  1448. // document.getElementById(\"pdfprnt\")
  1449. // .addEventListener(\"click\", () => {
  1450. //     var printme = this.document.getElementsByClassName(\"invoice\")[0];
  1451. //       console.log(printme);
  1452. //       var wme = window.open(\"\",\"\",\"width:700,height:900\");
  1453. //       wme.document.write(printme.outerHTML);
  1454. //       wme.document.close();
  1455. //       wme.focus();
  1456. //       wme.print();
  1457. //       wme.close();
  1458. // })
  1459. }
  1460. function sumCart() {
  1461. var totalPoint = 0;
  1462. \$('.points-box').each(function () {
  1463. var arr = 0;
  1464. var value = \$(this).text();
  1465. arr = value.split('pt');
  1466. if (!isNaN(arr[0]) && arr[0].length != 0) {
  1467. totalPoint += parseFloat(arr[0]);
  1468. }
  1469. });
  1470. \$.ajax({
  1471. url: '/calculate_cart',
  1472. type: \"post\",
  1473. dataType: 'html',
  1474. data: {
  1475. \"totalPoints\": totalPoint
  1476. },
  1477. success: function (data) {
  1478. \$('.summary-card').html(data);
  1479. }
  1480. });
  1481. }
  1482. ";
  1483.             // line 1261
  1484.             yield "\t</script>
  1485. ";
  1486.         } else {
  1487.             // line 1263
  1488.             yield "\t<section class=\"tab-panel\">
  1489. \t\t<div class=\"row\">
  1490. \t\t\t<div class=\"col-lg-9 summary-table-div\">
  1491. \t\t\t\t<div class=\"tab-content\">
  1492. \t\t\t\t\t<div class=\"tab-pane active\" id=\"shopping-cart\" role=\"tabpanel\">
  1493. \t\t\t\t\t\t<div class=\"cart-box\">
  1494. \t\t\t\t\t\t\t<div class=\"table-responsive\">
  1495. \t\t\t\t\t\t\t\t<table class=\"table\">
  1496. \t\t\t\t\t\t\t\t\t<thead>
  1497. \t\t\t\t\t\t\t\t\t\t<tr>
  1498. \t\t\t\t\t\t\t\t\t\t\t<th>
  1499. \t\t\t\t\t\t\t\t\t\t\t\t<span>";
  1500.             // line 1274
  1501.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Item"), "html"nulltrue);
  1502.             yield "</span><!--span><a href=\"javascript:void(0);\">Select all</a></span--></th>
  1503. \t\t\t\t\t\t\t\t\t\t\t<th>";
  1504.             // line 1275
  1505.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Description"), "html"nulltrue);
  1506.             yield "</th>
  1507. \t\t\t\t\t\t\t\t\t\t\t<th>";
  1508.             // line 1276
  1509.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Quantity"), "html"nulltrue);
  1510.             yield "</th>
  1511. \t\t\t\t\t\t\t\t\t\t\t";
  1512.             // line 1278
  1513.             yield "\t\t\t\t\t\t\t\t\t\t\t<th class=\"d-none\">";
  1514.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Recommended Price"), "html"nulltrue);
  1515.             yield "</th>
  1516. \t\t\t\t\t\t\t\t\t\t\t<th>";
  1517.             // line 1279
  1518.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Action"), "html"nulltrue);
  1519.             yield "</th>
  1520. \t\t\t\t\t\t\t\t\t\t\t<th></th>
  1521. \t\t\t\t\t\t\t\t\t\t</tr>
  1522. \t\t\t\t\t\t\t\t\t</thead>
  1523. \t\t\t\t\t\t\t\t\t<tbody>
  1524. \t\t\t\t\t\t\t\t\t\t";
  1525.             // line 1284
  1526.             $context['_parent'] = $context;
  1527.             $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source, (isset($context["carts"]) || array_key_exists("carts"$context) ? $context["carts"] : (function () { throw new RuntimeError('Variable "carts" does not exist.'1284$this->source); })()), "items", [], "any"falsefalsefalse1284));
  1528.             foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  1529.                 // line 1285
  1530.                 yield "\t\t\t\t\t\t\t\t\t\t\t<tr>
  1531. \t\t\t\t\t\t\t\t\t\t\t\t<td>
  1532. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"shipping-product\">
  1533. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"shipping-product-checkbox\">
  1534. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input class=\"styled-checkbox1 opacity-0\" id=\"";
  1535.                 // line 1289
  1536.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["item"], "product", [], "any"falsefalsefalse1289), "id", [], "any"falsefalsefalse1289), "html"nulltrue);
  1537.                 yield "\" type=\"checkbox\" value=\"";
  1538.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["item"], "product", [], "any"falsefalsefalse1289), "id", [], "any"falsefalsefalse1289), "html"nulltrue);
  1539.                 yield "\" }}/>
  1540. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"";
  1541.                 // line 1290
  1542.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["item"], "product", [], "any"falsefalsefalse1290), "id", [], "any"falsefalsefalse1290), "html"nulltrue);
  1543.                 yield "\"></label>
  1544. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  1545. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"shipping-product-image\">
  1546. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<figure class=\"shipping-product-image-img\">
  1547. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img src=\"";
  1548.                 // line 1294
  1549.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["item"], "product", [], "any"falsefalsefalse1294), "attrimage", [], "any"falsefalsefalse1294), "items", [], "any"falsefalsefalse1294), 0, [], "array"falsefalsefalse1294), "html"nulltrue);
  1550.                 yield "\" alt=\"";
  1551.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["item"], "product", [], "any"falsefalsefalse1294), "name", [], "any"falsefalsefalse1294), "html"nulltrue);
  1552.                 yield "\">
  1553. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</figure>
  1554. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  1555. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  1556. \t\t\t\t\t\t\t\t\t\t\t\t</td>
  1557. \t\t\t\t\t\t\t\t\t\t\t\t<td>
  1558. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"slide-info\">
  1559. \t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  1560.                 // line 1301
  1561.                 if (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["item"], "product", [], "any"falsetruefalse1301), "region", [], "any"falsetruefalse1301), 0, [], "array"truetruefalse1301)) {
  1562.                     // line 1302
  1563.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h5 class=\"title\">";
  1564.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["item"], "product", [], "any"falsefalsefalse1302), "name", [], "any"falsefalsefalse1302), "html"nulltrue);
  1565.                     yield "</h5>
  1566. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"kg\">";
  1567.                     // line 1303
  1568.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["item"], "product", [], "any"falsefalsefalse1303), "size", [], "any"falsefalsefalse1303), "html"nulltrue);
  1569.                     yield "</div>
  1570. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  1571.                     // line 1305
  1572.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"kg d-none\">";
  1573.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Unit Price "), "html"nulltrue);
  1574.                     yield "</div>
  1575. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"price d-none\">";
  1576.                     // line 1306
  1577.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["item"], "product", [], "any"falsefalsefalse1306), "region", [], "any"falsefalsefalse1306), 0, [], "array"falsefalsefalse1306), "price", [], "any"falsefalsefalse1306), "data", [], "any"falsefalsefalse1306), "html"nulltrue);
  1578.                     yield "
  1579. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  1580.                     // line 1309
  1581.                     yield "
  1582. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  1583.                     // line 1310
  1584.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["item"], "product", [], "any"falsefalsefalse1310), "region", [], "any"falsefalsefalse1310), 0, [], "array"falsefalsefalse1310), "currency_symbol", [], "any"falsefalsefalse1310), "data", [], "any"falsefalsefalse1310)), "html"nulltrue);
  1585.                     yield "</div>
  1586. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"award d-none\">
  1587. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  1588.                     // line 1312
  1589.                     $context["points"] = Twig\Extension\CoreExtension::round(((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["item"], "product", [], "any"falsefalsefalse1312), "region", [], "any"falsefalsefalse1312), 0, [], "array"falsefalsefalse1312), "price", [], "any"falsefalsefalse1312), "data", [], "any"falsefalsefalse1312) / 100) * 10));
  1590.                     // line 1313
  1591.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"far fa-star \"></i>
  1592. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  1593.                     // line 1314
  1594.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Earn"), "html"nulltrue);
  1595.                     yield "
  1596. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"grpt\">";
  1597.                     // line 1315
  1598.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["points"]) || array_key_exists("points"$context) ? $context["points"] : (function () { throw new RuntimeError('Variable "points" does not exist.'1315$this->source); })()), "html"nulltrue);
  1599.                     yield "</i>
  1600. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  1601.                     // line 1316
  1602.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Rewards Points"), "html"nulltrue);
  1603.                     yield "
  1604. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  1605. \t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  1606.                 }
  1607.                 // line 1319
  1608.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  1609. \t\t\t\t\t\t\t\t\t\t\t\t</td>
  1610. \t\t\t\t\t\t\t\t\t\t\t\t<td>
  1611. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"order-count-number\">
  1612. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"minus\" data-additem=\"";
  1613.                 // line 1323
  1614.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["item"], "product", [], "any"falsefalsefalse1323), "id", [], "any"falsefalsefalse1323), "html"nulltrue);
  1615.                 yield "\"><img src=\"/static/assets/images/icon-minus.svg\" alt=\"minus\"></span>
  1616. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<input class=\"count\" type=\"text\" value=\"";
  1617.                 // line 1324
  1618.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["item"], "Count", [], "method"falsefalsefalse1324), "html"nulltrue);
  1619.                 yield "\">
  1620. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"plus\" data-additem=\"";
  1621.                 // line 1325
  1622.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["item"], "product", [], "any"falsefalsefalse1325), "id", [], "any"falsefalsefalse1325), "html"nulltrue);
  1623.                 yield "\"><img src=\"/static/assets/images/icon-plus.svg\" alt=\"plus\"></span>
  1624. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  1625. \t\t\t\t\t\t\t\t\t\t\t\t</td>
  1626. \t\t\t\t\t\t\t\t\t\t\t\t<td class=\"d-none\">
  1627. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"points-box\">
  1628. \t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  1629.                 // line 1330
  1630.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((isset($context["points"]) || array_key_exists("points"$context) ? $context["points"] : (function () { throw new RuntimeError('Variable "points" does not exist.'1330$this->source); })()) * CoreExtension::getAttribute($this->env$this->source$context["item"], "Count", [], "method"falsefalsefalse1330)), "html"nulltrue);
  1631.                 yield "
  1632. \t\t\t\t\t\t\t\t\t\t\t\t\t\tpt
  1633. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  1634. \t\t\t\t\t\t\t\t\t\t\t\t</td>
  1635. \t\t\t\t\t\t\t\t\t\t\t\t<td class=\"d-none\">
  1636. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"item-price \">
  1637. \t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  1638.                 // line 1336
  1639.                 if (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["item"], "product", [], "any"falsetruefalse1336), "region", [], "any"falsetruefalse1336), 0, [], "array"truetruefalse1336)) {
  1640.                     // line 1337
  1641.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"item-curr\">";
  1642.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["item"], "product", [], "any"falsefalsefalse1337), "region", [], "any"falsefalsefalse1337), 0, [], "array"falsefalsefalse1337), "currency_symbol", [], "any"falsefalsefalse1337), "data", [], "any"falsefalsefalse1337)), "html"nulltrue);
  1643.                     yield "</div>
  1644. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"item-price-change\">";
  1645.                     // line 1338
  1646.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["item"], "product", [], "any"falsefalsefalse1338), "region", [], "any"falsefalsefalse1338), 0, [], "array"falsefalsefalse1338), "price", [], "any"falsefalsefalse1338), "data", [], "any"falsefalsefalse1338) * CoreExtension::getAttribute($this->env$this->source$context["item"], "Count", [], "method"falsefalsefalse1338)), "html"nulltrue);
  1647.                     yield "
  1648. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  1649. \t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  1650.                 }
  1651.                 // line 1341
  1652.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  1653. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"subTotal d-none\">
  1654. \t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  1655.                 // line 1343
  1656.                 if (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["item"], "product", [], "any"falsetruefalse1343), "region", [], "any"falsetruefalse1343), 0, [], "array"truetruefalse1343)) {
  1657.                     // line 1344
  1658.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  1659.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["item"], "product", [], "any"falsefalsefalse1344), "region", [], "any"falsefalsefalse1344), 0, [], "array"falsefalsefalse1344), "price", [], "any"falsefalsefalse1344), "data", [], "any"falsefalsefalse1344) * CoreExtension::getAttribute($this->env$this->source$context["item"], "Count", [], "method"falsefalsefalse1344)), "html"nulltrue);
  1660.                     yield "
  1661. \t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  1662.                 }
  1663.                 // line 1346
  1664.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  1665. \t\t\t\t\t\t\t\t\t\t\t\t</td>
  1666. \t\t\t\t\t\t\t\t\t\t\t\t<td>
  1667. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"dustbin-box\" data-pid=\"";
  1668.                 // line 1350
  1669.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["item"], "product", [], "any"falsefalsefalse1350), "id", [], "any"falsefalsefalse1350), "html"nulltrue);
  1670.                 yield "\">
  1671. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<img src=\"/static/assets/images/dustbin.svg\" alt=\"dustbin\">
  1672. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  1673. \t\t\t\t\t\t\t\t\t\t\t\t</td>
  1674. \t\t\t\t\t\t\t\t\t\t\t</tr>
  1675. \t\t\t\t\t\t\t\t\t\t";
  1676.             }
  1677.             $_parent $context['_parent'];
  1678.             unset($context['_seq'], $context['_key'], $context['item'], $context['_parent']);
  1679.             $context array_intersect_key($context$_parent) + $_parent;
  1680.             // line 1356
  1681.             yield "\t\t\t\t\t\t\t\t\t</tbody>
  1682. \t\t\t\t\t\t\t\t</table>
  1683. \t\t\t\t\t\t\t</div>
  1684. \t\t\t\t\t\t\t<div class=\"table-quote-box\">
  1685. \t\t\t\t\t\t\t\t<div class=\"table-all-quote\">
  1686. \t\t\t\t\t\t\t\t\t<div
  1687. \t\t\t\t\t\t\t\t\t\tclass=\"btn-holder\"><!--a href=\"javascript:void(0)\" class=\"btn btn-custom btn-green\">Add quote </a-->
  1688. \t\t\t\t\t\t\t\t\t</div>
  1689. \t\t\t\t\t\t\t\t\t";
  1690.             // line 1367
  1691.             yield "\t\t\t\t\t\t\t\t</div>
  1692. \t\t\t\t\t\t\t\t<div class=\"del-box\">
  1693. \t\t\t\t\t\t\t\t\t<div class=\"del-box-content\">
  1694. \t\t\t\t\t\t\t\t\t\t";
  1695.             // line 1370
  1696.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Remove all "), "html"nulltrue);
  1697.             yield "
  1698. \t\t\t\t\t\t\t\t\t</div>
  1699. \t\t\t\t\t\t\t\t\t<div class=\"del-box-img\">
  1700. \t\t\t\t\t\t\t\t\t\t<img src=\"/static/assets/images/dustbin.svg\" alt=\"dustbin\" class=\"del-box-img-all\">
  1701. \t\t\t\t\t\t\t\t\t</div>
  1702. \t\t\t\t\t\t\t\t</div>
  1703. \t\t\t\t\t\t\t</div>
  1704. \t\t\t\t\t\t</div>
  1705. \t\t\t\t\t\t<div class=\"discount-box d-none\">
  1706. \t\t\t\t\t\t\t<div class=\"discount-box-coupons\">
  1707. \t\t\t\t\t\t\t\t<div class=\"select-holder\">
  1708. \t\t\t\t\t\t\t\t\t<div class=\"custom-input\">
  1709. \t\t\t\t\t\t\t\t\t\t<input id=\"couponno\" class=\"form-control\" placeholder=\"";
  1710.             // line 1382
  1711.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Enter discount code here "), "html"nulltrue);
  1712.             yield "\" disabled/>
  1713. \t\t\t\t\t\t\t\t\t</div>
  1714. \t\t\t\t\t\t\t\t</div>
  1715. \t\t\t\t\t\t\t\t<div class=\"btn-holder\">
  1716. \t\t\t\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"btn btn-custom btn-green custom-disabled apply_vouch\">";
  1717.             // line 1386
  1718.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("APPLY CODE "), "html"nulltrue);
  1719.             yield "</a>
  1720. \t\t\t\t\t\t\t\t</div>
  1721. \t\t\t\t\t\t\t</div>
  1722. \t\t\t\t\t\t\t<div class=\"code-hint d-none\">
  1723. \t\t\t\t\t\t\t\t<ul class=\"list-unstyled recipe-info\">
  1724. \t\t\t\t\t\t\t\t\t<li class=\"info-icon\">";
  1725.             // line 1391
  1726.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("What is a discount code, how can you get one? "), "html"nulltrue);
  1727.             yield "</li>
  1728. \t\t\t\t\t\t\t\t</ul>
  1729. \t\t\t\t\t\t\t</div>
  1730. \t\t\t\t\t\t</div>
  1731. \t\t\t\t\t\t<div class=\"checkout-box\">
  1732. \t\t\t\t\t\t\t<div class=\"btn-holder\">
  1733. \t\t\t\t\t\t\t\t<a href=\"/";
  1734.             // line 1397
  1735.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'1397$this->source); })()), "request", [], "any"falsefalsefalse1397), "locale", [], "any"falsefalsefalse1397), "html"nulltrue);
  1736.             yield "/signin\" class=\"btn btn-custom btn-green get-all-quote\">";
  1737.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Next"), "html"nulltrue);
  1738.             yield "</a>
  1739. \t\t\t\t\t\t\t\t<a href=\"/";
  1740.             // line 1398
  1741.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'1398$this->source); })()), "request", [], "any"falsefalsefalse1398), "locale", [], "any"falsefalsefalse1398), "html"nulltrue);
  1742.             yield "/products\" class=\"btn btn-custom btn-secondary custom-disabled\">";
  1743.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Continue Shopping"), "html"nulltrue);
  1744.             yield "</a>
  1745. \t\t\t\t\t\t\t</div>
  1746. \t\t\t\t\t\t</div>
  1747. \t\t\t\t\t</div>
  1748. \t\t\t\t\t<div class=\"tab-pane d-none\" id=\"payment-method\" role=\"tabpanel\">
  1749. \t\t\t\t\t\t<form action=\"\">
  1750. \t\t\t\t\t\t\t<div class=\"shipping-form\">
  1751. \t\t\t\t\t\t\t\t<div class=\"shipping-form-heading\">
  1752. \t\t\t\t\t\t\t\t\t<h2>Payment Method</h2>
  1753. \t\t\t\t\t\t\t\t</div>
  1754. \t\t\t\t\t\t\t\t<div class=\"shipping-form-box\">
  1755. \t\t\t\t\t\t\t\t\t<div class=\"container-fluid\">
  1756. \t\t\t\t\t\t\t\t\t\t<div class=\"row\">
  1757. \t\t\t\t\t\t\t\t\t\t\t<div class=\"col-lg-7\">
  1758. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"group-radio\">
  1759. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"radio-button form-check\">
  1760. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<input class=\"form-check-input\" type=\"radio\" name=\"exampleRadios\" id=\"cashondelivery\" value=\"option2\">
  1761. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"form-check-label\" for=\"cashondelivery\">Cash on delivery</label>
  1762. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  1763. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"radio-button form-check\">
  1764. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<input class=\"form-check-input\" type=\"radio\" name=\"exampleRadios\" id=\"creditdebit\" value=\"option1\" checked=\"\">
  1765. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"form-check-label\" for=\"creditdebit\">Credit / Debit Card</label>
  1766. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  1767. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  1768. \t\t\t\t\t\t\t\t\t\t\t</div>
  1769. \t\t\t\t\t\t\t\t\t\t</div>
  1770. \t\t\t\t\t\t\t\t\t\t<div class=\"row payhead\">
  1771. \t\t\t\t\t\t\t\t\t\t\t<div class=\"col-lg-7\">
  1772. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sub-heading\">
  1773. \t\t\t\t\t\t\t\t\t\t\t\t\t<h6>Pay with any Credit or Debit Card</h6>
  1774. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  1775. \t\t\t\t\t\t\t\t\t\t\t</div>
  1776. \t\t\t\t\t\t\t\t\t\t</div>
  1777. \t\t\t\t\t\t\t\t\t\t<div class=\"row cardnumber\">
  1778. \t\t\t\t\t\t\t\t\t\t\t<div class=\"col-lg-7\">
  1779. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"select-holder\">
  1780. \t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"cardnumber\">Card Number<span>*</span>
  1781. \t\t\t\t\t\t\t\t\t\t\t\t\t</label>
  1782. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"custom-input\">
  1783. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"cardnumber\" class=\"form-control\" placeholder=\"Card Number\"/>
  1784. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  1785. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  1786. \t\t\t\t\t\t\t\t\t\t\t</div>
  1787. \t\t\t\t\t\t\t\t\t\t</div>
  1788. \t\t\t\t\t\t\t\t\t\t<div class=\"row cardholder\">
  1789. \t\t\t\t\t\t\t\t\t\t\t<div class=\"col-lg-7\">
  1790. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"select-holder\">
  1791. \t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"cardholder\">Card Holder Name<span>*</span>
  1792. \t\t\t\t\t\t\t\t\t\t\t\t\t</label>
  1793. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"custom-input\">
  1794. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"cardholder\" class=\"form-control\" placeholder=\"Card Holder Name\"/>
  1795. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  1796. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  1797. \t\t\t\t\t\t\t\t\t\t\t</div>
  1798. \t\t\t\t\t\t\t\t\t\t</div>
  1799. \t\t\t\t\t\t\t\t\t\t<div class=\"row cardnumber\">
  1800. \t\t\t\t\t\t\t\t\t\t\t<div class=\"col-9 col-lg-5\">
  1801. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"select-holder\">
  1802. \t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"cardnumber\">Card Number<span>*</span>
  1803. \t\t\t\t\t\t\t\t\t\t\t\t\t</label>
  1804. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"custom-input\">
  1805. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"cardnumber\" class=\"form-control\" placeholder=\"Card Number\"/>
  1806. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  1807. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  1808. \t\t\t\t\t\t\t\t\t\t\t</div>
  1809. \t\t\t\t\t\t\t\t\t\t\t<div class=\"col-3 col-lg-2\">
  1810. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"select-holder full-width\">
  1811. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"custom-input\">
  1812. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"cardnumber\" class=\"form-control\" placeholder=\"Card Number\"/>
  1813. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  1814. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  1815. \t\t\t\t\t\t\t\t\t\t\t</div>
  1816. \t\t\t\t\t\t\t\t\t\t</div>
  1817. \t\t\t\t\t\t\t\t\t\t<div class=\"row cardholder\">
  1818. \t\t\t\t\t\t\t\t\t\t\t<div class=\"col-10 col-lg-4\">
  1819. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"select-holder\">
  1820. \t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"cardholder\">Card Holder Name<span>*</span>
  1821. \t\t\t\t\t\t\t\t\t\t\t\t\t</label>
  1822. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"custom-input\">
  1823. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"cardholder\" class=\"form-control\" placeholder=\"Card Holder Name\"/>
  1824. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  1825. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  1826. \t\t\t\t\t\t\t\t\t\t\t</div>
  1827. \t\t\t\t\t\t\t\t\t\t\t<div class=\"col-2 col-lg-2\">
  1828. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"image-holder\">
  1829. \t\t\t\t\t\t\t\t\t\t\t\t\t<img src=\"/static/assets/images/card.png\" alt=\"card\">
  1830. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  1831. \t\t\t\t\t\t\t\t\t\t\t</div>
  1832. \t\t\t\t\t\t\t\t\t\t</div>
  1833. \t\t\t\t\t\t\t\t\t</div>
  1834. \t\t\t\t\t\t\t\t</div>
  1835. \t\t\t\t\t\t\t</div>
  1836. \t\t\t\t\t\t\t<div class=\"checkout-box\">
  1837. \t\t\t\t\t\t\t\t<div
  1838. \t\t\t\t\t\t\t\t\tclass=\"btn-holder\">
  1839. \t\t\t\t\t\t\t\t\t";
  1840.             // line 1495
  1841.             yield "\t\t\t\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"btn btn-custom btn-secondary custom-disabled\">Previous</a>
  1842. \t\t\t\t\t\t\t\t</div>
  1843. \t\t\t\t\t\t\t</div>
  1844. \t\t\t\t\t\t</form>
  1845. \t\t\t\t\t</div>
  1846. \t\t\t\t\t<div class=\"tab-pane\" id=\"confirmation\" role=\"tabpanel\">
  1847. \t\t\t\t\t\t<div id=\"myDiv\">
  1848. \t\t\t\t\t\t\t<img id=\"loading-image\" src=\"/static/assets/images/loader.gif\" alt=\"Loader\" class=\"d-none\"/>
  1849. \t\t\t\t\t\t</div>
  1850. \t\t\t\t\t\t<div class=\"shipping-form\">
  1851. \t\t\t\t\t\t\t<div class=\"shipping-form-heading\">
  1852. \t\t\t\t\t\t\t\t<h2>Request
  1853. \t\t\t\t\t\t\t\t\t<span class=\"order_status\"></span>
  1854. \t\t\t\t\t\t\t\t\tConfirmation</h2>
  1855. \t\t\t\t\t\t\t</div>
  1856. \t\t\t\t\t\t\t<div class=\"shipping-message\">
  1857. \t\t\t\t\t\t\t\t<div class=\"thank-you-message\">
  1858. \t\t\t\t\t\t\t\t\t<p>
  1859. \t\t\t\t\t\t\t\t\t\tThank you, your
  1860. \t\t\t\t\t\t\t\t\t\t<span class=\"order_status\"></span>
  1861. \t\t\t\t\t\t\t\t\t\trequest has been received!<br>
  1862. \t\t\t\t\t\t\t\t\t\tYour distributor will get in touch with you soon.
  1863. \t\t\t\t\t\t\t\t\t</p><br>
  1864. \t\t\t\t\t\t\t\t\t<span>
  1865. \t\t\t\t\t\t\t\t\t\tYour
  1866. \t\t\t\t\t\t\t\t\t\t<span class=\"order_status\"></span>
  1867. \t\t\t\t\t\t\t\t\t\tNumber is
  1868. \t\t\t\t\t\t\t\t\t\t<span id=\"coid\"></span><br>
  1869. \t\t\t\t\t\t\t\t\t</span><br>
  1870. \t\t\t\t\t\t\t\t\t<span>
  1871. \t\t\t\t\t\t\t\t\t\tYour distributor will respond to your request within 48hrs.
  1872. \t\t\t\t\t\t\t\t\t\t<br>
  1873. \t\t\t\t\t\t\t\t\t\tFor any further information/enquiry please feel free to contact us us @ 800 246
  1874. \t\t\t\t\t\t\t\t\t</span>
  1875. \t\t\t\t\t\t\t\t</div>
  1876. \t\t\t\t\t\t\t\t<div class=\"order-no\">
  1877. \t\t\t\t\t\t\t\t\t<ul
  1878. \t\t\t\t\t\t\t\t\t\tclass=\"list-unstyled social-info\">";
  1879.             // line 1535
  1880.             yield "\t\t\t\t\t\t\t\t\t</ul>
  1881. \t\t\t\t\t\t\t\t</div>
  1882. \t\t\t\t\t\t\t\t<div class=\"deliver-time\">";
  1883.             // line 1538
  1884.             yield "\t\t\t\t\t\t\t\t\t";
  1885.             // line 1539
  1886.             yield "\t\t\t\t\t\t\t\t</div>
  1887. \t\t\t\t\t\t\t</div>
  1888. \t\t\t\t\t\t</div>
  1889. \t\t\t\t\t\t<div class=\"checkout-box\">
  1890. \t\t\t\t\t\t\t<div class=\"btn-holder\">
  1891. \t\t\t\t\t\t\t\t<a href=\"/";
  1892.             // line 1544
  1893.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'1544$this->source); })()), "request", [], "any"falsefalsefalse1544), "locale", [], "any"falsefalsefalse1544), "html"nulltrue);
  1894.             yield "/products\" class=\"btn btn-custom btn-secondary\">";
  1895.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Continue Shopping"), "html"nulltrue);
  1896.             yield "</a>
  1897. \t\t\t\t\t\t\t</div>
  1898. \t\t\t\t\t\t</div>
  1899. \t\t\t\t\t</div>
  1900. \t\t\t\t</div>
  1901. \t\t\t\t<div class=\"helpout-box\">
  1902. \t\t\t\t\t<div class=\"helpout-box-head\">
  1903. \t\t\t\t\t\t<p>";
  1904.             // line 1551
  1905.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Need help"), "html"nulltrue);
  1906.             yield "</p>
  1907. \t\t\t\t\t</div>
  1908. \t\t\t\t\t<div class=\"helpout-box-content\">
  1909. \t\t\t\t\t\t<div class=\"helpout-box-content-text\">
  1910. \t\t\t\t\t\t\t<p>";
  1911.             // line 1555
  1912.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("please contact us: "), "html"nulltrue);
  1913.             yield "</p>
  1914. \t\t\t\t\t\t\t<p>";
  1915.             // line 1556
  1916.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("call us"), "html"nulltrue);
  1917.             yield "
  1918. \t\t\t\t\t\t\t\t@ +966537310415</p>
  1919. \t\t\t\t\t\t\t<p>";
  1920.             // line 1558
  1921.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("email us"), "html"nulltrue);
  1922.             yield "
  1923. \t\t\t\t\t\t\t\t@ gcs@goody.com.sa</p>
  1924. \t\t\t\t\t\t</div>
  1925. \t\t\t\t\t\t";
  1926.             // line 1564
  1927.             yield "\t\t\t\t\t</div>
  1928. \t\t\t\t</div>
  1929. \t\t\t</div>
  1930. \t\t\t<div class=\"col-lg-3 d-none\">
  1931. \t\t\t\t<div class=\"summary-card\">
  1932. \t\t\t\t\t<div class=\"shop-heading\">
  1933. \t\t\t\t\t\t<h6>";
  1934.             // line 1570
  1935.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("shopping SUMMARY"), "html"nulltrue);
  1936.             yield "</h6>
  1937. \t\t\t\t\t</div>
  1938. \t\t\t\t\t<div class=\"summary-card-sub-total\">
  1939. \t\t\t\t\t\t<span>";
  1940.             // line 1573
  1941.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Subtotal"), "html"nulltrue);
  1942.             yield "</span>
  1943. \t\t\t\t\t\t<span id=\"subTT\"></span>
  1944. \t\t\t\t\t</div>
  1945. \t\t\t\t\t<div class=\"summary-card-sub-total\">
  1946. \t\t\t\t\t\t<span>";
  1947.             // line 1577
  1948.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Shipping"), "html"nulltrue);
  1949.             yield "</span>
  1950. \t\t\t\t\t\t<span>";
  1951.             // line 1578
  1952.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Free"), "html"nulltrue);
  1953.             yield "</span>
  1954. \t\t\t\t\t</div>
  1955. \t\t\t\t\t<div class=\"summary-card-sub-total\">
  1956. \t\t\t\t\t\t<span>";
  1957.             // line 1581
  1958.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("VAT"), "html"nulltrue);
  1959.             yield "
  1960. \t\t\t\t\t\t\t(<var id=\"vtr\">";
  1961.             // line 1582
  1962.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["tax"]) || array_key_exists("tax"$context) ? $context["tax"] : (function () { throw new RuntimeError('Variable "tax" does not exist.'1582$this->source); })()), "html"nulltrue);
  1963.             yield "</var>%)</span>
  1964. \t\t\t\t\t\t<span id=\"vat\"></span>
  1965. \t\t\t\t\t</div>
  1966. \t\t\t\t\t<div class=\"summary-card-sub-total d-none\">
  1967. \t\t\t\t\t\t<span>Discount</span>
  1968. \t\t\t\t\t\t<span id=\"dc_span\">NA</span>
  1969. \t\t\t\t\t</div>
  1970. \t\t\t\t\t<div class=\"summary-card-total\">
  1971. \t\t\t\t\t\t<span>";
  1972.             // line 1590
  1973.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Total"), "html"nulltrue);
  1974.             yield "</span>
  1975. \t\t\t\t\t\t<span>
  1976. \t\t\t\t\t\t\t<span class=\"discounted-price d-none\"></span>
  1977. \t\t\t\t\t\t\tSAR
  1978. \t\t\t\t\t\t\t<span id=\"ctotal\"></span>
  1979. \t\t\t\t\t\t</span>
  1980. \t\t\t\t\t</div>
  1981. \t\t\t\t\t<div class=\"summary-card-sub-total summary-points d-none\">
  1982. \t\t\t\t\t\t<span>";
  1983.             // line 1598
  1984.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("POINTS"), "html"nulltrue);
  1985.             yield "</span>
  1986. \t\t\t\t\t\t<span id=\"totPT\"></span>
  1987. \t\t\t\t\t</div>
  1988. \t\t\t\t</div>
  1989. \t\t\t</div>
  1990. \t\t</div>
  1991. \t</section>
  1992. \t<!-- End stepper -->
  1993. </div>
  1994. <script>
  1995. \t\$(document).ready(function () {
  1996. \$(\"#customerConfirm\").validate({
  1997. errorClass: \"error-class\",
  1998. validClass: \"valid-class\",
  1999. rules: {
  2000. mobile: {
  2001. required: true,
  2002. // email: true
  2003. },
  2004. country: {
  2005. required: true,
  2006. // minlength: 5
  2007. },
  2008. towncity: {
  2009. required: true,
  2010. minlength: 3
  2011. }
  2012. }
  2013. });
  2014. \$(\".styled-checkbox1\").prop('checked', true);
  2015. \$(\"#countrylocation\").on('change', function () {
  2016. var sel = \$('#countrylocation').find(\":selected\").val();
  2017. \$('#distributorname').empty();
  2018. \$.ajax({
  2019. url: \"/getVendorByCountry\",
  2020. type: \"post\",
  2021. dataType: 'json',
  2022. data: {
  2023. val: sel
  2024. },
  2025. success: function (result) {
  2026. if (result) {
  2027. \$('#distributorname').append('<option value=\"\">Distributor Name</option>');
  2028. \$('#distributorname').append('<option value=\"' + result.uid + '\">' + result.name + ' </option>');
  2029. }
  2030. }
  2031. });
  2032. });
  2033. \$(\"#distributorname\").on('change', function () {
  2034. var sel = \$('#distributorname').find(\":selected\").val();
  2035. console.log(sel);
  2036. if (sel) {
  2037. \$.ajax({
  2038. url: \"/getVendorNumber\",
  2039. type: \"post\",
  2040. dataType: 'json',
  2041. data: {
  2042. val: sel
  2043. },
  2044. success: function (result) {
  2045. if (result.ClientNo) {
  2046. \$('.get-all-quote').css(\"pointer-events\", \"auto\");
  2047. \$('#clientno').val(result.ClientNo);
  2048. }
  2049. }
  2050. });
  2051. } else {
  2052. \$('.get-all-quote').css(\"pointer-events\", \"none\");
  2053. alert(\"Distributor must be selected to process your request\");
  2054. }
  2055. });
  2056. \$(\".btn-quote\").click(function (e) {
  2057. e.stopPropagation()
  2058. pid = \$(this).attr(\"data-prodId\");
  2059. vid = \$('#distributorname').find(\":selected\").val();
  2060. if (vid) {
  2061. \$.ajax({
  2062. url: '/distroMail',
  2063. type: \"post\",
  2064. dataType: 'json',
  2065. data: {
  2066. pid: pid,
  2067. vid: vid
  2068. },
  2069. success: function (data) {
  2070. location.reload();
  2071. }
  2072. });
  2073. } else {
  2074. alert(\"Select Distributor\");
  2075. }
  2076. });
  2077. \$(\"#cashondelivery\").on('click', function () {
  2078. \$('.row.cardnumber').hide();
  2079. \$('.row.cardholder').hide();
  2080. \$('.row.cardnumber').hide();
  2081. \$('.row.cardholder').hide();
  2082. \$('.row.payhead').hide();
  2083. });
  2084. \$(\"#creditdebit\").on('click', function () {
  2085. \$('.row.cardnumber').show();
  2086. \$('.row.cardholder').show();
  2087. \$('.row.cardnumber').show();
  2088. \$('.row.cardholder').show();
  2089. \$('.row.payhead').show();
  2090. });
  2091. \$('#cusaddress').click(function (e) {
  2092. e.preventDefault();
  2093. e.stopPropagation();
  2094. var href = \$(this).attr(\"data-href\");
  2095. var firstname = \$(\"#firstname\").val();
  2096. var lastname = \$(\"#lastname\").val();
  2097. var email = \$(\"#email\").val();
  2098. var mobile = \$(\"#mobile\").val();
  2099. var country = \$(\"#country\").find(\":selected\").val();
  2100. var towncity = \$(\"#towncity\").val();
  2101. var businessname = \$(\"#businessname\").val();
  2102. var addressline1 = \$(\"#addressline1\").val();
  2103. var addressline2 = \$(\"#addressline2\").val();
  2104. var country2 = \$(\"#country2\").find(\":selected\").val();
  2105. var towncity2 = \$(\"#towncity2\").val();
  2106. var extranotes = \$(\"#extranotes\").val();
  2107. var ctotal = \$(\"#ctotal\").text();
  2108. var ptotal = \$(\"#totPT\").text();
  2109. \$('.nav-link.ship').removeClass('active');
  2110. \$('.nav-link.confirm').addClass('active');
  2111. var vid = \$('#distributorname').find(\":selected\").val();
  2112. chkArray = []
  2113. countArr = [];
  2114. \$('input:checkbox').not(\":disabled\").attr('checked', 'checked');
  2115. \$(\".styled-checkbox1:checkbox:checked\").each(function () {
  2116. chkArray.push(\$(this).val());
  2117. });
  2118. \$(\".count\").each(function () {
  2119. countArr.push(\$(this).val());
  2120. });
  2121. \$('#customerConfirm').valid();
  2122. if (\$(\"#customerConfirm\").valid()) {
  2123. \$(\"#loading-image\").show();
  2124. \$.ajax({
  2125. url: '/saveCustomAddress',
  2126. type: \"post\",
  2127. dataType: 'json',
  2128. data: {
  2129. firstname: firstname,
  2130. lastname: lastname,
  2131. email: email,
  2132. mobile: mobile,
  2133. country: country,
  2134. towncity: towncity,
  2135. businessname: businessname,
  2136. addressline1: addressline1,
  2137. addressline2: addressline2,
  2138. country2: country2,
  2139. towncity2: towncity2,
  2140. extranotes: extranotes,
  2141. pids: chkArray,
  2142. countArr: countArr,
  2143. vid: vid,
  2144. stot: ctotal,
  2145. ctot: ptotal
  2146. },
  2147. completed: function (data) { // \$('#coid').text(data.orderId);
  2148. \$('.cart-box-icon-count').text(0);
  2149. },
  2150. success: function (data) {
  2151. \$('#coid').text(data.orderNumber);
  2152. \$('.order_status').each(function () {
  2153. \$(this).html(data.orderstatus);
  2154. });
  2155. \$(\"#loading-image\").hide();
  2156. \$(\".distributor-panel\").addClass('d-none');
  2157. \$('.cart-box-icon-count').text(0);
  2158. \$('li > .nav-link a[href=\"#' + href + '\"]').tab('show');
  2159. \$('#confirmation').addClass('active');
  2160. \$('#shipping').removeClass('active');
  2161. \$('#clientno').val('');
  2162. \$('#countrylocation').prop('selectedIndex', 0);
  2163. \$('#distributorname').prop('selectedIndex', 0);
  2164. \$(\"ol.breadcrumb\").append('<li class=\"breadcrumb-item\"><a href=\"javascript:void(0);\">CONFIRMATION</a></li>');
  2165. }
  2166. });
  2167. }
  2168. });
  2169. sumCart();
  2170. \$(\".dustbin-box\").on('click', function (e) {
  2171. e.stopPropagation()
  2172. pid = \$(this).attr(\"data-pid\");
  2173. var obj = \$(this);
  2174. if (confirm(\"Are you sure you want to delete this?\")) {
  2175. \$.ajax({
  2176. url: '/removeCartItem',
  2177. type: \"post\",
  2178. dataType: 'json',
  2179. data: {
  2180. pid: pid
  2181. },
  2182. success: function (data) {
  2183. \$(obj).closest(\"tr\").remove();
  2184. sumCart();
  2185. }
  2186. });
  2187. } else {
  2188. return false;
  2189. }
  2190. });
  2191. \$(\".del-box-img-all\").on('click', function (e) {
  2192. e.stopPropagation()
  2193. if (confirm(\"Are you sure you want to delete this?\")) {
  2194. \$.ajax({
  2195. url: '/removeCartItemAll',
  2196. type: \"post\",
  2197. dataType: 'json',
  2198. success: function (data) {
  2199. location.reload();
  2200. }
  2201. });
  2202. } else {
  2203. return false;
  2204. }
  2205. });
  2206. \$('.plus').on('click', function () {
  2207. txt = \$(this).parent().parent().find('.count').val();
  2208. var id = \$(this).attr('data-addItem');
  2209. v = 0;
  2210. v = v + parseInt(txt);
  2211. price = \$(this).closest('td').siblings().find('.price').text();
  2212. subT = \$(this).closest('td').siblings().find('.subTotal').text();
  2213. ptb = \$(this).closest('td').siblings().find('.grpt').text();
  2214. ptT = parseInt(v) * parseInt(ptb);
  2215. \$(this).closest('td').siblings().find('.points-box').text(ptT);
  2216. priceSum = parseFloat(price) * parseFloat(v);
  2217. \$(this).closest('td').siblings().find('.item-price-change').text(priceSum);
  2218. \$(this).closest('td').siblings().find('.subTotal').text(priceSum);
  2219. \$.ajax({
  2220. url: '/addcart?id=' + id,
  2221. type: \"post\",
  2222. dataType: 'json',
  2223. success: function (data) {
  2224. \$('.cart-box-icon-count').text(data);
  2225. sumCart();
  2226. }
  2227. });
  2228. });
  2229. \$('.minus').on('click', function () {
  2230. txt = \$(this).parent().parent().find('.count').val();
  2231. v = 0;
  2232. v = v + parseInt(txt);
  2233. var id = \$(this).attr('data-addItem');
  2234. price = \$(this).closest('td').siblings().find('.price').text();
  2235. subT = \$(this).closest('td').siblings().find('.subTotal').text();
  2236. ptb = \$(this).closest('td').siblings().find('.grpt').text();
  2237. ptT = parseInt(v) * parseInt(ptb);
  2238. \$(this).closest('td').siblings().find('.points-box').text(ptT);
  2239. priceSum = parseFloat(price) * parseFloat(v);
  2240. \$(this).closest('td').siblings().find('.item-price-change').text(priceSum);
  2241. \$(this).closest('td').siblings().find('.subTotal').text(priceSum);
  2242. \$.ajax({
  2243. url: '/rmcart?id=' + id,
  2244. type: \"post\",
  2245. dataType: 'json',
  2246. success: function (data) {
  2247. \$('.cart-box-icon-count').text(data);
  2248. sumCart();
  2249. }
  2250. });
  2251. });
  2252. \$('.btn-prev').on('click', function () {
  2253. \$('.nav-link.ship').removeClass('active');
  2254. \$(\".nav-link.shop\").addClass('active');
  2255. \$(\".get-all-quote\").removeClass('active');
  2256. // \$(\".get-all-quote\").removeClass('active');
  2257. \$(this).removeClass('active');
  2258. });
  2259. });
  2260. window.onload = function () {
  2261. document.getElementById(\"download\").addEventListener(\"click\", () => {
  2262. var invoice = document.createElement('div');
  2263. let cart = document.querySelector(\"#shopping-cart\").cloneNode(true);
  2264. let summ = document.querySelector(\".summary-card\").cloneNode(true);
  2265. let shipp = document.querySelector(\"#shipping\").cloneNode(true);
  2266. invoice.appendChild(cart);
  2267. invoice.appendChild(summ);
  2268. invoice.appendChild(shipp);
  2269. var opt = {
  2270. margin: 1,
  2271. filename: 'myorder.pdf',
  2272. image: {
  2273. type: 'jpeg',
  2274. quality: 0.98
  2275. },
  2276. html2canvas: {
  2277. scale: 1
  2278. },
  2279. jsPDF: {
  2280. unit: 'in',
  2281. format: 'letter',
  2282. orientation: 'landscape'
  2283. }
  2284. };
  2285. html2pdf().from(invoice).set(opt).save();
  2286. })
  2287. // document.getElementById(\"pdfprnt\")
  2288. // .addEventListener(\"click\", () => {
  2289. //     var printme = this.document.getElementsByClassName(\"invoice\")[0];
  2290. //       console.log(printme);
  2291. //       var wme = window.open(\"\",\"\",\"width:700,height:900\");
  2292. //       wme.document.write(printme.outerHTML);
  2293. //       wme.document.close();
  2294. //       wme.focus();
  2295. //       wme.print();
  2296. //       wme.close();
  2297. // })
  2298. }
  2299. function sumCart() {
  2300. var sum = 0;
  2301. var sum2 = 0;
  2302. \$('.subTotal').each(function () {
  2303. sum += parseFloat(\$(this).text()); // Or this.innerHTML, this.innerText
  2304. });
  2305. \$('.points-box').each(function () {
  2306. var arr = 0;
  2307. var value = \$(this).text();
  2308. arr = value.split('pt');
  2309. if (!isNaN(arr[0]) && arr[0].length != 0) {
  2310. sum2 += parseFloat(arr[0]);
  2311. }
  2312. });
  2313. \$('#totPT').text(sum2 + \" PT\");
  2314. \$('#subTT').text(sum.toFixed(2));
  2315. var taxr = \$(\"#vtr\").text();
  2316. var vat = 0;
  2317. vat = parseFloat(sum * (taxr / 100));
  2318. \$('#vat').text(vat.toFixed(2));
  2319. var discount = 0;
  2320. var dc = \$('#dc_span').text();
  2321. discount = parseFloat(dc / 100);
  2322. var newamt = 0;
  2323. if (discount) {
  2324. newamt = parseFloat(sum * discount);
  2325. }
  2326. var dp = 0;
  2327. total = (sum + vat);
  2328. dp = total - newamt;
  2329. \$(\"#ctotal\").text(dp.toFixed(2));
  2330. \$(\".discounted-price\").text(total.toFixed(2));
  2331. }
  2332. </script>";
  2333.         }
  2334.         // line 2010
  2335.         if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'2010$this->source); })()), "request", [], "any"falsefalsefalse2010), "locale", [], "any"falsefalsefalse2010) == "ar")) {
  2336.             // line 2011
  2337.             $context["topMenu"] = "/en/cartDetails";
  2338.         } else {
  2339.             // line 2012
  2340.             $context["topMenu"] = "/ar/cartDetails";
  2341.         }
  2342.         yield "<script>
  2343. var _TopMenuLink = \"";
  2344.         // line 2013
  2345.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["topMenu"]) || array_key_exists("topMenu"$context) ? $context["topMenu"] : (function () { throw new RuntimeError('Variable "topMenu" does not exist.'2013$this->source); })()), "html"nulltrue);
  2346.         yield "\";</script>";
  2347.         
  2348.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  2349.         
  2350.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  2351.         yield from [];
  2352.     }
  2353.     /**
  2354.      * @codeCoverageIgnore
  2355.      */
  2356.     public function getTemplateName(): string
  2357.     {
  2358.         return "cart/shared/shipping.html.twig";
  2359.     }
  2360.     /**
  2361.      * @codeCoverageIgnore
  2362.      */
  2363.     public function isTraitable(): bool
  2364.     {
  2365.         return false;
  2366.     }
  2367.     /**
  2368.      * @codeCoverageIgnore
  2369.      */
  2370.     public function getDebugInfo(): array
  2371.     {
  2372.         return array (  2514 => 2013,  2509 => 2012,  2506 => 2011,  2504 => 2010,  2088 => 1598,  2077 => 1590,  2066 => 1582,  2062 => 1581,  2056 => 1578,  2052 => 1577,  2045 => 1573,  2039 => 1570,  2031 => 1564,  2025 => 1558,  2020 => 1556,  2016 => 1555,  2009 => 1551,  1997 => 1544,  1990 => 1539,  1988 => 1538,  1984 => 1535,  1943 => 1495,  1842 => 1398,  1836 => 1397,  1827 => 1391,  1819 => 1386,  1812 => 1382,  1797 => 1370,  1792 => 1367,  1782 => 1356,  1770 => 1350,  1764 => 1346,  1758 => 1344,  1756 => 1343,  1752 => 1341,  1746 => 1338,  1741 => 1337,  1739 => 1336,  1730 => 1330,  1722 => 1325,  1718 => 1324,  1714 => 1323,  1708 => 1319,  1702 => 1316,  1698 => 1315,  1694 => 1314,  1691 => 1313,  1689 => 1312,  1684 => 1310,  1681 => 1309,  1676 => 1306,  1671 => 1305,  1667 => 1303,  1662 => 1302,  1660 => 1301,  1648 => 1294,  1641 => 1290,  1635 => 1289,  1629 => 1285,  1625 => 1284,  1617 => 1279,  1612 => 1278,  1608 => 1276,  1604 => 1275,  1600 => 1274,  1587 => 1263,  1583 => 1261,  1032 => 660,  1021 => 652,  1018 => 651,  1012 => 644,  1008 => 643,  1002 => 640,  998 => 639,  991 => 635,  985 => 632,  977 => 626,  971 => 620,  966 => 618,  962 => 617,  955 => 613,  943 => 606,  936 => 601,  934 => 600,  930 => 597,  889 => 557,  761 => 431,  757 => 430,  753 => 429,  749 => 428,  745 => 427,  741 => 426,  737 => 425,  733 => 424,  729 => 423,  725 => 422,  721 => 421,  717 => 420,  713 => 419,  709 => 418,  705 => 417,  701 => 416,  697 => 415,  693 => 414,  689 => 413,  685 => 412,  681 => 411,  678 => 410,  667 => 400,  665 => 398,  663 => 397,  661 => 393,  659 => 392,  646 => 381,  635 => 373,  623 => 364,  601 => 346,  588 => 335,  580 => 329,  573 => 311,  561 => 302,  549 => 293,  537 => 284,  513 => 266,  509 => 264,  499 => 257,  491 => 252,  484 => 248,  469 => 236,  464 => 233,  454 => 222,  442 => 216,  439 => 215,  435 => 180,  429 => 178,  427 => 177,  423 => 175,  417 => 172,  412 => 171,  410 => 170,  401 => 164,  393 => 159,  389 => 158,  385 => 157,  379 => 153,  373 => 150,  369 => 149,  365 => 148,  362 => 147,  360 => 146,  355 => 144,  351 => 143,  347 => 142,  343 => 141,  339 => 140,  335 => 139,  330 => 138,  328 => 137,  316 => 130,  309 => 126,  301 => 125,  295 => 121,  291 => 120,  283 => 115,  278 => 114,  274 => 112,  270 => 111,  266 => 110,  253 => 99,  251 => 98,  234 => 84,  229 => 82,  219 => 75,  213 => 72,  205 => 66,  196 => 63,  191 => 62,  187 => 61,  183 => 60,  177 => 57,  168 => 51,  157 => 43,  148 => 37,  142 => 34,  131 => 26,  123 => 21,  115 => 18,  105 => 10,  101 => 7,  88 => 6,  64 => 3,  41 => 1,);
  2373.     }
  2374.     public function getSourceContext(): Source
  2375.     {
  2376.         return new Source("{% extends \"layout/layout.html.twig\" %}
  2377. {% block title %}GFS::Cart Details
  2378. {% endblock %}
  2379. {% block content %}
  2380. \t{# <script src=\"https://cdnjs.cloudflare.com/ajax/libs/html2pdf.js/0.9.2/html2pdf.bundle.js\"></script> #}
  2381. \t<script src='/static/assets/js/html2pdf.bundle.js'></script>
  2382. \t<div class=\"container container-sm shipping-container invoice\">
  2383. \t\t<div
  2384. \t\t\tclass=\"shipping-cart\">
  2385. \t\t\t<!--Start Breadcrumbs-->
  2386. \t\t\t<div class=\"breadcrumb-holder\">
  2387. \t\t\t\t<ol class=\"breadcrumb\">
  2388. \t\t\t\t\t<li class=\"breadcrumb-item\">
  2389. \t\t\t\t\t\t<a href=\"/{{app.request.locale}}/\">{{'Home'|trans}}</a>
  2390. \t\t\t\t\t</li>
  2391. \t\t\t\t\t<li class=\"breadcrumb-item\">
  2392. \t\t\t\t\t\t<a href=\"javascript:void(0);\">{{'MY CART '|trans}}</a>
  2393. \t\t\t\t\t</li>
  2394. \t\t\t\t</ol>
  2395. \t\t\t</div>
  2396. \t\t\t<!--End Breadcrumbs-->
  2397. \t\t\t<h1 class=\"heading shopping-cart-heading\">{{'Your Shopping Cart '|trans}}</h1>
  2398. \t\t</div>
  2399. \t\t<!-- Start stepper -->
  2400. \t\t<section class=\"stepper\">
  2401. \t\t\t<div class=\"tabs-stepper\">
  2402. \t\t\t\t<ul class=\"nav nav-tabs\" role=\"tablist\">
  2403. \t\t\t\t\t<li class=\"nav-item\">
  2404. \t\t\t\t\t\t<a class=\"nav-link active shop\" data-toggle=\"tab\" href=\"#\" role=\"tab\">{{'Shopping Cart'|trans}}</a>
  2405. \t\t\t\t\t</li>
  2406. \t\t\t\t\t<li class=\"nav-item\">
  2407. \t\t\t\t\t\t<a class=\"nav-link ship\" data-toggle=\"tab\" href=\"#\" role=\"tab\">{{'Shipping'|trans}}</a>
  2408. \t\t\t\t\t</li>
  2409. \t\t\t\t\t<li class=\"nav-item d-none\">
  2410. \t\t\t\t\t\t<a class=\"nav-link\" data-toggle=\"tab\" href=\"#payment-method\" role=\"tab\">Payment Method</a>
  2411. \t\t\t\t\t</li>
  2412. \t\t\t\t\t<li class=\"nav-item\">
  2413. \t\t\t\t\t\t<a class=\"nav-link confirm\" data-toggle=\"tab\" href=\"#\" role=\"tab\">{{'Confirmation'|trans}}</a>
  2414. \t\t\t\t\t</li>
  2415. \t\t\t\t</ul>
  2416. \t\t\t</div>
  2417. \t\t</section>
  2418. \t\t<section class=\"distributor-panel d-none\">
  2419. \t\t\t<div class=\"distributor-panel-editor\">
  2420. \t\t\t\t<div class=\"distributor-panel-editor-header\">
  2421. \t\t\t\t\t<h6>{{'Your Distributor'|trans}}</h6>
  2422. \t\t\t\t</div>
  2423. \t\t\t\t<form action=\"\">
  2424. \t\t\t\t\t<div class=\"row\">
  2425. \t\t\t\t\t\t<div class=\"col-lg-3\">
  2426. \t\t\t\t\t\t\t<div class=\"select-holder\">
  2427. \t\t\t\t\t\t\t\t<label for=\"countrylocation\">{{'Country/Location'|trans}}*</label>
  2428. \t\t\t\t\t\t\t\t<div class=\"custom-dropdown\">
  2429. \t\t\t\t\t\t\t\t\t<select id=\"countrylocation\" class=\"form-control\">
  2430. \t\t\t\t\t\t\t\t\t\t<option>{{'Country/Location'|trans}}</option>
  2431. \t\t\t\t\t\t\t\t\t\t{% for distro in distros %}
  2432. \t\t\t\t\t\t\t\t\t\t\t<option value=\"{{distro.distroCountry}}\">
  2433. \t\t\t\t\t\t\t\t\t\t\t\t{{ distro.distroCountry|country(distro.distroCountry)|trans }}
  2434. \t\t\t\t\t\t\t\t\t\t\t</option>
  2435. \t\t\t\t\t\t\t\t\t\t{% endfor %}
  2436. \t\t\t\t\t\t\t\t\t</select>
  2437. \t\t\t\t\t\t\t\t</div>
  2438. \t\t\t\t\t\t\t</div>
  2439. \t\t\t\t\t\t</div>
  2440. \t\t\t\t\t\t<div class=\"col-lg-5 col-xl-4\">
  2441. \t\t\t\t\t\t\t<div class=\"select-holder\">
  2442. \t\t\t\t\t\t\t\t<label for=\"distributorname\">{{'Distributor Name'|trans}}*</label>
  2443. \t\t\t\t\t\t\t\t<div class=\"custom-dropdown\">
  2444. \t\t\t\t\t\t\t\t\t<select id=\"distributorname\" class=\"form-control\">
  2445. \t\t\t\t\t\t\t\t\t\t<option value=\"\">{{'Distributor Name'|trans}}</option>
  2446. \t\t\t\t\t\t\t\t\t</select>
  2447. \t\t\t\t\t\t\t\t</div>
  2448. \t\t\t\t\t\t\t</div>
  2449. \t\t\t\t\t\t</div>
  2450. \t\t\t\t\t\t<div class=\"col-lg-3\">
  2451. \t\t\t\t\t\t\t<div class=\"select-holder\">
  2452. \t\t\t\t\t\t\t\t<label for=\"clientno\">{{'Client number '|trans}}</label>
  2453. \t\t\t\t\t\t\t\t<div class=\"custom-input\">
  2454. \t\t\t\t\t\t\t\t\t<input id=\"clientno\" class=\"form-control\" placeholder=\"{{'Client number '|trans}}\" readonly/>
  2455. \t\t\t\t\t\t\t\t</div>
  2456. \t\t\t\t\t\t\t</div>
  2457. \t\t\t\t\t\t</div>
  2458. \t\t\t\t\t\t<div class=\"col-lg-3 btn-position\">
  2459. \t\t\t\t\t\t\t<div class=\"update-btn distro d-none\">
  2460. \t\t\t\t\t\t\t\t<button type=\"submit\">Update your distributor</button>
  2461. \t\t\t\t\t\t\t</div>
  2462. \t\t\t\t\t\t</div>
  2463. \t\t\t\t\t</div>
  2464. \t\t\t\t</form>
  2465. \t\t\t</div>
  2466. \t\t</section>
  2467. \t\t{% if cartItems is defined %}
  2468. \t\t\t<section class=\"tab-panel\">
  2469. \t\t\t\t<div class=\"row\">
  2470. \t\t\t\t\t<div class=\"col-lg-9 summary-table-div\">
  2471. \t\t\t\t\t\t<div class=\"tab-content\">
  2472. \t\t\t\t\t\t\t<div class=\"tab-pane active\" id=\"shopping-cart\" role=\"tabpanel\">
  2473. \t\t\t\t\t\t\t\t<div class=\"cart-box\">
  2474. \t\t\t\t\t\t\t\t\t<div class=\"table-responsive\">
  2475. \t\t\t\t\t\t\t\t\t\t<table class=\"table\">
  2476. \t\t\t\t\t\t\t\t\t\t\t<thead>
  2477. \t\t\t\t\t\t\t\t\t\t\t\t<tr>
  2478. \t\t\t\t\t\t\t\t\t\t\t\t\t<th>
  2479. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<span>{{'item'|trans}}</span><!--span><a href=\"javascript:void(0);\">Select all</a></span--></th>
  2480. \t\t\t\t\t\t\t\t\t\t\t\t\t<th>{{'Description'|trans}}</th>
  2481. \t\t\t\t\t\t\t\t\t\t\t\t\t<th>{{'Quantity'|trans}}</th>
  2482. \t\t\t\t\t\t\t\t\t\t\t\t\t{# <th>{{'Points'|trans}}</th> #}
  2483. \t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"d-none\">{{'Recommended Price'|trans}}</th>
  2484. \t\t\t\t\t\t\t\t\t\t\t\t\t<th>{{'Action'|trans}}</th>
  2485. \t\t\t\t\t\t\t\t\t\t\t\t\t<th></th>
  2486. \t\t\t\t\t\t\t\t\t\t\t\t</tr>
  2487. \t\t\t\t\t\t\t\t\t\t\t</thead>
  2488. \t\t\t\t\t\t\t\t\t\t\t<tbody>
  2489. \t\t\t\t\t\t\t\t\t\t\t\t{% for cart in cartItems %}
  2490. \t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
  2491. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>
  2492. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"shipping-product\">
  2493. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"shipping-product-checkbox\">
  2494. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input class=\"styled-checkbox1\" id=\"{{cart['prod'].id}}\" type=\"checkbox\" value=\"{{cart['prod'].id}}\" {{ (cart['prod'].id == cart.quote) ? 'disabled' : '' }}/>
  2495. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"{{cart['prod'].id}}\"></label>
  2496. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2497. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"shipping-product-image\">
  2498. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<figure class=\"shipping-product-image-img\">
  2499. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img src=\"{{cart['prod'].attrimage.items[0]}}\" alt=\"{{cart['prod'].name}}\">
  2500. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</figure>
  2501. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2502. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2503. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
  2504. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>
  2505. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"slide-info\">
  2506. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if cart['prod'].region[0] is defined %}
  2507. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h5 class=\"title\">{{cart['prod'].name}}</h5>
  2508. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"kg\">{{cart['prod'].size}}</div>
  2509. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"kg\">{{'Product Code'|trans}}:
  2510. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{cart['prod'].code}}</div>
  2511. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"kg d-none\">{{'Unit Price '|trans}}</div>
  2512. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"price d-none\">{{cart['prod'].region[0].price.data}}
  2513. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{cart['prod'].region[0].currency_symbol.data|trans}}</div>
  2514. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"award d-none\">
  2515. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set points = (((cart['prod'].region[0].price.data)/100)*10)|round %}
  2516. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"far fa-star \"></i>
  2517. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{'Earn'|trans}}
  2518. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"grpt\">{{ points }}</i>
  2519. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{'Rewards Points'|trans}}
  2520. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2521. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  2522. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2523. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
  2524. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>
  2525. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"order-count-number\">
  2526. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"minus\" data-additem=\"{{cart['prod'].id}}\"><img src=\"/static/assets/images/icon-minus.svg\" alt=\"icon-minus\"></span>
  2527. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input class=\"count\" type=\"text\" value=\"{{cart['qty']}}\">
  2528. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"plus\" data-additem=\"{{cart['prod'].id}}\"><img src=\"/static/assets/images/icon-plus.svg\" alt=\"icon-plus\"></span>
  2529. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2530. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
  2531. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"d-none\">
  2532. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"points-box \">
  2533. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{ points * cart['qty'] }}
  2534. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tpt
  2535. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2536. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
  2537. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"d-none\">
  2538. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"item-price \">
  2539. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if cart['prod'].region[0] is defined %}
  2540. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"item-curr\">{{cart['prod'].region[0].currency_symbol.data|trans}}</div>
  2541. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"item-price-change\">{{cart['prod'].region[0].price.data * cart['qty']}}
  2542. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2543. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  2544. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2545. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"subTotal d-none\">
  2546. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if cart['prod'].region[0] is defined %}
  2547. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{cart['prod'].region[0].price.data * cart['qty']}}
  2548. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  2549. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2550. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
  2551. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{# <td>
  2552. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\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\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t                            
  2561. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t                                 <a href=\"javascript:void(0)\" data-prodId=\"{{cart['prod'].id}}\" class=\"btn btn-custom btn-green btn-quote\">Get a quote</a>
  2562. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\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. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img src=\"/static/assets/images/dustbin.svg\" alt=\"dustbin\">
  2587. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2588. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
  2589. \t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  2590. \t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
  2591. \t\t\t\t\t\t\t\t\t\t\t</tbody>
  2592. \t\t\t\t\t\t\t\t\t\t</table>
  2593. \t\t\t\t\t\t\t\t\t</div>
  2594. \t\t\t\t\t\t\t\t\t<div class=\"table-quote-box\">
  2595. \t\t\t\t\t\t\t\t\t\t<div class=\"table-all-quote\">
  2596. \t\t\t\t\t\t\t\t\t\t\t<div
  2597. \t\t\t\t\t\t\t\t\t\t\t\tclass=\"btn-holder\"><!--a href=\"javascript:void(0)\" class=\"btn btn-custom btn-green\">Add quote </a-->
  2598. \t\t\t\t\t\t\t\t\t\t\t</div>
  2599. \t\t\t\t\t\t\t\t\t\t\t{# <div class=\"quote-msg quote-all\">
  2600. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t                        Sent to your distributor
  2601. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t                      </div> #}
  2602. \t\t\t\t\t\t\t\t\t\t</div>
  2603. \t\t\t\t\t\t\t\t\t\t<div class=\"del-box\">
  2604. \t\t\t\t\t\t\t\t\t\t\t<div class=\"del-box-content\">
  2605. \t\t\t\t\t\t\t\t\t\t\t\t{{'Remove all '|trans}}
  2606. \t\t\t\t\t\t\t\t\t\t\t</div>
  2607. \t\t\t\t\t\t\t\t\t\t\t<div class=\"del-box-img\">
  2608. \t\t\t\t\t\t\t\t\t\t\t\t<img src=\"/static/assets/images/dustbin.svg\" alt=\"dustbin\" class=\"del-box-img-all\">
  2609. \t\t\t\t\t\t\t\t\t\t\t</div>
  2610. \t\t\t\t\t\t\t\t\t\t</div>
  2611. \t\t\t\t\t\t\t\t\t</div>
  2612. \t\t\t\t\t\t\t\t</div>
  2613. \t\t\t\t\t\t\t\t<div class=\"discount-box d-none\">
  2614. \t\t\t\t\t\t\t\t\t<div class=\"discount-box-coupons\">
  2615. \t\t\t\t\t\t\t\t\t\t<div class=\"select-holder\">
  2616. \t\t\t\t\t\t\t\t\t\t\t<div class=\"custom-input\">
  2617. \t\t\t\t\t\t\t\t\t\t\t\t<input id=\"couponno\" class=\"form-control\" data-href=\"apply\" placeholder=\"{{'Enter discount code here '|trans}}\"/>
  2618. \t\t\t\t\t\t\t\t\t\t\t</div>
  2619. \t\t\t\t\t\t\t\t\t\t</div>
  2620. \t\t\t\t\t\t\t\t\t\t<div class=\"btn-holder\">
  2621. \t\t\t\t\t\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"btn btn-custom btn-green apply_vouch\">{{'APPLY CODE '|trans}}</a>
  2622. \t\t\t\t\t\t\t\t\t\t</div>
  2623. \t\t\t\t\t\t\t\t\t</div>
  2624. \t\t\t\t\t\t\t\t\t<div class=\"code-hint d-none\">
  2625. \t\t\t\t\t\t\t\t\t\t<ul class=\"list-unstyled recipe-info\">
  2626. \t\t\t\t\t\t\t\t\t\t\t<li class=\"info-icon\">{{'What is a discount code, how can you get one? '|trans}}</li>
  2627. \t\t\t\t\t\t\t\t\t\t</ul>
  2628. \t\t\t\t\t\t\t\t\t</div>
  2629. \t\t\t\t\t\t\t\t\t<div class=\"discount_coupon_html\"></div>
  2630. \t\t\t\t\t\t\t\t</div>
  2631. \t\t\t\t\t\t\t\t<div class=\"checkout-box\">
  2632. \t\t\t\t\t\t\t\t\t<div class=\"btn-holder\">
  2633. \t\t\t\t\t\t\t\t\t\t<button data-toggle=\"tab\" data-href=\"#shipping\" role=\"tab\" class=\"btn btn-custom btn-green get-all-quote\">{{'Next'|trans}}</button>
  2634. \t\t\t\t\t\t\t\t\t\t{# <button data-toggle=\"tab\" data-href=\"place-order\" role=\"tab\" class=\"btn btn-custom btn-success\"  id=\"placeorder\">Place Order</button> #}
  2635. \t\t\t\t\t\t\t\t\t\t<a href=\"/{{app.request.locale}}/products\" class=\"btn btn-custom btn-green custom-disabled\">{{'Continue Shopping'|trans}}</a>
  2636. \t\t\t\t\t\t\t\t\t</div>
  2637. \t\t\t\t\t\t\t\t</div>
  2638. \t\t\t\t\t\t\t</div>
  2639. \t\t\t\t\t\t\t<div class=\"tab-pane\" id=\"shipping\" role=\"tabpanel\">
  2640. \t\t\t\t\t\t\t\t<form id=\"customerConfirm\" name=\"customerConfirm\">
  2641. \t\t\t\t\t\t\t\t\t<div class=\"shipping-form\">
  2642. \t\t\t\t\t\t\t\t\t\t<div class=\"shipping-form-heading\">
  2643. \t\t\t\t\t\t\t\t\t\t\t<h2>My Details</h2>
  2644. \t\t\t\t\t\t\t\t\t\t</div>
  2645. \t\t\t\t\t\t\t\t\t\t<div class=\"shipping-form-box\">
  2646. \t\t\t\t\t\t\t\t\t\t\t<div class=\"container-fluid\">
  2647. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"row\">
  2648. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-lg-6\">
  2649. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"select-holder\">
  2650. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"firstname\">First Name<span>*</span>
  2651. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</label>
  2652. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"custom-input\">
  2653. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"firstname\" name=\"firstname\" class=\"form-control required\" value=\"{{user_data.firstname}}\" placeholder=\"First Name\" required/>
  2654. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2655. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2656. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2657. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-lg-6\">
  2658. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"select-holder\">
  2659. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"lastname\">Last Name<span>*</span>
  2660. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</label>
  2661. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"custom-input\">
  2662. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"lastname\" name=\"lastname\" class=\"form-control required\" value=\"{{user_data.lastname}}\" placeholder=\"Last Name\" required/>
  2663. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2664. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2665. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2666. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-lg-6\">
  2667. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"select-holder\">
  2668. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"email\">Email Address<span>*</span>
  2669. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</label>
  2670. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"custom-input\">
  2671. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"email\" name=\"email\" class=\"form-control required\" value=\"{{user_data.email}}\" placeholder=\"Email Address\" required/>
  2672. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2673. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2674. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2675. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-lg-6\">
  2676. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"select-holder\">
  2677. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"mobile\">Mobile<span>*</span>
  2678. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</label>
  2679. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"custom-input\">
  2680. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"mobile\" name=\"mobile\" class=\"form-control required\" value=\"{{user_data.mobilenumber}}\" placeholder=\"Mobile\" required/>
  2681. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2682. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2683. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2684. \t\t\t\t\t\t\t\t\t\t\t\t\t{# <div class=\"col-lg-6\">
  2685. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"select-holder\">
  2686. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"country\">Country<span>*</span>
  2687. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</label>
  2688. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"custom-dropdown\">
  2689. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<select id=\"country\" name=\"country\" class=\"form-control required\" required>
  2690. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"\">Country</option>
  2691. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\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t\t\t\t\t\t\t\t\t\t</div>
  2696. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2697. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div> #}
  2698. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-lg-6\">
  2699. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"select-holder\">
  2700. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"country\">Country<span>*</span>
  2701. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</label>
  2702. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</label>
  2703. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"custom-input\">
  2704. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"addressline1\" name=\"addressline1\" class=\"form-control required\" value=\"{{user_data.address1}}\" placeholder=\"Country\" required/>
  2705. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2706. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2707. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  2708. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-lg-6\">
  2709. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"select-holder\">
  2710. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"towncity\">Town/City<span>*</span>
  2711. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</label>
  2712. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div
  2713. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"custom-input\">
  2714. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{# <input id=\"towncity\" name=\"towncity\" class=\"form-control required\" value=\"{{user_data.city}}\" placeholder=\"Town/City\" required/> #}
  2715. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"addressline1\" name=\"towncity\" class=\"form-control required\" value=\"{{user_data.address2}}\" placeholder=\"Town/City\" required/>
  2716. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2717. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2718. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  2719. \t\t\t\t\t\t\t\t\t\t\t</div>
  2720. \t\t\t\t\t\t\t\t\t\t</div>
  2721. \t\t\t\t\t\t\t\t\t</div>
  2722. \t\t\t\t\t\t\t\t\t<div class=\"shipping-form-heading mt-5 d-none\">
  2723. \t\t\t\t\t\t\t\t\t\t<h2>Delivery Address</h2>
  2724. \t\t\t\t\t\t\t\t\t</div>
  2725. \t\t\t\t\t\t\t\t\t<div class=\"shipping-form-box d-none\">
  2726. \t\t\t\t\t\t\t\t\t\t<div class=\"container-fluid\">
  2727. \t\t\t\t\t\t\t\t\t\t\t<div class=\"row\">
  2728. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-lg-12\">
  2729. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"select-holder\">
  2730. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"businessname\">Business Name<span>*</span>
  2731. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</label>
  2732. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"custom-input\">
  2733. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"businessname\" name=\"businessname\" class=\"form-control required\" value=\"{{user_data.business_type}}\" placeholder=\"Business Name\" required/>
  2734. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2735. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2736. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  2737. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-lg-6\">
  2738. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"select-holder\">
  2739. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"addressline1\">Address Line 1<span>*</span>
  2740. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</label>
  2741. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"custom-input\">
  2742. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"addressline1\" name=\"addressline1\" class=\"form-control required\" value=\"{{user_data.address1}}\" placeholder=\"Address Line 1\" required/>
  2743. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2744. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2745. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  2746. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-lg-6\">
  2747. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"select-holder\">
  2748. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"addressline2\">Address Line 2</label>
  2749. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"custom-input\">
  2750. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"addressline2\" class=\"form-control\" value=\"{{user_data.address2 }}\" placeholder=\"Address Line 2\"/>
  2751. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2752. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2753. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  2754. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-lg-6\">
  2755. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"select-holder\">
  2756. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"countrydelivary\">Country<span>*</span>
  2757. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</label>
  2758. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"custom-input\">
  2759. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"country2\" class=\"form-control\" value=\"Saudi Arabia\" placeholder=\"Country\" required disabled/>
  2760. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{# <select id=\"country2\" name=\"country2\" class=\"form-control required\" required disabled> #}
  2761. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{# <option value=\"\">Country</option> #}
  2762. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{# {% for cc, country in countryDD %}
  2763. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if cc == 'SA' %}
  2764. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"{{cc}}\" selected disabled readonly>{{country}}</option>
  2765. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %} #}
  2766. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{# <option value=\"{{cc}}\" {{(user_data.country == country)?'selected':''}}>{{country}}</option> #}
  2767. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{# {% endfor %}
  2768. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</select> #}
  2769. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2770. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2771. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  2772. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-lg-6\">
  2773. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"select-holder\">
  2774. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"towncitydelivary\">Town/City<span>*</span>
  2775. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</label>
  2776. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div
  2777. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"custom-dropdown\">
  2778. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{# <input id=\"towncity2\" name=\"towncity2\" class=\"form-control required\" value=\"{{user_data.city }}\" placeholder=\"Town/City\" required/> #}
  2779. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<select id=\"towncity2\" name=\"towncity2\" class=\"form-control required\" required>
  2780. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"\" selected>{{\"Please Select City\" | trans}}</option>
  2781. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"Riyadh\">{{ \"Riyadh\" | trans }}</option>
  2782. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"Jeddah\">{{ \"Jeddah\" | trans }}</option>
  2783. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"Mecca\">{{ \"Mecca\" | trans }}</option>
  2784. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"Medina\">{{ \"Medina\" | trans }}</option>
  2785. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"Dammam\">{{ \"Dammam\" | trans }}</option>
  2786. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"Al Khobar\">{{ \"Al Khobar\" | trans }}</option>
  2787. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"Dhahran\">{{ \"Dhahran\" | trans }}</option>
  2788. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"Jubail\">{{ \"Jubail\" | trans }}</option>
  2789. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"Abha\">{{ \"Abha\" | trans }}</option>
  2790. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"Taif\">{{ \"Taif\" | trans }}</option>
  2791. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"Tabuk\">{{ \"Tabuk\" | trans }}</option>
  2792. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"Hail\">{{ \"Hail\" | trans }}</option>
  2793. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"Buraidah\">{{ \"Buraidah\" | trans }}</option>
  2794. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"Najran\">{{ \"Najran\" | trans }}</option>
  2795. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"Jizan\">{{ \"Jizan\" | trans }}</option>
  2796. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"Khamis Mushait\">{{ \"Khamis Mushait\" | trans }}</option>
  2797. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"Yanbu\">{{ \"Yanbu\" | trans }}</option>
  2798. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"Al Ahsa\">{{ \"Al Ahsa\" | trans }}</option>
  2799. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"Qatif\">{{ \"Qatif\" | trans }}</option>
  2800. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"Rabigh\">{{ \"Rabigh\" | trans }}</option>
  2801. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</select>
  2802. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2803. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2804. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  2805. \t\t\t\t\t\t\t\t\t\t\t</div>
  2806. \t\t\t\t\t\t\t\t\t\t</div>
  2807. \t\t\t\t\t\t\t\t\t</div>
  2808. \t\t\t\t\t\t\t\t\t<div class=\"shipping-form-heading mt-5\">
  2809. \t\t\t\t\t\t\t\t\t\t<h2>Add notes/instructions</h2>
  2810. \t\t\t\t\t\t\t\t\t</div>
  2811. \t\t\t\t\t\t\t\t\t<div class=\"shipping-form-box\">
  2812. \t\t\t\t\t\t\t\t\t\t<div class=\"container-fluid\">
  2813. \t\t\t\t\t\t\t\t\t\t\t<div class=\"row\">
  2814. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-lg-12\">
  2815. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"select-holder\">
  2816. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"custom-textarea\">
  2817. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<textarea class=\"form-control\" id=\"extranotes\" rows=\"5\"></textarea>
  2818. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2819. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2820. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  2821. \t\t\t\t\t\t\t\t\t\t\t</div>
  2822. \t\t\t\t\t\t\t\t\t\t</div>
  2823. \t\t\t\t\t\t\t\t\t</div>
  2824. \t\t\t\t\t\t\t\t</div>
  2825. \t\t\t\t\t\t\t\t<div class=\"checkout-box\">
  2826. \t\t\t\t\t\t\t\t\t<div class=\"btn-holder\">
  2827. \t\t\t\t\t\t\t\t\t\t<button data-toggle=\"tab\" data-href=\"place-order\" role=\"tab\" class=\"btn btn-custom btn-green d-none\" id=\"placeorder\">Place Order</button>
  2828. \t\t\t\t\t\t\t\t\t\t<button data-toggle=\"tab\" data-href=\"#confirmation\" role=\"tab\" class=\"btn btn-custom btn-secondary\" id=\"cusaddress\">Get Quote</button>
  2829. \t\t\t\t\t\t\t\t\t\t<a data-toggle=\"tab\" href=\"#shopping-cart\" role=\"tab\" class=\"btn btn-custom btn-secondary custom-disabled btn-prev\">Previous</a>
  2830. \t\t\t\t\t\t\t\t\t</div>
  2831. \t\t\t\t\t\t\t\t</div>
  2832. \t\t\t\t\t\t\t</form>
  2833. \t\t\t\t\t\t</div>
  2834. \t\t\t\t\t\t<div class=\"tab-pane d-none\" id=\"payment-method\" role=\"tabpanel\">
  2835. \t\t\t\t\t\t\t<form action=\"\">
  2836. \t\t\t\t\t\t\t\t<div class=\"shipping-form\">
  2837. \t\t\t\t\t\t\t\t\t<div class=\"shipping-form-heading\">
  2838. \t\t\t\t\t\t\t\t\t\t<h2>Payment Method</h2>
  2839. \t\t\t\t\t\t\t\t\t</div>
  2840. \t\t\t\t\t\t\t\t\t<div class=\"shipping-form-box\">
  2841. \t\t\t\t\t\t\t\t\t\t<div class=\"container-fluid\">
  2842. \t\t\t\t\t\t\t\t\t\t\t<div class=\"row\">
  2843. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-lg-7\">
  2844. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"group-radio\">
  2845. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"radio-button form-check\">
  2846. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input class=\"form-check-input\" type=\"radio\" name=\"exampleRadios\" id=\"cashondelivery\" value=\"option2\">
  2847. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"form-check-label\" for=\"cashondelivery\">Cash on delivery</label>
  2848. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2849. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"radio-button form-check\">
  2850. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input class=\"form-check-input\" type=\"radio\" name=\"exampleRadios\" id=\"creditdebit\" value=\"option1\" checked=\"\">
  2851. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"form-check-label\" for=\"creditdebit\">Credit / Debit Card</label>
  2852. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2853. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2854. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  2855. \t\t\t\t\t\t\t\t\t\t\t</div>
  2856. \t\t\t\t\t\t\t\t\t\t\t<div class=\"row payhead\">
  2857. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-lg-7\">
  2858. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sub-heading\">
  2859. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<h6>Pay with any Credit or Debit Card</h6>
  2860. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2861. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  2862. \t\t\t\t\t\t\t\t\t\t\t</div>
  2863. \t\t\t\t\t\t\t\t\t\t\t<div class=\"row cardnumber\">
  2864. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-lg-7\">
  2865. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"select-holder\">
  2866. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"cardnumber\">Card Number<span>*</span>
  2867. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</label>
  2868. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"custom-input\">
  2869. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"cardnumber\" class=\"form-control\" placeholder=\"Card Number\"/>
  2870. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2871. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2872. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  2873. \t\t\t\t\t\t\t\t\t\t\t</div>
  2874. \t\t\t\t\t\t\t\t\t\t\t<div class=\"row cardholder\">
  2875. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-lg-7\">
  2876. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"select-holder\">
  2877. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"cardholder\">Card Holder Name<span>*</span>
  2878. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</label>
  2879. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"custom-input\">
  2880. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"cardholder\" class=\"form-control\" placeholder=\"Card Holder Name\"/>
  2881. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2882. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2883. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  2884. \t\t\t\t\t\t\t\t\t\t\t</div>
  2885. \t\t\t\t\t\t\t\t\t\t\t<div class=\"row cardnumber\">
  2886. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-9 col-lg-5\">
  2887. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"select-holder\">
  2888. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"cardnumber\">Card Number<span>*</span>
  2889. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</label>
  2890. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"custom-input\">
  2891. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"cardnumber\" class=\"form-control\" placeholder=\"Card Number\"/>
  2892. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2893. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2894. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  2895. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-3 col-lg-2\">
  2896. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"select-holder full-width\">
  2897. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"custom-input\">
  2898. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"cardnumber\" class=\"form-control\" placeholder=\"Card Number\"/>
  2899. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2900. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2901. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  2902. \t\t\t\t\t\t\t\t\t\t\t</div>
  2903. \t\t\t\t\t\t\t\t\t\t\t<div class=\"row cardholder\">
  2904. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-10 col-lg-4\">
  2905. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"select-holder\">
  2906. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"cardholder\">Card Holder Name<span>*</span>
  2907. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</label>
  2908. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"custom-input\">
  2909. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"cardholder\" class=\"form-control\" placeholder=\"Card Holder Name\"/>
  2910. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2911. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2912. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  2913. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-2 col-lg-2\">
  2914. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"image-holder\">
  2915. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<img src=\"/static/assets/images/card.png\" alt=\"card\">
  2916. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2917. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  2918. \t\t\t\t\t\t\t\t\t\t\t</div>
  2919. \t\t\t\t\t\t\t\t\t\t</div>
  2920. \t\t\t\t\t\t\t\t\t</div>
  2921. \t\t\t\t\t\t\t\t</div>
  2922. \t\t\t\t\t\t\t\t<div class=\"checkout-box\">
  2923. \t\t\t\t\t\t\t\t\t<div
  2924. \t\t\t\t\t\t\t\t\t\tclass=\"btn-holder\">
  2925. \t\t\t\t\t\t\t\t\t\t{# <a href=\"javascript:void(0)\" class=\"btn btn-custom btn-secondary\">Place Order</a> #}
  2926. \t\t\t\t\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"btn btn-custom btn-secondary custom-disabled\">Previous</a>
  2927. \t\t\t\t\t\t\t\t\t</div>
  2928. \t\t\t\t\t\t\t\t</div>
  2929. \t\t\t\t\t\t\t</form>
  2930. \t\t\t\t\t\t</div>
  2931. \t\t\t\t\t\t<div class=\"tab-pane\" id=\"confirmation\" role=\"tabpanel\">
  2932. \t\t\t\t\t\t\t<div id=\"myDiv\">
  2933. \t\t\t\t\t\t\t\t<img id=\"loading-image\" src=\"/static/assets/images/loader.gif\" class=\"d-none\" alt=\"loader\"/>
  2934. \t\t\t\t\t\t\t</div>
  2935. \t\t\t\t\t\t\t<div class=\"shipping-form\">
  2936. \t\t\t\t\t\t\t\t<div class=\"shipping-form-heading\">
  2937. \t\t\t\t\t\t\t\t\t<h2>Request
  2938. \t\t\t\t\t\t\t\t\t\t<span class=\"order_status\"></span>
  2939. \t\t\t\t\t\t\t\t\t\tConfirmation</h2>
  2940. \t\t\t\t\t\t\t\t</div>
  2941. \t\t\t\t\t\t\t\t<div class=\"shipping-message\">
  2942. \t\t\t\t\t\t\t\t\t<div class=\"thank-you-message\">
  2943. \t\t\t\t\t\t\t\t\t\t<p>
  2944. \t\t\t\t\t\t\t\t\t\t\tThank you, your
  2945. \t\t\t\t\t\t\t\t\t\t\t<span class=\"order_status\"></span>
  2946. \t\t\t\t\t\t\t\t\t\t\trequest has been received!<br>
  2947. \t\t\t\t\t\t\t\t\t\t\tYour distributor will get in touch with you soon.
  2948. \t\t\t\t\t\t\t\t\t\t</p><br>
  2949. \t\t\t\t\t\t\t\t\t\t<span>
  2950. \t\t\t\t\t\t\t\t\t\t\tYour
  2951. \t\t\t\t\t\t\t\t\t\t\t<span class=\"order_status\"></span>
  2952. \t\t\t\t\t\t\t\t\t\t\tNumber is
  2953. \t\t\t\t\t\t\t\t\t\t\t<span id=\"coid\"></span><br>
  2954. \t\t\t\t\t\t\t\t\t\t</span><br>
  2955. \t\t\t\t\t\t\t\t\t\t<span>
  2956. \t\t\t\t\t\t\t\t\t\t\tYour distributor will respond to your request within 48hrs.
  2957. \t\t\t\t\t\t\t\t\t\t\t<br>
  2958. \t\t\t\t\t\t\t\t\t\t\tFor any further information/enquiry please feel free to contact us @ +966537310415
  2959. \t\t\t\t\t\t\t\t\t\t</span>
  2960. \t\t\t\t\t\t\t\t\t</div>
  2961. \t\t\t\t\t\t\t\t\t<div class=\"order-no\">
  2962. \t\t\t\t\t\t\t\t\t\t<ul
  2963. \t\t\t\t\t\t\t\t\t\t\tclass=\"list-unstyled social-info\">{# <li class=\"download btn btn-custom btn-green\" id=\"download\">Download</li> #}
  2964. \t\t\t\t\t\t\t\t\t\t</ul>
  2965. \t\t\t\t\t\t\t\t\t</div>
  2966. \t\t\t\t\t\t\t\t\t<div class=\"deliver-time\">{# <p>We will deliver your order within 48hrs.</p> #}
  2967. \t\t\t\t\t\t\t\t\t\t{# <p>Make sure you have cash at hand if you selected the Cash on delivery option.</p> #}
  2968. \t\t\t\t\t\t\t\t\t</div>
  2969. \t\t\t\t\t\t\t\t</div>
  2970. \t\t\t\t\t\t\t</div>
  2971. \t\t\t\t\t\t\t<div class=\"checkout-box\">
  2972. \t\t\t\t\t\t\t\t<div class=\"btn-holder\">
  2973. \t\t\t\t\t\t\t\t\t<a href=\"/{{app.request.locale}}/products\" class=\"btn btn-custom btn-secondary\">{{'Continue Shopping'|trans}}</a>
  2974. \t\t\t\t\t\t\t\t</div>
  2975. \t\t\t\t\t\t\t</div>
  2976. \t\t\t\t\t\t</div>
  2977. \t\t\t\t\t</div>
  2978. \t\t\t\t\t<div class=\"helpout-box\">
  2979. \t\t\t\t\t\t<div class=\"helpout-box-head\">
  2980. \t\t\t\t\t\t\t<p>{{'Need help'|trans}}</p>
  2981. \t\t\t\t\t\t</div>
  2982. \t\t\t\t\t\t<div class=\"helpout-box-content\">
  2983. \t\t\t\t\t\t\t<div class=\"helpout-box-content-text\">
  2984. \t\t\t\t\t\t\t\t<p>{{'please contact us: '|trans}}</p>
  2985. \t\t\t\t\t\t\t\t<p>{{'call us'|trans}}
  2986. \t\t\t\t\t\t\t\t\t@ +966537310415</p>
  2987. \t\t\t\t\t\t\t\t<p>{{'email us'|trans}}
  2988. \t\t\t\t\t\t\t\t\t@ gcs@goody.com.sa</p>
  2989. \t\t\t\t\t\t\t</div>
  2990. \t\t\t\t\t\t\t{# <div class=\"helpout-box-content-img\">
  2991. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t                  <img src=\"/static//static/assets/images/payment.png\" alt=\"payment\">
  2992. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t                </div> #}
  2993. \t\t\t\t\t\t</div>
  2994. \t\t\t\t\t</div>
  2995. \t\t\t\t</div>
  2996. \t\t\t\t<div class=\"col-lg-3 d-none\">
  2997. \t\t\t\t\t<div class=\"summary-card\">
  2998. \t\t\t\t\t\t<div class=\"shop-heading\">
  2999. \t\t\t\t\t\t\t<h6>{{'shopping SUMMARY'|trans}}</h6>
  3000. \t\t\t\t\t\t</div>
  3001. \t\t\t\t\t\t<div class=\"summary-card-sub-total\">
  3002. \t\t\t\t\t\t\t<span>{{'Subtotal'|trans}}</span>
  3003. \t\t\t\t\t\t\t<span id=\"subTT\"></span>
  3004. \t\t\t\t\t\t</div>
  3005. \t\t\t\t\t\t<div class=\"summary-card-sub-total\">
  3006. \t\t\t\t\t\t\t<span>{{'Shipping'|trans}}</span>
  3007. \t\t\t\t\t\t\t<span>{{'Free'|trans}}</span>
  3008. \t\t\t\t\t\t</div>
  3009. \t\t\t\t\t\t<div class=\"summary-card-sub-total\">
  3010. \t\t\t\t\t\t\t<span>{{'VAT'|trans}}
  3011. \t\t\t\t\t\t\t\t(<var id=\"vtr\">{{tax}}</var>%)</span>
  3012. \t\t\t\t\t\t\t<span id=\"vat\"></span>
  3013. \t\t\t\t\t\t</div>
  3014. \t\t\t\t\t\t{# <div class=\"summary-card-sub-total d-none\">
  3015. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t                <span>Discount (<var id=\"dscode\">{{dscode[0].ds_percent}}</var>%)</span>
  3016. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t                <span id=\"dc_span\">NA</span>
  3017. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t              </div> #}
  3018. \t\t\t\t\t\t<div class=\"summary-card-total\">
  3019. \t\t\t\t\t\t\t<span>{{'Total'|trans}}</span>
  3020. \t\t\t\t\t\t\t<span>
  3021. \t\t\t\t\t\t\t\t<span class=\"discounted-price d-none\"></span>
  3022. \t\t\t\t\t\t\t\tSAR
  3023. \t\t\t\t\t\t\t\t<span id=\"ctotal\"></span>
  3024. \t\t\t\t\t\t\t</span>
  3025. \t\t\t\t\t\t</div>
  3026. \t\t\t\t\t\t<div class=\"summary-card-sub-total summary-points d-none\">
  3027. \t\t\t\t\t\t\t<span>{{'POINTS'|trans}}</span>
  3028. \t\t\t\t\t\t\t<span id=\"totPT\"></span>
  3029. \t\t\t\t\t\t</div>
  3030. \t\t\t\t\t</div>
  3031. \t\t\t\t</div>
  3032. \t\t\t</div>
  3033. \t\t</section>
  3034. \t\t<!-- End stepper -->
  3035. \t</div>
  3036. \t<script>
  3037. \t\t\$(document).ready(function () {
  3038. \$(\"#customerConfirm\").validate({
  3039. errorClass: \"error-class\",
  3040. validClass: \"valid-class\",
  3041. rules: {
  3042. mobile: {
  3043. required: true,
  3044. // email: true
  3045. },
  3046. country: {
  3047. required: true,
  3048. // minlength: 5
  3049. },
  3050. towncity: {
  3051. required: true,
  3052. minlength: 3
  3053. },
  3054. addressline1: {
  3055. required: true,
  3056. minlength: 3
  3057. }
  3058. }
  3059. });
  3060. \$('.get-all-quote').on('click', function (e) {
  3061. e.preventDefault();
  3062. e.stopPropagation();
  3063. var href = \$(this).attr(\"data-href\");
  3064. var vid = \$('#distributorname').find(\":selected\").val();
  3065. \$('.update-btn.distro').addClass('d-none');
  3066. \$('.nav-link.shop').removeClass('active');
  3067. \$(\".nav-link.ship\").addClass('active');
  3068. chkArray = []
  3069. countArr = [];
  3070. priceArr = [];
  3071. pointArr = [];
  3072. currencyArr = [];
  3073. \$('input:checkbox').not(\":disabled\").attr('checked', 'checked');
  3074. \$(\".styled-checkbox1:checkbox:checked\").each(function () {
  3075. chkArray.push(\$(this).val());
  3076. });
  3077. \$(\".count\").each(function () {
  3078. countArr.push(\$(this).val());
  3079. });
  3080. \$(\".item-price-change\").each(function () {
  3081. priceArr.push(\$(this).text());
  3082. });
  3083. \$(\".points-box\").each(function () {
  3084. pointArr.push(\$(this).text().trim());
  3085. });
  3086. \$(\".item-curr\").each(function () {
  3087. currencyArr.push(\$(this).text().trim());
  3088. });
  3089. var dc_span = \$(\"#dc_span\").text();
  3090. // if (vid) {
  3091. \$.ajax({
  3092. url: '/distroMailAll',
  3093. type: \"post\",
  3094. dataType: 'json',
  3095. data: {
  3096. pids: chkArray,
  3097. vid: vid,
  3098. counts: countArr,
  3099. prices: priceArr,
  3100. points: pointArr,
  3101. currencies: currencyArr,
  3102. dc_span: dc_span
  3103. },
  3104. success: function (data) {
  3105. \$('#countrylocation').prop(\"disabled\", \"disabled\");
  3106. \$('#distributorname').prop(\"disabled\", \"disabled\");
  3107. \$('li > .nav-link a[href=\"#' + href + '\"]').tab('show');
  3108. \$('#shopping-cart').removeClass('active');
  3109. \$('#shipping').addClass('active');
  3110. \$(\"ol.breadcrumb\").append('<li class=\"breadcrumb-item\"><a href=\"javascript:void(0);\">SHIPPING</a></li>');
  3111. }
  3112. });
  3113. // } else {
  3114. // e.stopPropagation();
  3115. // alert(\"Select Distributor\");
  3116. // }
  3117. });
  3118. var allChecked = true;
  3119. \$(\".styled-checkbox1\").each(function (index, element) {
  3120. if (! element.checked && !\$(\".styled-checkbox1\").is(':disabled')) {
  3121. allChecked = false;
  3122. return false;
  3123. }
  3124. });
  3125. \$(\".styled-checkbox1\").prop('checked', true);
  3126. \$(\"#countrylocation\").on('change', function () {
  3127. var sel = \$('#countrylocation').find(\":selected\").val();
  3128. \$('#distributorname').empty();
  3129. \$.ajax({
  3130. url: \"/getVendorByCountry\",
  3131. type: \"post\",
  3132. dataType: 'json',
  3133. data: {
  3134. val: sel
  3135. },
  3136. success: function (result) {
  3137. if (result) {
  3138. \$('#distributorname').append('<option value=\"\">Distributor Name</option>');
  3139. \$('#distributorname').append('<option value=\"' + result.uid + '\">' + result.name + ' </option>');
  3140. }
  3141. }
  3142. });
  3143. });
  3144. \$(\"#distributorname\").on('change', function () {
  3145. var sel = \$('#distributorname').find(\":selected\").val();
  3146. console.log(sel);
  3147. if (sel) {
  3148. \$.ajax({
  3149. url: \"/getVendorNumber\",
  3150. type: \"post\",
  3151. dataType: 'json',
  3152. data: {
  3153. val: sel
  3154. },
  3155. success: function (result) {
  3156. if (result.ClientNo) {
  3157. \$('.get-all-quote').css(\"pointer-events\", \"auto\");
  3158. \$('#clientno').val(result.ClientNo);
  3159. }
  3160. }
  3161. });
  3162. } else {
  3163. \$('.get-all-quote').css(\"pointer-events\", \"none\");
  3164. alert(\"Distributor must be selected to process your request\");
  3165. }
  3166. });
  3167. \$(\".btn-quote\").click(function (e) {
  3168. e.stopPropagation()
  3169. pid = \$(this).attr(\"data-prodId\");
  3170. vid = \$('#distributorname').find(\":selected\").val();
  3171. if (vid) {
  3172. \$.ajax({
  3173. url: '/distroMail',
  3174. type: \"post\",
  3175. dataType: 'json',
  3176. data: {
  3177. pid: pid,
  3178. vid: vid
  3179. },
  3180. success: function (data) {
  3181. location.reload();
  3182. }
  3183. });
  3184. } else {
  3185. alert(\"Select Distributor\");
  3186. }
  3187. });
  3188. \$(\"#cashondelivery\").on('click', function () {
  3189. \$('.row.cardnumber').hide();
  3190. \$('.row.cardholder').hide();
  3191. \$('.row.cardnumber').hide();
  3192. \$('.row.cardholder').hide();
  3193. \$('.row.payhead').hide();
  3194. });
  3195. \$(\"#creditdebit\").on('click', function () {
  3196. \$('.row.cardnumber').show();
  3197. \$('.row.cardholder').show();
  3198. \$('.row.cardnumber').show();
  3199. \$('.row.cardholder').show();
  3200. \$('.row.payhead').show();
  3201. });
  3202. \$('#cusaddress,#placeorder').click(function (e) {
  3203. e.preventDefault();
  3204. e.stopPropagation();
  3205. var isOrder = false;
  3206. var href = \$(this).attr(\"data-href\");
  3207. console.log(href);
  3208. if (href == 'place-order') {
  3209. isOrder = true;
  3210. }
  3211. var firstname = \$(\"#firstname\").val();
  3212. var lastname = \$(\"#lastname\").val();
  3213. var email = \$(\"#email\").val();
  3214. var mobile = \$(\"#mobile\").val();
  3215. var country = \$(\"#country\").find(\":selected\").val();
  3216. var towncity = \$(\"#towncity\").val();
  3217. var businessname = \$(\"#businessname\").val();
  3218. var addressline1 = \$(\"#addressline1\").val();
  3219. var addressline2 = \$(\"#addressline2\").val();
  3220. var country2 = \$(\"#country2\").find(\":selected\").val();
  3221. var towncity2 = \$(\"#towncity2\").val();
  3222. var extranotes = \$(\"#extranotes\").val();
  3223. var ctotal = \$(\"#ctotal\").text();
  3224. var ptotal = \$(\"#totPT\").text();
  3225. \$('.nav-link.ship').removeClass('active');
  3226. \$('.nav-link.confirm').addClass('active');
  3227. var vid = \$('#distributorname').find(\":selected\").val();
  3228. chkArray = []
  3229. countArr = [];
  3230. \$('input:checkbox').not(\":disabled\").attr('checked', 'checked');
  3231. \$(\".styled-checkbox1:checkbox:checked\").each(function () {
  3232. chkArray.push(\$(this).val());
  3233. });
  3234. \$(\".count\").each(function () {
  3235. countArr.push(\$(this).val());
  3236. });
  3237. \$('#customerConfirm').valid();
  3238. if (\$(\"#customerConfirm\").valid()) {
  3239. \$(\"#loading-image\").show();
  3240. \$.ajax({
  3241. url: '/saveCustomAddress',
  3242. type: \"post\",
  3243. dataType: 'json',
  3244. data: {
  3245. firstname: firstname,
  3246. lastname: lastname,
  3247. email: email,
  3248. mobile: mobile,
  3249. country: country,
  3250. towncity: towncity,
  3251. businessname: businessname,
  3252. addressline1: addressline1,
  3253. addressline2: addressline2,
  3254. country2: country2,
  3255. towncity2: towncity2,
  3256. extranotes: extranotes,
  3257. pids: chkArray,
  3258. countArr: countArr,
  3259. vid: vid,
  3260. stot: ctotal,
  3261. ctot: ptotal,
  3262. isOrder: isOrder
  3263. },
  3264. completed: function (data) { // \$('#coid').text(data.orderId);
  3265. \$('.cart-box-icon-count').text(0);
  3266. },
  3267. success: function (data) {
  3268. \$('#coid').text(data.orderNumber);
  3269. \$('.order_status').each(function () {
  3270. \$(this).html(data.orderstatus);
  3271. });
  3272. // \$('#coid').text(data.orderId);
  3273. \$(\"#loading-image\").hide();
  3274. \$(\".distributor-panel\").addClass('d-none');
  3275. \$('.cart-box-icon-count').text(0);
  3276. \$('li > .nav-link a[href=\"#' + href + '\"]').tab('show');
  3277. \$('#confirmation').addClass('active');
  3278. \$('#shipping').removeClass('active');
  3279. \$('#clientno').val('');
  3280. \$('#countrylocation').prop('selectedIndex', 0);
  3281. \$('#distributorname').prop('selectedIndex', 0);
  3282. \$(\"ol.breadcrumb\").append('<li class=\"breadcrumb-item\"><a href=\"javascript:void(0);\">CONFIRMATION</a></li>');
  3283. }
  3284. });
  3285. }
  3286. // return false;
  3287. });
  3288. sumCart();
  3289. \$(\".dustbin-box\").on('click', function (e) {
  3290. e.stopPropagation()
  3291. pid = \$(this).attr(\"data-pid\");
  3292. var obj = \$(this);
  3293. if (confirm(\"Are you sure you want to delete this?\")) {
  3294. \$.ajax({
  3295. url: '/removeCartItem',
  3296. type: \"post\",
  3297. dataType: 'json',
  3298. data: {
  3299. pid: pid
  3300. },
  3301. success: function (data) {
  3302. \$(obj).closest(\"tr\").remove();
  3303. \$('.cart-box-icon-count').text(data);
  3304. sumCart();
  3305. }
  3306. });
  3307. } else {
  3308. return false;
  3309. }
  3310. });
  3311. \$(\".del-box-img-all\").on('click', function (e) {
  3312. e.stopPropagation()
  3313. if (confirm(\"Are you sure you want to delete this?\")) {
  3314. \$.ajax({
  3315. url: '/removeCartItemAll',
  3316. type: \"post\",
  3317. dataType: 'json',
  3318. success: function (data) {
  3319. location.reload();
  3320. }
  3321. });
  3322. } else {
  3323. return false;
  3324. }
  3325. });
  3326. \$('.plus').on('click', function () {
  3327. txt = \$(this).parent().parent().find('.count').val();
  3328. v = 0;
  3329. v = v + parseInt(txt);
  3330. var id = \$(this).attr('data-addItem');
  3331. price = \$(this).closest('td').siblings().find('.price').text();
  3332. subT = \$(this).closest('td').siblings().find('.subTotal').text();
  3333. ptb = \$(this).closest('td').siblings().find('.grpt').text();
  3334. ptT = parseInt(v) * parseInt(ptb);
  3335. \$(this).closest('td').siblings().find('.points-box').text(ptT);
  3336. priceSum = parseFloat(price) * parseFloat(v);
  3337. \$(this).closest('td').siblings().find('.item-price-change').text(priceSum);
  3338. \$(this).closest('td').siblings().find('.subTotal').text(priceSum);
  3339. \$.ajax({
  3340. url: '/addcart?id=' + id,
  3341. type: \"post\",
  3342. dataType: 'json',
  3343. success: function (data) {
  3344. \$('.cart-box-icon-count').text(data);
  3345. sumCart();
  3346. }
  3347. });
  3348. });
  3349. \$('.minus').on('click', function () {
  3350. txt = \$(this).parent().parent().find('.count').val();
  3351. console.log(\"curr_qutr = \" + txt);
  3352. v = 0;
  3353. v = v + parseInt(txt);
  3354. var id = \$(this).attr('data-addItem');
  3355. price = \$(this).closest('td').siblings().find('.price').text();
  3356. subT = \$(this).closest('td').siblings().find('.subTotal').text();
  3357. ptb = \$(this).closest('td').siblings().find('.grpt').text();
  3358. ptT = parseInt(v) * parseInt(ptb);
  3359. \$(this).closest('td').siblings().find('.points-box').text(ptT);
  3360. priceSum = parseFloat(price) * parseFloat(v);
  3361. \$(this).closest('td').siblings().find('.item-price-change').text(priceSum);
  3362. \$(this).closest('td').siblings().find('.subTotal').text(priceSum);
  3363. \$.ajax({
  3364. url: '/rmcart?id=' + id + '&qty=' + txt,
  3365. type: \"post\",
  3366. dataType: 'json',
  3367. success: function (data) {
  3368. \$('.cart-box-icon-count').text(data);
  3369. sumCart();
  3370. }
  3371. });
  3372. });
  3373. \$('.btn-prev').on('click', function () {
  3374. \$('.nav-link.ship').removeClass('active');
  3375. \$(\".nav-link.shop\").addClass('active');
  3376. \$(\".get-all-quote\").removeClass('active');
  3377. // \$(\".get-all-quote\").removeClass('active');
  3378. \$(this).removeClass('active');
  3379. });
  3380. \$('.apply_vouch').on('click', function () {
  3381. var vcode = \$(\"#couponno\").val();
  3382. var dataHref = \$(\"#couponno\").attr('data-href');
  3383. var dscode = \$('#dscode').text();
  3384. var subt = \$('#subTT').text();
  3385. var cds = Number(subt * (dscode / 100));
  3386. var vatv = Number(\$('#vtr').text() / 100);
  3387. var tot = Number(subt + vatv - cds);
  3388. var dataURL = '/apply_voucher';
  3389. if (dataHref == 'remove') {
  3390. var dataURL = '/remove_voucher';
  3391. }
  3392. console.log(dscode);
  3393. if (vcode) {
  3394. if (confirm(\"Are you sure you want to Apply this?\")) {
  3395. \$.ajax({
  3396. url: dataURL,
  3397. type: \"post\",
  3398. dataType: 'json',
  3399. data: {
  3400. voucher_code: vcode
  3401. },
  3402. success: function (data) {
  3403. \$('.summary-card-sub-total').removeClass('d-none');
  3404. \$('.discounted-price').removeClass('d-none');
  3405. \$('#dc_span').empty();
  3406. \$('#dc_span').text(cds.toFixed(2));
  3407. \$('.discounted-price').text(tot);
  3408. // \$(\".apply_vouch\").css('pointer-events','none');
  3409. if (data.message != \"\") {
  3410. \$('.discount_coupon_html').html(`<div class=\"alert alert-danger mt-3\"  role=\"alert\"> ` + data.message + ` </div>`);
  3411. } else {
  3412. \$('.discount_coupon_html').html(data.result.errorMessage);
  3413. }
  3414. console.log(\"Data Href = \" + dataHref);
  3415. if (dataHref == 'apply') {
  3416. \$('.apply_vouch').removeClass('btn-green');
  3417. \$('.apply_vouch').addClass('btn-secondary');
  3418. \$('.apply_vouch').html('Remove Coupon');
  3419. \$(\"#couponno\").prop(\"disabled\", true);
  3420. \$(\"#couponno\").attr('data-href', 'remove');
  3421. } else if (dataHref == 'remove') {
  3422. \$('.apply_vouch').removeClass('btn-secondary');
  3423. \$('.apply_vouch').addClass('btn-green');
  3424. \$('.apply_vouch').html('Apply Coupon');
  3425. \$(\"#couponno\").prop(\"disabled\", false);
  3426. \$(\"#couponno\").attr('data-href', 'apply');
  3427. }
  3428. sumCart();
  3429. }
  3430. });
  3431. } else {
  3432. return false;
  3433. }
  3434. } else {
  3435. alert('Enter Voucher');
  3436. }
  3437. });
  3438. });
  3439. window.onload = function () {
  3440. document.getElementById(\"download\").addEventListener(\"click\", () => {
  3441. var invoice = document.createElement('div');
  3442. let cart = document.querySelector(\"#shopping-cart\").cloneNode(true);
  3443. let summ = document.querySelector(\".summary-card\").cloneNode(true);
  3444. let shipp = document.querySelector(\"#shipping\").cloneNode(true);
  3445. invoice.appendChild(cart);
  3446. invoice.appendChild(summ);
  3447. invoice.appendChild(shipp);
  3448. var opt = {
  3449. margin: 1,
  3450. filename: 'myorder.pdf',
  3451. image: {
  3452. type: 'jpeg',
  3453. quality: 0.98
  3454. },
  3455. html2canvas: {
  3456. scale: 1
  3457. },
  3458. jsPDF: {
  3459. unit: 'in',
  3460. format: 'letter',
  3461. orientation: 'landscape'
  3462. }
  3463. };
  3464. html2pdf().from(invoice).set(opt).save();
  3465. })
  3466. // document.getElementById(\"pdfprnt\")
  3467. // .addEventListener(\"click\", () => {
  3468. //     var printme = this.document.getElementsByClassName(\"invoice\")[0];
  3469. //       console.log(printme);
  3470. //       var wme = window.open(\"\",\"\",\"width:700,height:900\");
  3471. //       wme.document.write(printme.outerHTML);
  3472. //       wme.document.close();
  3473. //       wme.focus();
  3474. //       wme.print();
  3475. //       wme.close();
  3476. // })
  3477. }
  3478. function sumCart() {
  3479. var totalPoint = 0;
  3480. \$('.points-box').each(function () {
  3481. var arr = 0;
  3482. var value = \$(this).text();
  3483. arr = value.split('pt');
  3484. if (!isNaN(arr[0]) && arr[0].length != 0) {
  3485. totalPoint += parseFloat(arr[0]);
  3486. }
  3487. });
  3488. \$.ajax({
  3489. url: '/calculate_cart',
  3490. type: \"post\",
  3491. dataType: 'html',
  3492. data: {
  3493. \"totalPoints\": totalPoint
  3494. },
  3495. success: function (data) {
  3496. \$('.summary-card').html(data);
  3497. }
  3498. });
  3499. }
  3500. {# function sumCart() {
  3501. var sum = 0;
  3502. var sum2 = 0;
  3503. \$('.subTotal').each(function () {
  3504. sum += parseFloat(\$(this).text()); // Or this.innerHTML, this.innerText
  3505. });
  3506. \$('.points-box').each(function () {
  3507. var arr = 0;
  3508. var value = \$(this).text();
  3509. arr = value.split('pt');
  3510. if (!isNaN(arr[0]) && arr[0].length != 0) {
  3511. sum2 += parseFloat(arr[0]);
  3512. }
  3513. });
  3514. \$('#totPT').text(sum2 + \" PT\");
  3515. \$('#subTT').text(sum.toFixed(2));
  3516. var taxr = \$(\"#vtr\").text();
  3517. var vat = 0;
  3518. vat = parseFloat(sum * (taxr / 100));
  3519. \$('#vat').text(vat.toFixed(2));
  3520. var discount = 0;
  3521. var dc = \$('#dscode').text();
  3522. if (!\$(\".summary-card-sub-total\").hasClass(\"d-none\")) {
  3523. discount = parseFloat(sum * (dc / 100));
  3524. \$(\"#dc_span\").text(discount.toFixed(2));
  3525. } else {
  3526. \$(\"#dc_span\").text(discount.toFixed(2));
  3527. }
  3528. var newamt = 0;
  3529. if (discount) {
  3530. newamt = parseFloat(discount);
  3531. }
  3532. var dp = 0;
  3533. total = (sum + vat);
  3534. dp = total - newamt;
  3535. \$(\"#ctotal\").text(dp.toFixed(2));
  3536. \$(\".discounted-price\").text(total.toFixed(2));
  3537. }
  3538. #}
  3539. \t</script>
  3540. {% else %}
  3541. \t<section class=\"tab-panel\">
  3542. \t\t<div class=\"row\">
  3543. \t\t\t<div class=\"col-lg-9 summary-table-div\">
  3544. \t\t\t\t<div class=\"tab-content\">
  3545. \t\t\t\t\t<div class=\"tab-pane active\" id=\"shopping-cart\" role=\"tabpanel\">
  3546. \t\t\t\t\t\t<div class=\"cart-box\">
  3547. \t\t\t\t\t\t\t<div class=\"table-responsive\">
  3548. \t\t\t\t\t\t\t\t<table class=\"table\">
  3549. \t\t\t\t\t\t\t\t\t<thead>
  3550. \t\t\t\t\t\t\t\t\t\t<tr>
  3551. \t\t\t\t\t\t\t\t\t\t\t<th>
  3552. \t\t\t\t\t\t\t\t\t\t\t\t<span>{{'Item'|trans}}</span><!--span><a href=\"javascript:void(0);\">Select all</a></span--></th>
  3553. \t\t\t\t\t\t\t\t\t\t\t<th>{{'Description'|trans}}</th>
  3554. \t\t\t\t\t\t\t\t\t\t\t<th>{{'Quantity'|trans}}</th>
  3555. \t\t\t\t\t\t\t\t\t\t\t{# <th>{{'Points'|trans}}</th> #}
  3556. \t\t\t\t\t\t\t\t\t\t\t<th class=\"d-none\">{{'Recommended Price'|trans}}</th>
  3557. \t\t\t\t\t\t\t\t\t\t\t<th>{{'Action'|trans}}</th>
  3558. \t\t\t\t\t\t\t\t\t\t\t<th></th>
  3559. \t\t\t\t\t\t\t\t\t\t</tr>
  3560. \t\t\t\t\t\t\t\t\t</thead>
  3561. \t\t\t\t\t\t\t\t\t<tbody>
  3562. \t\t\t\t\t\t\t\t\t\t{% for item in carts.items %}
  3563. \t\t\t\t\t\t\t\t\t\t\t<tr>
  3564. \t\t\t\t\t\t\t\t\t\t\t\t<td>
  3565. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"shipping-product\">
  3566. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"shipping-product-checkbox\">
  3567. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input class=\"styled-checkbox1 opacity-0\" id=\"{{item.product.id}}\" type=\"checkbox\" value=\"{{item.product.id}}\" }}/>
  3568. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"{{item.product.id}}\"></label>
  3569. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  3570. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"shipping-product-image\">
  3571. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<figure class=\"shipping-product-image-img\">
  3572. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img src=\"{{item.product.attrimage.items[0]}}\" alt=\"{{item.product.name}}\">
  3573. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</figure>
  3574. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  3575. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  3576. \t\t\t\t\t\t\t\t\t\t\t\t</td>
  3577. \t\t\t\t\t\t\t\t\t\t\t\t<td>
  3578. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"slide-info\">
  3579. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if item.product.region[0] is defined %}
  3580. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h5 class=\"title\">{{item.product.name}}</h5>
  3581. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"kg\">{{item.product.size}}</div>
  3582. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{# <div class=\"kg\">Product Code: {{item.productcode}}</div> #}
  3583. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"kg d-none\">{{'Unit Price '|trans}}</div>
  3584. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"price d-none\">{{item.product.region[0].price.data}}
  3585. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{# {% dump(item.product.region[0].price) %} #}
  3586. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{item.product.region[0].currency_symbol.data|trans}}</div>
  3587. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"award d-none\">
  3588. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set points = (((item.product.region[0].price.data)/100)*10)|round %}
  3589. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"far fa-star \"></i>
  3590. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{'Earn'|trans}}
  3591. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"grpt\">{{ points }}</i>
  3592. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{'Rewards Points'|trans}}
  3593. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  3594. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  3595. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  3596. \t\t\t\t\t\t\t\t\t\t\t\t</td>
  3597. \t\t\t\t\t\t\t\t\t\t\t\t<td>
  3598. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"order-count-number\">
  3599. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"minus\" data-additem=\"{{item.product.id}}\"><img src=\"/static/assets/images/icon-minus.svg\" alt=\"minus\"></span>
  3600. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<input class=\"count\" type=\"text\" value=\"{{item.Count()}}\">
  3601. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"plus\" data-additem=\"{{item.product.id}}\"><img src=\"/static/assets/images/icon-plus.svg\" alt=\"plus\"></span>
  3602. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  3603. \t\t\t\t\t\t\t\t\t\t\t\t</td>
  3604. \t\t\t\t\t\t\t\t\t\t\t\t<td class=\"d-none\">
  3605. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"points-box\">
  3606. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{{ points * item.Count() }}
  3607. \t\t\t\t\t\t\t\t\t\t\t\t\t\tpt
  3608. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  3609. \t\t\t\t\t\t\t\t\t\t\t\t</td>
  3610. \t\t\t\t\t\t\t\t\t\t\t\t<td class=\"d-none\">
  3611. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"item-price \">
  3612. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if item.product.region[0] is defined %}
  3613. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"item-curr\">{{item.product.region[0].currency_symbol.data|trans}}</div>
  3614. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"item-price-change\">{{item.product.region[0].price.data * item.Count()}}
  3615. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  3616. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  3617. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  3618. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"subTotal d-none\">
  3619. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if item.product.region[0] is defined %}
  3620. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{item.product.region[0].price.data * item.Count()}}
  3621. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  3622. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  3623. \t\t\t\t\t\t\t\t\t\t\t\t</td>
  3624. \t\t\t\t\t\t\t\t\t\t\t\t<td>
  3625. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"dustbin-box\" data-pid=\"{{item.product.id}}\">
  3626. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<img src=\"/static/assets/images/dustbin.svg\" alt=\"dustbin\">
  3627. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  3628. \t\t\t\t\t\t\t\t\t\t\t\t</td>
  3629. \t\t\t\t\t\t\t\t\t\t\t</tr>
  3630. \t\t\t\t\t\t\t\t\t\t{% endfor %}
  3631. \t\t\t\t\t\t\t\t\t</tbody>
  3632. \t\t\t\t\t\t\t\t</table>
  3633. \t\t\t\t\t\t\t</div>
  3634. \t\t\t\t\t\t\t<div class=\"table-quote-box\">
  3635. \t\t\t\t\t\t\t\t<div class=\"table-all-quote\">
  3636. \t\t\t\t\t\t\t\t\t<div
  3637. \t\t\t\t\t\t\t\t\t\tclass=\"btn-holder\"><!--a href=\"javascript:void(0)\" class=\"btn btn-custom btn-green\">Add quote </a-->
  3638. \t\t\t\t\t\t\t\t\t</div>
  3639. \t\t\t\t\t\t\t\t\t{# <div class=\"quote-msg quote-all\">
  3640. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t                        Sent to your distributor
  3641. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t                      </div> #}
  3642. \t\t\t\t\t\t\t\t</div>
  3643. \t\t\t\t\t\t\t\t<div class=\"del-box\">
  3644. \t\t\t\t\t\t\t\t\t<div class=\"del-box-content\">
  3645. \t\t\t\t\t\t\t\t\t\t{{'Remove all '|trans}}
  3646. \t\t\t\t\t\t\t\t\t</div>
  3647. \t\t\t\t\t\t\t\t\t<div class=\"del-box-img\">
  3648. \t\t\t\t\t\t\t\t\t\t<img src=\"/static/assets/images/dustbin.svg\" alt=\"dustbin\" class=\"del-box-img-all\">
  3649. \t\t\t\t\t\t\t\t\t</div>
  3650. \t\t\t\t\t\t\t\t</div>
  3651. \t\t\t\t\t\t\t</div>
  3652. \t\t\t\t\t\t</div>
  3653. \t\t\t\t\t\t<div class=\"discount-box d-none\">
  3654. \t\t\t\t\t\t\t<div class=\"discount-box-coupons\">
  3655. \t\t\t\t\t\t\t\t<div class=\"select-holder\">
  3656. \t\t\t\t\t\t\t\t\t<div class=\"custom-input\">
  3657. \t\t\t\t\t\t\t\t\t\t<input id=\"couponno\" class=\"form-control\" placeholder=\"{{'Enter discount code here '|trans}}\" disabled/>
  3658. \t\t\t\t\t\t\t\t\t</div>
  3659. \t\t\t\t\t\t\t\t</div>
  3660. \t\t\t\t\t\t\t\t<div class=\"btn-holder\">
  3661. \t\t\t\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"btn btn-custom btn-green custom-disabled apply_vouch\">{{'APPLY CODE '|trans}}</a>
  3662. \t\t\t\t\t\t\t\t</div>
  3663. \t\t\t\t\t\t\t</div>
  3664. \t\t\t\t\t\t\t<div class=\"code-hint d-none\">
  3665. \t\t\t\t\t\t\t\t<ul class=\"list-unstyled recipe-info\">
  3666. \t\t\t\t\t\t\t\t\t<li class=\"info-icon\">{{'What is a discount code, how can you get one? '|trans}}</li>
  3667. \t\t\t\t\t\t\t\t</ul>
  3668. \t\t\t\t\t\t\t</div>
  3669. \t\t\t\t\t\t</div>
  3670. \t\t\t\t\t\t<div class=\"checkout-box\">
  3671. \t\t\t\t\t\t\t<div class=\"btn-holder\">
  3672. \t\t\t\t\t\t\t\t<a href=\"/{{app.request.locale}}/signin\" class=\"btn btn-custom btn-green get-all-quote\">{{'Next'|trans}}</a>
  3673. \t\t\t\t\t\t\t\t<a href=\"/{{app.request.locale}}/products\" class=\"btn btn-custom btn-secondary custom-disabled\">{{'Continue Shopping'|trans}}</a>
  3674. \t\t\t\t\t\t\t</div>
  3675. \t\t\t\t\t\t</div>
  3676. \t\t\t\t\t</div>
  3677. \t\t\t\t\t<div class=\"tab-pane d-none\" id=\"payment-method\" role=\"tabpanel\">
  3678. \t\t\t\t\t\t<form action=\"\">
  3679. \t\t\t\t\t\t\t<div class=\"shipping-form\">
  3680. \t\t\t\t\t\t\t\t<div class=\"shipping-form-heading\">
  3681. \t\t\t\t\t\t\t\t\t<h2>Payment Method</h2>
  3682. \t\t\t\t\t\t\t\t</div>
  3683. \t\t\t\t\t\t\t\t<div class=\"shipping-form-box\">
  3684. \t\t\t\t\t\t\t\t\t<div class=\"container-fluid\">
  3685. \t\t\t\t\t\t\t\t\t\t<div class=\"row\">
  3686. \t\t\t\t\t\t\t\t\t\t\t<div class=\"col-lg-7\">
  3687. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"group-radio\">
  3688. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"radio-button form-check\">
  3689. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<input class=\"form-check-input\" type=\"radio\" name=\"exampleRadios\" id=\"cashondelivery\" value=\"option2\">
  3690. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"form-check-label\" for=\"cashondelivery\">Cash on delivery</label>
  3691. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  3692. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"radio-button form-check\">
  3693. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<input class=\"form-check-input\" type=\"radio\" name=\"exampleRadios\" id=\"creditdebit\" value=\"option1\" checked=\"\">
  3694. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"form-check-label\" for=\"creditdebit\">Credit / Debit Card</label>
  3695. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  3696. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  3697. \t\t\t\t\t\t\t\t\t\t\t</div>
  3698. \t\t\t\t\t\t\t\t\t\t</div>
  3699. \t\t\t\t\t\t\t\t\t\t<div class=\"row payhead\">
  3700. \t\t\t\t\t\t\t\t\t\t\t<div class=\"col-lg-7\">
  3701. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sub-heading\">
  3702. \t\t\t\t\t\t\t\t\t\t\t\t\t<h6>Pay with any Credit or Debit Card</h6>
  3703. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  3704. \t\t\t\t\t\t\t\t\t\t\t</div>
  3705. \t\t\t\t\t\t\t\t\t\t</div>
  3706. \t\t\t\t\t\t\t\t\t\t<div class=\"row cardnumber\">
  3707. \t\t\t\t\t\t\t\t\t\t\t<div class=\"col-lg-7\">
  3708. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"select-holder\">
  3709. \t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"cardnumber\">Card Number<span>*</span>
  3710. \t\t\t\t\t\t\t\t\t\t\t\t\t</label>
  3711. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"custom-input\">
  3712. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"cardnumber\" class=\"form-control\" placeholder=\"Card Number\"/>
  3713. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  3714. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  3715. \t\t\t\t\t\t\t\t\t\t\t</div>
  3716. \t\t\t\t\t\t\t\t\t\t</div>
  3717. \t\t\t\t\t\t\t\t\t\t<div class=\"row cardholder\">
  3718. \t\t\t\t\t\t\t\t\t\t\t<div class=\"col-lg-7\">
  3719. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"select-holder\">
  3720. \t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"cardholder\">Card Holder Name<span>*</span>
  3721. \t\t\t\t\t\t\t\t\t\t\t\t\t</label>
  3722. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"custom-input\">
  3723. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"cardholder\" class=\"form-control\" placeholder=\"Card Holder Name\"/>
  3724. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  3725. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  3726. \t\t\t\t\t\t\t\t\t\t\t</div>
  3727. \t\t\t\t\t\t\t\t\t\t</div>
  3728. \t\t\t\t\t\t\t\t\t\t<div class=\"row cardnumber\">
  3729. \t\t\t\t\t\t\t\t\t\t\t<div class=\"col-9 col-lg-5\">
  3730. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"select-holder\">
  3731. \t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"cardnumber\">Card Number<span>*</span>
  3732. \t\t\t\t\t\t\t\t\t\t\t\t\t</label>
  3733. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"custom-input\">
  3734. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"cardnumber\" class=\"form-control\" placeholder=\"Card Number\"/>
  3735. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  3736. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  3737. \t\t\t\t\t\t\t\t\t\t\t</div>
  3738. \t\t\t\t\t\t\t\t\t\t\t<div class=\"col-3 col-lg-2\">
  3739. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"select-holder full-width\">
  3740. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"custom-input\">
  3741. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"cardnumber\" class=\"form-control\" placeholder=\"Card Number\"/>
  3742. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  3743. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  3744. \t\t\t\t\t\t\t\t\t\t\t</div>
  3745. \t\t\t\t\t\t\t\t\t\t</div>
  3746. \t\t\t\t\t\t\t\t\t\t<div class=\"row cardholder\">
  3747. \t\t\t\t\t\t\t\t\t\t\t<div class=\"col-10 col-lg-4\">
  3748. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"select-holder\">
  3749. \t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"cardholder\">Card Holder Name<span>*</span>
  3750. \t\t\t\t\t\t\t\t\t\t\t\t\t</label>
  3751. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"custom-input\">
  3752. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"cardholder\" class=\"form-control\" placeholder=\"Card Holder Name\"/>
  3753. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  3754. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  3755. \t\t\t\t\t\t\t\t\t\t\t</div>
  3756. \t\t\t\t\t\t\t\t\t\t\t<div class=\"col-2 col-lg-2\">
  3757. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"image-holder\">
  3758. \t\t\t\t\t\t\t\t\t\t\t\t\t<img src=\"/static/assets/images/card.png\" alt=\"card\">
  3759. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  3760. \t\t\t\t\t\t\t\t\t\t\t</div>
  3761. \t\t\t\t\t\t\t\t\t\t</div>
  3762. \t\t\t\t\t\t\t\t\t</div>
  3763. \t\t\t\t\t\t\t\t</div>
  3764. \t\t\t\t\t\t\t</div>
  3765. \t\t\t\t\t\t\t<div class=\"checkout-box\">
  3766. \t\t\t\t\t\t\t\t<div
  3767. \t\t\t\t\t\t\t\t\tclass=\"btn-holder\">
  3768. \t\t\t\t\t\t\t\t\t{# <a href=\"javascript:void(0)\" class=\"btn btn-custom btn-secondary\">Place Order</a> #}
  3769. \t\t\t\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"btn btn-custom btn-secondary custom-disabled\">Previous</a>
  3770. \t\t\t\t\t\t\t\t</div>
  3771. \t\t\t\t\t\t\t</div>
  3772. \t\t\t\t\t\t</form>
  3773. \t\t\t\t\t</div>
  3774. \t\t\t\t\t<div class=\"tab-pane\" id=\"confirmation\" role=\"tabpanel\">
  3775. \t\t\t\t\t\t<div id=\"myDiv\">
  3776. \t\t\t\t\t\t\t<img id=\"loading-image\" src=\"/static/assets/images/loader.gif\" alt=\"Loader\" class=\"d-none\"/>
  3777. \t\t\t\t\t\t</div>
  3778. \t\t\t\t\t\t<div class=\"shipping-form\">
  3779. \t\t\t\t\t\t\t<div class=\"shipping-form-heading\">
  3780. \t\t\t\t\t\t\t\t<h2>Request
  3781. \t\t\t\t\t\t\t\t\t<span class=\"order_status\"></span>
  3782. \t\t\t\t\t\t\t\t\tConfirmation</h2>
  3783. \t\t\t\t\t\t\t</div>
  3784. \t\t\t\t\t\t\t<div class=\"shipping-message\">
  3785. \t\t\t\t\t\t\t\t<div class=\"thank-you-message\">
  3786. \t\t\t\t\t\t\t\t\t<p>
  3787. \t\t\t\t\t\t\t\t\t\tThank you, your
  3788. \t\t\t\t\t\t\t\t\t\t<span class=\"order_status\"></span>
  3789. \t\t\t\t\t\t\t\t\t\trequest has been received!<br>
  3790. \t\t\t\t\t\t\t\t\t\tYour distributor will get in touch with you soon.
  3791. \t\t\t\t\t\t\t\t\t</p><br>
  3792. \t\t\t\t\t\t\t\t\t<span>
  3793. \t\t\t\t\t\t\t\t\t\tYour
  3794. \t\t\t\t\t\t\t\t\t\t<span class=\"order_status\"></span>
  3795. \t\t\t\t\t\t\t\t\t\tNumber is
  3796. \t\t\t\t\t\t\t\t\t\t<span id=\"coid\"></span><br>
  3797. \t\t\t\t\t\t\t\t\t</span><br>
  3798. \t\t\t\t\t\t\t\t\t<span>
  3799. \t\t\t\t\t\t\t\t\t\tYour distributor will respond to your request within 48hrs.
  3800. \t\t\t\t\t\t\t\t\t\t<br>
  3801. \t\t\t\t\t\t\t\t\t\tFor any further information/enquiry please feel free to contact us us @ 800 246
  3802. \t\t\t\t\t\t\t\t\t</span>
  3803. \t\t\t\t\t\t\t\t</div>
  3804. \t\t\t\t\t\t\t\t<div class=\"order-no\">
  3805. \t\t\t\t\t\t\t\t\t<ul
  3806. \t\t\t\t\t\t\t\t\t\tclass=\"list-unstyled social-info\">{# <li class=\"download btn btn-custom btn-green\" id=\"download\">Download</li> #}
  3807. \t\t\t\t\t\t\t\t\t</ul>
  3808. \t\t\t\t\t\t\t\t</div>
  3809. \t\t\t\t\t\t\t\t<div class=\"deliver-time\">{# <p>We will deliver your order within 48hrs.</p> #}
  3810. \t\t\t\t\t\t\t\t\t{# <p>Make sure you have cash at hand if you selected the Cash on delivery option.</p> #}
  3811. \t\t\t\t\t\t\t\t</div>
  3812. \t\t\t\t\t\t\t</div>
  3813. \t\t\t\t\t\t</div>
  3814. \t\t\t\t\t\t<div class=\"checkout-box\">
  3815. \t\t\t\t\t\t\t<div class=\"btn-holder\">
  3816. \t\t\t\t\t\t\t\t<a href=\"/{{app.request.locale}}/products\" class=\"btn btn-custom btn-secondary\">{{'Continue Shopping'|trans}}</a>
  3817. \t\t\t\t\t\t\t</div>
  3818. \t\t\t\t\t\t</div>
  3819. \t\t\t\t\t</div>
  3820. \t\t\t\t</div>
  3821. \t\t\t\t<div class=\"helpout-box\">
  3822. \t\t\t\t\t<div class=\"helpout-box-head\">
  3823. \t\t\t\t\t\t<p>{{'Need help'|trans}}</p>
  3824. \t\t\t\t\t</div>
  3825. \t\t\t\t\t<div class=\"helpout-box-content\">
  3826. \t\t\t\t\t\t<div class=\"helpout-box-content-text\">
  3827. \t\t\t\t\t\t\t<p>{{'please contact us: '|trans}}</p>
  3828. \t\t\t\t\t\t\t<p>{{'call us'|trans}}
  3829. \t\t\t\t\t\t\t\t@ +966537310415</p>
  3830. \t\t\t\t\t\t\t<p>{{'email us'|trans}}
  3831. \t\t\t\t\t\t\t\t@ gcs@goody.com.sa</p>
  3832. \t\t\t\t\t\t</div>
  3833. \t\t\t\t\t\t{# <div class=\"helpout-box-content-img\">
  3834. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t                  <img src=\"/static//static/assets/images/payment.png\" alt=\"payment\">
  3835. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t                </div> #}
  3836. \t\t\t\t\t</div>
  3837. \t\t\t\t</div>
  3838. \t\t\t</div>
  3839. \t\t\t<div class=\"col-lg-3 d-none\">
  3840. \t\t\t\t<div class=\"summary-card\">
  3841. \t\t\t\t\t<div class=\"shop-heading\">
  3842. \t\t\t\t\t\t<h6>{{'shopping SUMMARY'|trans}}</h6>
  3843. \t\t\t\t\t</div>
  3844. \t\t\t\t\t<div class=\"summary-card-sub-total\">
  3845. \t\t\t\t\t\t<span>{{'Subtotal'|trans}}</span>
  3846. \t\t\t\t\t\t<span id=\"subTT\"></span>
  3847. \t\t\t\t\t</div>
  3848. \t\t\t\t\t<div class=\"summary-card-sub-total\">
  3849. \t\t\t\t\t\t<span>{{'Shipping'|trans}}</span>
  3850. \t\t\t\t\t\t<span>{{'Free'|trans}}</span>
  3851. \t\t\t\t\t</div>
  3852. \t\t\t\t\t<div class=\"summary-card-sub-total\">
  3853. \t\t\t\t\t\t<span>{{'VAT'|trans}}
  3854. \t\t\t\t\t\t\t(<var id=\"vtr\">{{tax}}</var>%)</span>
  3855. \t\t\t\t\t\t<span id=\"vat\"></span>
  3856. \t\t\t\t\t</div>
  3857. \t\t\t\t\t<div class=\"summary-card-sub-total d-none\">
  3858. \t\t\t\t\t\t<span>Discount</span>
  3859. \t\t\t\t\t\t<span id=\"dc_span\">NA</span>
  3860. \t\t\t\t\t</div>
  3861. \t\t\t\t\t<div class=\"summary-card-total\">
  3862. \t\t\t\t\t\t<span>{{'Total'|trans}}</span>
  3863. \t\t\t\t\t\t<span>
  3864. \t\t\t\t\t\t\t<span class=\"discounted-price d-none\"></span>
  3865. \t\t\t\t\t\t\tSAR
  3866. \t\t\t\t\t\t\t<span id=\"ctotal\"></span>
  3867. \t\t\t\t\t\t</span>
  3868. \t\t\t\t\t</div>
  3869. \t\t\t\t\t<div class=\"summary-card-sub-total summary-points d-none\">
  3870. \t\t\t\t\t\t<span>{{'POINTS'|trans}}</span>
  3871. \t\t\t\t\t\t<span id=\"totPT\"></span>
  3872. \t\t\t\t\t</div>
  3873. \t\t\t\t</div>
  3874. \t\t\t</div>
  3875. \t\t</div>
  3876. \t</section>
  3877. \t<!-- End stepper -->
  3878. </div>
  3879. <script>
  3880. \t\$(document).ready(function () {
  3881. \$(\"#customerConfirm\").validate({
  3882. errorClass: \"error-class\",
  3883. validClass: \"valid-class\",
  3884. rules: {
  3885. mobile: {
  3886. required: true,
  3887. // email: true
  3888. },
  3889. country: {
  3890. required: true,
  3891. // minlength: 5
  3892. },
  3893. towncity: {
  3894. required: true,
  3895. minlength: 3
  3896. }
  3897. }
  3898. });
  3899. \$(\".styled-checkbox1\").prop('checked', true);
  3900. \$(\"#countrylocation\").on('change', function () {
  3901. var sel = \$('#countrylocation').find(\":selected\").val();
  3902. \$('#distributorname').empty();
  3903. \$.ajax({
  3904. url: \"/getVendorByCountry\",
  3905. type: \"post\",
  3906. dataType: 'json',
  3907. data: {
  3908. val: sel
  3909. },
  3910. success: function (result) {
  3911. if (result) {
  3912. \$('#distributorname').append('<option value=\"\">Distributor Name</option>');
  3913. \$('#distributorname').append('<option value=\"' + result.uid + '\">' + result.name + ' </option>');
  3914. }
  3915. }
  3916. });
  3917. });
  3918. \$(\"#distributorname\").on('change', function () {
  3919. var sel = \$('#distributorname').find(\":selected\").val();
  3920. console.log(sel);
  3921. if (sel) {
  3922. \$.ajax({
  3923. url: \"/getVendorNumber\",
  3924. type: \"post\",
  3925. dataType: 'json',
  3926. data: {
  3927. val: sel
  3928. },
  3929. success: function (result) {
  3930. if (result.ClientNo) {
  3931. \$('.get-all-quote').css(\"pointer-events\", \"auto\");
  3932. \$('#clientno').val(result.ClientNo);
  3933. }
  3934. }
  3935. });
  3936. } else {
  3937. \$('.get-all-quote').css(\"pointer-events\", \"none\");
  3938. alert(\"Distributor must be selected to process your request\");
  3939. }
  3940. });
  3941. \$(\".btn-quote\").click(function (e) {
  3942. e.stopPropagation()
  3943. pid = \$(this).attr(\"data-prodId\");
  3944. vid = \$('#distributorname').find(\":selected\").val();
  3945. if (vid) {
  3946. \$.ajax({
  3947. url: '/distroMail',
  3948. type: \"post\",
  3949. dataType: 'json',
  3950. data: {
  3951. pid: pid,
  3952. vid: vid
  3953. },
  3954. success: function (data) {
  3955. location.reload();
  3956. }
  3957. });
  3958. } else {
  3959. alert(\"Select Distributor\");
  3960. }
  3961. });
  3962. \$(\"#cashondelivery\").on('click', function () {
  3963. \$('.row.cardnumber').hide();
  3964. \$('.row.cardholder').hide();
  3965. \$('.row.cardnumber').hide();
  3966. \$('.row.cardholder').hide();
  3967. \$('.row.payhead').hide();
  3968. });
  3969. \$(\"#creditdebit\").on('click', function () {
  3970. \$('.row.cardnumber').show();
  3971. \$('.row.cardholder').show();
  3972. \$('.row.cardnumber').show();
  3973. \$('.row.cardholder').show();
  3974. \$('.row.payhead').show();
  3975. });
  3976. \$('#cusaddress').click(function (e) {
  3977. e.preventDefault();
  3978. e.stopPropagation();
  3979. var href = \$(this).attr(\"data-href\");
  3980. var firstname = \$(\"#firstname\").val();
  3981. var lastname = \$(\"#lastname\").val();
  3982. var email = \$(\"#email\").val();
  3983. var mobile = \$(\"#mobile\").val();
  3984. var country = \$(\"#country\").find(\":selected\").val();
  3985. var towncity = \$(\"#towncity\").val();
  3986. var businessname = \$(\"#businessname\").val();
  3987. var addressline1 = \$(\"#addressline1\").val();
  3988. var addressline2 = \$(\"#addressline2\").val();
  3989. var country2 = \$(\"#country2\").find(\":selected\").val();
  3990. var towncity2 = \$(\"#towncity2\").val();
  3991. var extranotes = \$(\"#extranotes\").val();
  3992. var ctotal = \$(\"#ctotal\").text();
  3993. var ptotal = \$(\"#totPT\").text();
  3994. \$('.nav-link.ship').removeClass('active');
  3995. \$('.nav-link.confirm').addClass('active');
  3996. var vid = \$('#distributorname').find(\":selected\").val();
  3997. chkArray = []
  3998. countArr = [];
  3999. \$('input:checkbox').not(\":disabled\").attr('checked', 'checked');
  4000. \$(\".styled-checkbox1:checkbox:checked\").each(function () {
  4001. chkArray.push(\$(this).val());
  4002. });
  4003. \$(\".count\").each(function () {
  4004. countArr.push(\$(this).val());
  4005. });
  4006. \$('#customerConfirm').valid();
  4007. if (\$(\"#customerConfirm\").valid()) {
  4008. \$(\"#loading-image\").show();
  4009. \$.ajax({
  4010. url: '/saveCustomAddress',
  4011. type: \"post\",
  4012. dataType: 'json',
  4013. data: {
  4014. firstname: firstname,
  4015. lastname: lastname,
  4016. email: email,
  4017. mobile: mobile,
  4018. country: country,
  4019. towncity: towncity,
  4020. businessname: businessname,
  4021. addressline1: addressline1,
  4022. addressline2: addressline2,
  4023. country2: country2,
  4024. towncity2: towncity2,
  4025. extranotes: extranotes,
  4026. pids: chkArray,
  4027. countArr: countArr,
  4028. vid: vid,
  4029. stot: ctotal,
  4030. ctot: ptotal
  4031. },
  4032. completed: function (data) { // \$('#coid').text(data.orderId);
  4033. \$('.cart-box-icon-count').text(0);
  4034. },
  4035. success: function (data) {
  4036. \$('#coid').text(data.orderNumber);
  4037. \$('.order_status').each(function () {
  4038. \$(this).html(data.orderstatus);
  4039. });
  4040. \$(\"#loading-image\").hide();
  4041. \$(\".distributor-panel\").addClass('d-none');
  4042. \$('.cart-box-icon-count').text(0);
  4043. \$('li > .nav-link a[href=\"#' + href + '\"]').tab('show');
  4044. \$('#confirmation').addClass('active');
  4045. \$('#shipping').removeClass('active');
  4046. \$('#clientno').val('');
  4047. \$('#countrylocation').prop('selectedIndex', 0);
  4048. \$('#distributorname').prop('selectedIndex', 0);
  4049. \$(\"ol.breadcrumb\").append('<li class=\"breadcrumb-item\"><a href=\"javascript:void(0);\">CONFIRMATION</a></li>');
  4050. }
  4051. });
  4052. }
  4053. });
  4054. sumCart();
  4055. \$(\".dustbin-box\").on('click', function (e) {
  4056. e.stopPropagation()
  4057. pid = \$(this).attr(\"data-pid\");
  4058. var obj = \$(this);
  4059. if (confirm(\"Are you sure you want to delete this?\")) {
  4060. \$.ajax({
  4061. url: '/removeCartItem',
  4062. type: \"post\",
  4063. dataType: 'json',
  4064. data: {
  4065. pid: pid
  4066. },
  4067. success: function (data) {
  4068. \$(obj).closest(\"tr\").remove();
  4069. sumCart();
  4070. }
  4071. });
  4072. } else {
  4073. return false;
  4074. }
  4075. });
  4076. \$(\".del-box-img-all\").on('click', function (e) {
  4077. e.stopPropagation()
  4078. if (confirm(\"Are you sure you want to delete this?\")) {
  4079. \$.ajax({
  4080. url: '/removeCartItemAll',
  4081. type: \"post\",
  4082. dataType: 'json',
  4083. success: function (data) {
  4084. location.reload();
  4085. }
  4086. });
  4087. } else {
  4088. return false;
  4089. }
  4090. });
  4091. \$('.plus').on('click', function () {
  4092. txt = \$(this).parent().parent().find('.count').val();
  4093. var id = \$(this).attr('data-addItem');
  4094. v = 0;
  4095. v = v + parseInt(txt);
  4096. price = \$(this).closest('td').siblings().find('.price').text();
  4097. subT = \$(this).closest('td').siblings().find('.subTotal').text();
  4098. ptb = \$(this).closest('td').siblings().find('.grpt').text();
  4099. ptT = parseInt(v) * parseInt(ptb);
  4100. \$(this).closest('td').siblings().find('.points-box').text(ptT);
  4101. priceSum = parseFloat(price) * parseFloat(v);
  4102. \$(this).closest('td').siblings().find('.item-price-change').text(priceSum);
  4103. \$(this).closest('td').siblings().find('.subTotal').text(priceSum);
  4104. \$.ajax({
  4105. url: '/addcart?id=' + id,
  4106. type: \"post\",
  4107. dataType: 'json',
  4108. success: function (data) {
  4109. \$('.cart-box-icon-count').text(data);
  4110. sumCart();
  4111. }
  4112. });
  4113. });
  4114. \$('.minus').on('click', function () {
  4115. txt = \$(this).parent().parent().find('.count').val();
  4116. v = 0;
  4117. v = v + parseInt(txt);
  4118. var id = \$(this).attr('data-addItem');
  4119. price = \$(this).closest('td').siblings().find('.price').text();
  4120. subT = \$(this).closest('td').siblings().find('.subTotal').text();
  4121. ptb = \$(this).closest('td').siblings().find('.grpt').text();
  4122. ptT = parseInt(v) * parseInt(ptb);
  4123. \$(this).closest('td').siblings().find('.points-box').text(ptT);
  4124. priceSum = parseFloat(price) * parseFloat(v);
  4125. \$(this).closest('td').siblings().find('.item-price-change').text(priceSum);
  4126. \$(this).closest('td').siblings().find('.subTotal').text(priceSum);
  4127. \$.ajax({
  4128. url: '/rmcart?id=' + id,
  4129. type: \"post\",
  4130. dataType: 'json',
  4131. success: function (data) {
  4132. \$('.cart-box-icon-count').text(data);
  4133. sumCart();
  4134. }
  4135. });
  4136. });
  4137. \$('.btn-prev').on('click', function () {
  4138. \$('.nav-link.ship').removeClass('active');
  4139. \$(\".nav-link.shop\").addClass('active');
  4140. \$(\".get-all-quote\").removeClass('active');
  4141. // \$(\".get-all-quote\").removeClass('active');
  4142. \$(this).removeClass('active');
  4143. });
  4144. });
  4145. window.onload = function () {
  4146. document.getElementById(\"download\").addEventListener(\"click\", () => {
  4147. var invoice = document.createElement('div');
  4148. let cart = document.querySelector(\"#shopping-cart\").cloneNode(true);
  4149. let summ = document.querySelector(\".summary-card\").cloneNode(true);
  4150. let shipp = document.querySelector(\"#shipping\").cloneNode(true);
  4151. invoice.appendChild(cart);
  4152. invoice.appendChild(summ);
  4153. invoice.appendChild(shipp);
  4154. var opt = {
  4155. margin: 1,
  4156. filename: 'myorder.pdf',
  4157. image: {
  4158. type: 'jpeg',
  4159. quality: 0.98
  4160. },
  4161. html2canvas: {
  4162. scale: 1
  4163. },
  4164. jsPDF: {
  4165. unit: 'in',
  4166. format: 'letter',
  4167. orientation: 'landscape'
  4168. }
  4169. };
  4170. html2pdf().from(invoice).set(opt).save();
  4171. })
  4172. // document.getElementById(\"pdfprnt\")
  4173. // .addEventListener(\"click\", () => {
  4174. //     var printme = this.document.getElementsByClassName(\"invoice\")[0];
  4175. //       console.log(printme);
  4176. //       var wme = window.open(\"\",\"\",\"width:700,height:900\");
  4177. //       wme.document.write(printme.outerHTML);
  4178. //       wme.document.close();
  4179. //       wme.focus();
  4180. //       wme.print();
  4181. //       wme.close();
  4182. // })
  4183. }
  4184. function sumCart() {
  4185. var sum = 0;
  4186. var sum2 = 0;
  4187. \$('.subTotal').each(function () {
  4188. sum += parseFloat(\$(this).text()); // Or this.innerHTML, this.innerText
  4189. });
  4190. \$('.points-box').each(function () {
  4191. var arr = 0;
  4192. var value = \$(this).text();
  4193. arr = value.split('pt');
  4194. if (!isNaN(arr[0]) && arr[0].length != 0) {
  4195. sum2 += parseFloat(arr[0]);
  4196. }
  4197. });
  4198. \$('#totPT').text(sum2 + \" PT\");
  4199. \$('#subTT').text(sum.toFixed(2));
  4200. var taxr = \$(\"#vtr\").text();
  4201. var vat = 0;
  4202. vat = parseFloat(sum * (taxr / 100));
  4203. \$('#vat').text(vat.toFixed(2));
  4204. var discount = 0;
  4205. var dc = \$('#dc_span').text();
  4206. discount = parseFloat(dc / 100);
  4207. var newamt = 0;
  4208. if (discount) {
  4209. newamt = parseFloat(sum * discount);
  4210. }
  4211. var dp = 0;
  4212. total = (sum + vat);
  4213. dp = total - newamt;
  4214. \$(\"#ctotal\").text(dp.toFixed(2));
  4215. \$(\".discounted-price\").text(total.toFixed(2));
  4216. }
  4217. </script>{% endif %}{% if (app.request.locale =='ar') %}
  4218. {% set topMenu =\"/en/cartDetails\" %}{% else %}
  4219. {% set topMenu =\"/ar/cartDetails\" %}{% endif %}<script>
  4220. var _TopMenuLink = \"{{ topMenu }}\";</script>{% endblock %}
  4221. ""cart/shared/shipping.html.twig""/var/www/vhosts/centric.ae/gcs.centric.ae/templates/cart/shared/shipping.html.twig");
  4222.     }
  4223. }