It looks like this is a web page, not a feed. I looked for a feed associated with this page, but couldn't find one. Please enter the address of your feed to validate.

Source: https://bwptrend.easy.co/products/best-award-sheild

  1. <!doctype html>
  2. <!--[if lt IE 7]><html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
  3. <!--[if IE 7]><html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]-->
  4. <!--[if IE 8]><html class="no-js lt-ie9" lang="en"> <![endif]-->
  5. <!--[if IE 9 ]><html class="ie9 no-js"> <![endif]-->
  6. <!--[if (gt IE 9)|!(IE)]><!--> <html class="no-js"> <!--<![endif]-->
  7. <head>
  8.  
  9.  <!-- Basic page needs ================================================== -->
  10.  <meta charset="utf-8">
  11.  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  12.  
  13.  
  14.  <link rel="icon" href="https://cdn.store-assets.com/s/922320/f/8463850.png" />
  15.  
  16.  
  17.  <!-- Title and description ================================================== -->
  18.  <title>
  19.  Page Not Found &ndash; Bwptrend
  20.  </title>
  21.  
  22.  
  23.  
  24.  <!-- Social meta ================================================== -->
  25.  
  26.  
  27.  <meta property="og:type" content="website">
  28.  <meta property="og:title" content="Page Not Found">
  29.  <meta property="og:url" content="">
  30.  
  31.    <meta property="og:image" content="">
  32.    <meta property="og:image:secure_url" content="">
  33.  
  34.  
  35.  
  36. <meta property="og:description" content="Bwptrend">
  37. <meta property="og:site_name" content="Bwptrend">
  38.  
  39.  
  40.  
  41.  <meta name="twitter:card" content="summary">
  42.  
  43.  
  44.  
  45.  <meta name="twitter:site" content="@">
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  <!-- Helpers ================================================== -->
  52.  <link rel="canonical" href="">
  53.  <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1">
  54.  <meta name="theme-color" content="#121212">
  55.  
  56.  <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js" type="text/javascript" ></script>
  57.  
  58.  <!-- Header hook for plugins ================================================== -->
  59.  
  60. <!-- ScriptTags -->
  61. <script>window.__st={'p': 'page', 'cid': ''};</script><script src='/assets/events.js'></script><script>const __es_ads = {'country_code':'PK' ,'title': 'Online store by <img src="https://s3.ap-southeast-1.amazonaws.com/easystore.website/images/logo/svg/easystore-logo-horizontal.svg" alt="EasyStore" style="display: block !important;width:8em;margin:-2px 0 0 8px;"> <i style="width: 1px;height: 25px;margin: 0 10px;background: #E3E7EB;"></i> Create yours for free today.','title_mb': 'Create online store with <img src="https://s3.ap-southeast-1.amazonaws.com/easystore.website/images/logo/svg/easystore-logo-horizontal.svg" alt="EasyStore" style="display: block !important;width:8em;margin:-2px 8px 0;">','cta': 'Get started'}</script><script src='/assets/js/ads/storefront-ads.js'></script><script>(function(){function asyncLoad(){var urls=['/assets/traffic.js?v=1'];for(var i=0;i<urls.length;i++){var s=document.createElement('script');s.type='text/javascript';s.async=true;s.src=urls[i];var x=document.getElementsByTagName('script')[0];x.parentNode.insertBefore(s, x);}}window.attachEvent ? window.attachEvent('onload', asyncLoad) : window.addEventListener('load', asyncLoad, false);})();</script>
  62. <!-- /ScriptTags -->
  63.  
  64.  
  65.  
  66.  <script src="https://themes.easystore.co/63057/assets/global.js?t=1719479816" defer="defer"></script>
  67.  
  68.  
  69.  
  70.  <script>
  71.  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  72.  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  73.  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  74.  })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
  75.  
  76.  ga('create', 'UA-37789107-2', 'auto','myTracker');
  77.  ga('myTracker.send', 'pageview');
  78.  
  79.  </script>
  80.  
  81.  <script src="/assets/storefront.js?id=3f4f74218829cbf9e2d5" type="text/javascript" ></script>
  82.  
  83.  
  84.  <!-- CSS ================================================== -->
  85.  <style>
  86.      @font-face {
  87.        font-family: 'Rubik';
  88.        font-style: normal;
  89.        font-weight: regular;
  90.        src: local('Rubik regular'), local('Rubik-regular'), url(https://fonts.gstatic.com/s/rubik/v14/iJWZBXyIfDnIV5PNhY1KTN7Z-Yh-B4i1UE80V4bVkA.ttf) format('truetype');
  91.      }
  92.  
  93.      @font-face {
  94.        font-family: 'Archivo Black';
  95.        font-style: normal;
  96.        font-weight: regular;
  97.        src: local('Archivo Black regular'), local('Archivo Black-regular'), url(https://fonts.gstatic.com/s/archivoblack/v10/HTxqL289NzCGg4MzN6KJ7eW6OYuP_x7yx3A.ttf) format('truetype');
  98.      }
  99.  
  100.      :root {
  101.        --font-body-family: 'Rubik', sans-serif;
  102.        --font-body-style: normal;
  103.        --font-body-weight: 300;
  104.  
  105.        --font-heading-family: 'Archivo Black', sans-serif;
  106.        --font-heading-style: normal;
  107.        --font-heading-weight: 700;
  108.  
  109.        --color-heading-text: 18,18,18;
  110.        --color-base-text: 18,18,18;
  111.        --color-base-background-1: 255,255,255;
  112.        --color-base-background-2: 255,255,255;
  113.        
  114.        --color-base-solid-button-labels: 255,255,255;
  115.        --color-base-outline-button-labels: 18,18,18;
  116.        
  117.        --color-base-accent-1: 18,18,18;
  118.        --color-base-accent-2: 18,18,18;
  119.        --payment-terms-background-color: 255,255,255;
  120.  
  121.        --gradient-base-background-1: 255,255,255;
  122.        --gradient-base-background-2: 255,255,255;
  123.        --gradient-base-accent-1: 18,18,18;
  124.        --gradient-base-accent-2: 18,18,18;
  125.  
  126.        --page-width: 145rem;
  127.      }
  128.  
  129.      *,
  130.      *::before,
  131.      *::after {
  132.        box-sizing: inherit;
  133.      }
  134.  
  135.      html {
  136.        box-sizing: border-box;
  137.        font-size: 62.5%;
  138.        height: 100%;
  139.      }
  140.  
  141.      body {
  142.        display: grid;
  143.        grid-template-rows: auto auto 1fr auto;
  144.        grid-template-columns: 100%;
  145.        min-height: 100%;
  146.        margin: 0;
  147.        font-size: 1.5rem;
  148.        letter-spacing: 0.06rem;
  149.        line-height: 1.8;
  150.        font-family: var(--font-body-family);
  151.        font-style: var(--font-body-style);
  152.        font-weight: var(--font-body-weight);
  153.        
  154.      }
  155.  
  156.      @media screen and (min-width: 750px) {
  157.        body {
  158.          font-size: 1.6rem;
  159.        }
  160.      }
  161.   </style>
  162.  
  163.  <link href="https://themes.easystore.co/63057/assets/base.css?t=1719479816" rel="stylesheet" type="text/css" media="screen" />
  164.  
  165.  
  166.  
  167. <!-- Snippet:global/head: Google Analytics -->
  168. <script>ga('create', 'UA-37789107-9', 'auto', 'SFTracker'); ga('SFTracker.set', 'hostname', '{https://bwptrend.easy.co}'); ga('SFTracker.send', 'pageview');</script>
  169.                    <script>$(document).ready(function(){ $('#AddToCart').click(function(){ga('SFTracker.send','event', 'Cart', 'Add');});
  170.                    $('.update-cart').click(function(){ga('SFTracker.send','event', 'Cart', 'Update');});
  171.                    $('.checkout').click(function(){ga('SFTracker.send','event', 'Checkout', 'Lead');});
  172.                    $('#PlaceOrder,#btn-pay-again').click(function(){ga('SFTracker.send','event', 'Checkout', 'Pay');});});
  173.                    if (window.performance) { var timeSincePageLoad = Math.round(performance.now());
  174.                      ga('SFTracker.send', 'timing', 'JS Dependencies', 'load', timeSincePageLoad);}</script>
  175. <!-- /Snippet -->
  176.  
  177.  
  178.  <script>document.documentElement.className = document.documentElement.className.replace('no-js', 'js');</script>
  179. </head>
  180.  
  181. <body id="page-not-found" class="template-page" >
  182.  
  183. <!-- Snippet:global/body_start: Console Extension -->
  184. <div id='es_console' style='display: none;'>1343721</div>
  185. <!-- /Snippet -->
  186.  
  187. <style>
  188.  header {
  189.    --logo-width: 120px;
  190.  }
  191.  .header-wrapper,
  192.  .header-wrapper .list-menu--disclosure,
  193.  .header-wrapper .search-modal{
  194.    background-color: #F1F1F1;
  195.  }
  196.  .header-wrapper .search-modal .field__input{
  197.    background-color: rgb(var(--color-background));
  198.  }
  199.  .header-wrapper summary .icon-caret,
  200.  .header-wrapper .header__menu-item a,
  201.  .header-wrapper .list-menu__item,
  202.  .header-wrapper .link--text{
  203.    color: #000000;
  204.  }
  205.  
  206.  .search-modal__form{
  207.    position: relative;
  208.  }
  209.  
  210.  .dropdown {
  211.    display: none;
  212.    position: absolute;
  213.    top: 100%;
  214.    left: 0;
  215.    width: 100%;
  216.    padding: 5px 0;
  217.    background-color: #fff;
  218.    color:#000;
  219.    z-index: 1000;
  220.    border-bottom-left-radius: 15px;
  221.    border-bottom-right-radius: 15px;
  222.    border: 1px solid rgba(var(--color-foreground), 1);
  223.    border-top: none;
  224.    overflow-x: hidden;
  225.    overflow-y: auto;
  226.    max-height: 350px;
  227.  }
  228.  
  229.  .dropdown-item {
  230.    padding: 0.4rem 2rem;
  231.    cursor: pointer;
  232.    line-height: 1.4;
  233.    overflow: hidden;
  234.    text-overflow: ellipsis;
  235.    white-space: nowrap;
  236.  }
  237.  
  238.  .dropdown-item:hover{
  239.    background-color: #f3f3f3;
  240.  }
  241.  
  242.  .search__input.is-focus{
  243.    border-radius: 15px;
  244.    border-bottom-left-radius: 0;
  245.    border-bottom-right-radius: 0;
  246.    border: 1px solid rgba(var(--color-foreground), 1);
  247.    border-bottom: none;
  248.    box-shadow: none;
  249.  }
  250.  
  251.  .clear-all {
  252.    text-align: right;
  253.    padding: 0 2rem 0.2rem;
  254.    line-height: 1;
  255.    font-size: 70%;
  256.    margin-bottom: -2px;
  257.  }
  258.  
  259.  .clear-all:hover{
  260.    background-color: #fff;
  261.  }
  262.  
  263.  .search-input-focus .easystore-section-header-hidden{
  264.    transform: none;
  265.  }
  266. </style>
  267.  
  268. <link rel="preload" href="https://themes.easystore.co/63057/assets/section-header.css?t=1719479816" as="style" onload="this.onload=null;this.rel='stylesheet'">
  269. <link rel="preload" href="https://themes.easystore.co/63057/assets/component-list-menu.css?t=1719479816" as="style" onload="this.onload=null;this.rel='stylesheet'">
  270. <link rel="preload" href="https://themes.easystore.co/63057/assets/component-menu-drawer.css?t=1719479816" as="style" onload="this.onload=null;this.rel='stylesheet'">
  271. <link rel="preload" href="https://themes.easystore.co/63057/assets/component-cart-notification.css?v1.1?t=1719479816" as="style" onload="this.onload=null;this.rel='stylesheet'">
  272.  
  273. <script src="https://themes.easystore.co/63057/assets/cart-notification.js?t=1719479816" defer="defer"></script>
  274. <script src="https://themes.easystore.co/63057/assets/details-modal.js?t=1719479816" defer="defer"></script>
  275.  
  276. <svg xmlns="http://www.w3.org/2000/svg" class="hidden">
  277.  <symbol id="icon-search" viewbox="0 0 18 19" fill="none">
  278.    <path fill-rule="evenodd" clip-rule="evenodd" d="M11.03 11.68A5.784 5.784 0 112.85 3.5a5.784 5.784 0 018.18 8.18zm.26 1.12a6.78 6.78 0 11.72-.7l5.4 5.4a.5.5 0 11-.71.7l-5.41-5.4z" fill="currentColor"/>
  279.  </symbol>
  280.  
  281.  <symbol id="icon-close" class="icon icon-close" fill="none" viewBox="0 0 18 17">
  282.    <path d="M.865 15.978a.5.5 0 00.707.707l7.433-7.431 7.579 7.282a.501.501 0 00.846-.37.5.5 0 00-.153-.351L9.712 8.546l7.417-7.416a.5.5 0 10-.707-.708L8.991 7.853 1.413.573a.5.5 0 10-.693.72l7.563 7.268-7.418 7.417z" fill="currentColor">
  283.  </symbol>
  284. </svg>
  285.  
  286.  
  287. <div id="easystore-section-header">
  288.  <sticky-header class="header-wrapper header-wrapper--border-bottom">
  289.    <header class="header header--middle-left page-width header--has-menu">
  290.      <header-drawer data-breakpoint="tablet">
  291.        <details class="menu-drawer-container menu-opening">
  292.          <summary class="header__icon header__icon--menu header__icon--summary link link--text focus-inset" aria-label="Menu" role="button" aria-expanded="true" aria-controls="menu-drawer">
  293.            <span>
  294.              
  295.  
  296.  
  297.    <svg class="icon icon-hamburger " data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 600 600"><path d="M32.5,65h535a25,25,0,0,0,0-50H32.5a25,25,0,0,0,0,50Z" fill="currentColor"/><path d="M567.5,275H32.5a25,25,0,0,0,0,50h535a25,25,0,0,0,0-50Z" fill="currentColor"/><path d="M567.5,535H32.5a25,25,0,0,0,0,50h535a25,25,0,0,0,0-50Z" fill="currentColor"/></svg>
  298.  
  299.  
  300.  
  301.              
  302.  
  303.  
  304.    <svg class="icon icon-close " data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 600 600"><path d="M335.36,300,581.87,53.48a25,25,0,0,0-35.35-35.35L300,264.64,53.48,18.13A25,25,0,0,0,18.13,53.48L264.64,300,18.13,546.52a25,25,0,0,0,35.35,35.35L300,335.36,546.52,581.87a25,25,0,0,0,35.35-35.35Z" fill="currentColor"/></svg>
  305.  
  306.  
  307.  
  308.            </span>
  309.          </summary>
  310.          <div id="menu-drawer" class="menu-drawer motion-reduce" tabindex="-1">
  311.            <div class="menu-drawer__inner-container">
  312.              <div class="menu-drawer__navigation-container">
  313.                <nav class="menu-drawer__navigation">
  314.                  <ul class="menu-drawer__menu list-menu" role="list">
  315.                    
  316.                    
  317.                      
  318.                        <li>
  319.                          <a href="/"  class="menu-drawer__menu-item list-menu__item link link--text focus-inset">
  320.                            Home
  321.                          </a>
  322.                        </li>
  323.                      
  324.                    
  325.                    
  326.                      
  327.                        
  328.                        <li>
  329.                          <details>
  330.                                <summary class="menu-drawer__menu-item list-menu__item link link--text focus-inset" role="button" aria-expanded="false" aria-controls="link-Bags">
  331.                                  <a href="/collections/all"  class="link--text list-menu__item menu-drawer__menu-item">
  332.                                    Catalog
  333.                                  </a>
  334.                                  
  335.  
  336.  
  337.    <svg class="icon icon-arrow " data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 600 339.56"><path d="M31.06,196.67H504l-88.56,88.56a26.89,26.89,0,1,0,38,38L588,188.79a26.89,26.89,0,0,0,0-38L453.49,16.29a26.89,26.89,0,0,0-38,38L504,142.88H31.06a26.9,26.9,0,0,0,0,53.79Z" fill="currentColor"/></svg>
  338.  
  339.  
  340.  
  341.                                  
  342.  
  343.  
  344.    <svg aria-hidden="true" focusable="false" role="presentation" class="icon icon-caret " viewBox="0 0 10 6">
  345.      <path fill-rule="evenodd" clip-rule="evenodd" d="M9.354.646a.5.5 0 00-.708 0L5 4.293 1.354.646a.5.5 0 00-.708.708l4 4a.5.5 0 00.708 0l4-4a.5.5 0 000-.708z" fill="currentColor"></path>
  346.    </svg>
  347.  
  348.  
  349.  
  350.                                </summary>
  351.                                <div class="menu-drawer__submenu motion-reduce" tabindex="-1">
  352.                                  <div class="menu-drawer__inner-submenu">
  353.                                    <button class="menu-drawer__close-button link link--text focus-inset" aria-expanded="true">
  354.                                      
  355.  
  356.  
  357.    <svg class="icon icon-arrow " data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 600 339.56"><path d="M31.06,196.67H504l-88.56,88.56a26.89,26.89,0,1,0,38,38L588,188.79a26.89,26.89,0,0,0,0-38L453.49,16.29a26.89,26.89,0,0,0-38,38L504,142.88H31.06a26.9,26.9,0,0,0,0,53.79Z" fill="currentColor"/></svg>
  358.  
  359.  
  360.  
  361.                                      Catalog
  362.                                    </button>
  363.                                    <ul class="menu-drawer__menu list-menu" role="list" tabindex="-1">
  364.                                      
  365.                                        
  366.                                        
  367.                                          <li>
  368.                                            <a href="/collections/new-arrival"  class="menu-drawer__menu-item link link--text list-menu__item focus-inset">
  369.                                              New arrival
  370.                                            </a>
  371.                                          </li>
  372.                                        
  373.                                      
  374.                                        
  375.                                        
  376.                                          <li>
  377.                                            <a href="/collections/hot-selling"  class="menu-drawer__menu-item link link--text list-menu__item focus-inset">
  378.                                              Hot selling
  379.                                            </a>
  380.                                          </li>
  381.                                        
  382.                                      
  383.                                      
  384.                                    </ul>
  385.                                  </div>
  386.                                </div>
  387.                          </details>
  388.                        </li>
  389.                      
  390.                    
  391.                    
  392.                      
  393.                        <li>
  394.                          <a href="/blogs/news"  class="menu-drawer__menu-item list-menu__item link link--text focus-inset">
  395.                            News
  396.                          </a>
  397.                        </li>
  398.                      
  399.                    
  400.                    
  401.                      
  402.                        <li>
  403.                          <a href="/store-locator"  class="menu-drawer__menu-item list-menu__item link link--text focus-inset">
  404.                            Location
  405.                          </a>
  406.                        </li>
  407.                      
  408.                    
  409.                  </ul>
  410.                </nav>
  411.  
  412.                <div class="menu-drawer__utility-links">
  413.  
  414.                  
  415.  
  416.  
  417.  
  418.  
  419.                  
  420.                  
  421.                  
  422.                    <a href="/account/login" class="menu-drawer__account link link--text focus-inset h5">
  423.                      
  424.  
  425.  
  426.    <svg class="icon icon-account " data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 600 600"><path d="M300,296.19c-70.7,0-137.11,28.74-187,80.93-49.59,51.87-76.9,120.77-76.9,194v25H563.89v-25c0-73.22-27.31-142.12-76.9-194C437.11,324.93,370.7,296.19,300,296.19ZM87.42,546.11C99.29,433.81,190.1,346.19,300,346.19s200.71,87.62,212.58,199.92Z" fill="currentColor"/><path d="M300,285.34c77.6,0,140.73-63.13,140.73-140.73S377.6,3.89,300,3.89,159.27,67,159.27,144.61,222.4,285.34,300,285.34Zm0-231.45a90.73,90.73,0,1,1-90.73,90.72A90.82,90.82,0,0,1,300,53.89Z" fill="currentColor"/></svg>
  427.  
  428.  
  429.                      
  430.                      Log in
  431.                    </a>
  432.                  
  433.                    <a href="/account/register" class="menu-drawer__account link link--text focus-inset h5">
  434.                      
  435.                      
  436.  
  437.  
  438.    <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" role="presentation" class="icon icon-plus " fill="none" viewBox="0 0 10 10">
  439.      <path fill-rule="evenodd" clip-rule="evenodd" d="M1 4.51a.5.5 0 000 1h3.5l.01 3.5a.5.5 0 001-.01V5.5l3.5-.01a.5.5 0 00-.01-1H5.5L5.49.99a.5.5 0 00-1 .01v3.5l-3.5.01H1z" fill="currentColor"></path>
  440.    </svg>
  441.  
  442.  
  443.                      Create account
  444.                    </a>
  445.                  
  446.                  
  447.                  
  448.                </div>
  449.              </div>
  450.            </div>
  451.          </div>
  452.        </details>
  453.      </header-drawer>
  454.  
  455.      
  456.        <h1 class="header__heading">
  457.          Bwptrend
  458.        </h1>
  459.      
  460.  
  461.      
  462.      <div class="header__search-input" tabindex="-1">
  463.        <form action="/search" method="get" role="search" class="search search-modal__form">
  464.          <div class="field">
  465.            <input class="search__input field__input"
  466.              id="Search-In-Modal"
  467.              type="search"
  468.              name="q"
  469.              value=""
  470.              placeholder="Search"
  471.              autocomplete="off"
  472.            >
  473.            <label class="field__label" for="Search-In-Modal">Search</label>
  474.            <div class="dropdown" id="searchDropdown"></div>
  475.            <input type="hidden" name="search_history" class="hidden_search_history">
  476.            <input type="hidden" name="options[prefix]" value="last">
  477.            <button class="search__button field__button" aria-label="Search">
  478.              <svg class="icon icon-search" aria-hidden="true" focusable="false" role="presentation">
  479.                <use href="#icon-search">
  480.              </svg>
  481.            </button>
  482.          </div>
  483.        </form>
  484.      </div>
  485.      
  486.  
  487.      <nav class="header__inline-menu">
  488.        <ul class="list-menu list-menu--inline" role="list">
  489.          
  490.            
  491.              
  492.                <li>
  493.                  <a href="/"  class="header__menu-item header__menu-item list-menu__item link link--text focus-inset">
  494.                    Home
  495.                  </a>
  496.                </li>
  497.              
  498.            
  499.            
  500.              
  501.                
  502.                <li>
  503.                  <details-disclosure>
  504.                    <details>
  505.                      <summary class="header__menu-item list-menu__item link focus-inset">
  506.                        <a href="/collections/all"  >Catalog</a>
  507.                        
  508.  
  509.  
  510.    <svg aria-hidden="true" focusable="false" role="presentation" class="icon icon-caret " viewBox="0 0 10 6">
  511.      <path fill-rule="evenodd" clip-rule="evenodd" d="M9.354.646a.5.5 0 00-.708 0L5 4.293 1.354.646a.5.5 0 00-.708.708l4 4a.5.5 0 00.708 0l4-4a.5.5 0 000-.708z" fill="currentColor"></path>
  512.    </svg>
  513.  
  514.  
  515.  
  516.                      </summary>
  517.                      <ul class="header__submenu list-menu list-menu--disclosure caption-large motion-reduce" role="list" tabindex="-1">
  518.                        
  519.                        
  520.                        
  521.                          
  522.                            
  523.                            <li>
  524.                              <a href="/collections/new-arrival"  class="header__menu-item list-menu__item link link--text focus-inset caption-large">
  525.                                New arrival
  526.                              </a>
  527.                            </li>
  528.                          
  529.                        
  530.                        
  531.                          
  532.                            
  533.                            <li>
  534.                              <a href="/collections/hot-selling"  class="header__menu-item list-menu__item link link--text focus-inset caption-large">
  535.                                Hot selling
  536.                              </a>
  537.                            </li>
  538.                          
  539.                        
  540.                      </ul>
  541.                    </details>
  542.                  </details-disclosure>
  543.                </li>
  544.              
  545.            
  546.            
  547.              
  548.                <li>
  549.                  <a href="/blogs/news"  class="header__menu-item header__menu-item list-menu__item link link--text focus-inset">
  550.                    News
  551.                  </a>
  552.                </li>
  553.              
  554.            
  555.            
  556.              
  557.                <li>
  558.                  <a href="/store-locator"  class="header__menu-item header__menu-item list-menu__item link link--text focus-inset">
  559.                    Location
  560.                  </a>
  561.                </li>
  562.              
  563.            
  564.            
  565.            
  566.              
  567.                
  568.                  
  569.                
  570.                  
  571.                
  572.              
  573.            
  574.        </ul>
  575.      </nav>
  576.      <div class="header__icons">
  577.  
  578.        
  579.          
  580.            <div class="header__icon header__icon--account link link--text focus-inset small-hide medium-hide">
  581.              <a href="/account/login" class="header__icon link link--text focus-inset p-2">
  582.                
  583.  
  584.  
  585.    <svg class="icon icon-account " data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 600 600"><path d="M300,296.19c-70.7,0-137.11,28.74-187,80.93-49.59,51.87-76.9,120.77-76.9,194v25H563.89v-25c0-73.22-27.31-142.12-76.9-194C437.11,324.93,370.7,296.19,300,296.19ZM87.42,546.11C99.29,433.81,190.1,346.19,300,346.19s200.71,87.62,212.58,199.92Z" fill="currentColor"/><path d="M300,285.34c77.6,0,140.73-63.13,140.73-140.73S377.6,3.89,300,3.89,159.27,67,159.27,144.61,222.4,285.34,300,285.34Zm0-231.45a90.73,90.73,0,1,1-90.73,90.72A90.82,90.82,0,0,1,300,53.89Z" fill="currentColor"/></svg>
  586.  
  587.  
  588.  
  589.                <span id="my-account" class="header__link-label">Login</span>
  590.              </a>
  591.          </div>
  592.          
  593.        
  594.  
  595.        <a href="/cart" class="header__icon link link--text focus-inset" id="cart-icon-bubble">
  596.          <span class="header__icon--cart">
  597.            
  598.  
  599.  
  600.    <svg class="icon icon-cart-empty " data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496.56 600"><path d="M453.52,128.63a25,25,0,0,0-24.91-22.8H364.72a117.48,117.48,0,0,0-232.89,0H67.94A25,25,0,0,0,43,128.63L8.8,515.21a72.11,72.11,0,0,0,19.05,55.6,79,79,0,0,0,58.22,25.3H410.49a79,79,0,0,0,58.22-25.3,72.11,72.11,0,0,0,19.05-55.6ZM248.28,53.89a67.58,67.58,0,0,1,65.65,51.94H182.63A67.57,67.57,0,0,1,248.28,53.89ZM431.83,537.05a28.85,28.85,0,0,1-21.34,9.06H86.07a28.85,28.85,0,0,1-21.34-9.06,22.69,22.69,0,0,1-6.13-17.43L90.82,155.83h40v51.23a25,25,0,0,0,50,0V155.83h135v51.23a25,25,0,0,0,50,0V155.83h40L438,519.62A22.68,22.68,0,0,1,431.83,537.05Z" fill="currentColor"/></svg>
  601.  
  602.  
  603.  
  604.            <div class="cart-count-bubble hidden">
  605.              <span aria-hidden="true" class="js-content-cart-count">0</span>
  606.            </div>
  607.          </span>
  608.          <span class="header__link-label medium-hide small-hide">
  609.            Cart
  610.          </span>
  611.        </a>
  612.        
  613.      </div>
  614.    </header>
  615.  </sticky-header>
  616.  
  617. <cart-notification>
  618.  <div class="cart-notification-wrapper page-width color-background-1">
  619.    <div id="cart-notification" class="cart-notification focus-inset" aria-modal="true" aria-label="Added to cart" role="dialog" tabindex="-1">
  620.      <div class="cart-notification__header">
  621.        <h2 class="cart-notification__heading caption-large">
  622.  
  623.  
  624.    <svg class="icon icon-checkmark color-foreground-text " aria-hidden="true" focusable="false" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 9" fill="none">
  625.      <path fill-rule="evenodd" clip-rule="evenodd" d="M11.35.643a.5.5 0 01.006.707l-6.77 6.886a.5.5 0 01-.719-.006L.638 4.845a.5.5 0 11.724-.69l2.872 3.011 6.41-6.517a.5.5 0 01.707-.006h-.001z" fill="currentColor"></path>
  626.    </svg>
  627.  
  628.  
  629. Added to cart</h2>
  630.        <button type="button" class="cart-notification__close modal__close-button link link--text focus-inset" aria-label="accessibility.close">
  631.          
  632.  
  633.  
  634.    <svg class="icon icon-close " data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 600 600"><path d="M335.36,300,581.87,53.48a25,25,0,0,0-35.35-35.35L300,264.64,53.48,18.13A25,25,0,0,0,18.13,53.48L264.64,300,18.13,546.52a25,25,0,0,0,35.35,35.35L300,335.36,546.52,581.87a25,25,0,0,0,35.35-35.35Z" fill="currentColor"/></svg>
  635.  
  636.  
  637.  
  638.        </button>
  639.      </div>
  640.      <div id="cart-notification-product" class="cart-notification-product"></div>
  641.      <div class="cart-notification__links">
  642.        <a href="/cart" id="cart-notification-button" class="button button--secondary button--full-width">View cart (<span class="js-content-cart-count">0</span>)</a>
  643.        <form action="/cart" method="post" id="cart-notification-form">
  644.          <input type="hidden" name="_token" value="nRKUgjdK0K8Jy4Pjd60rcdngN8FGbq2Fvb1lYK1M">
  645.          <input type="hidden" name="current_currency" value="USD">
  646.          <button class="button button--primary button--full-width" name="checkout" value="true">Checkout</button>
  647.        </form>
  648.        <button type="button" class="link button-label">Continue shopping</button>
  649.      </div>
  650.    </div>
  651.  </div>
  652. </cart-notification>
  653. <style>
  654.  .cart-notification {
  655.     display: none;
  656.  }
  657. </style>
  658. <script>
  659. document.getElementById('cart-notification-form').addEventListener('submit',(event)=>{
  660.  if(event.submitter) event.submitter.classList.add('loading');
  661. })
  662.  
  663. </script>
  664.  
  665. </div>
  666.  
  667.  
  668. <script>
  669.  
  670.  class StickyHeader extends HTMLElement {
  671.    constructor() {
  672.      super();
  673.    }
  674.  
  675.    connectedCallback() {
  676.      this.header = document.getElementById('easystore-section-header');
  677.      this.headerBounds = {};
  678.      this.currentScrollTop = 0;
  679.      this.preventReveal = false;
  680.  
  681.      this.onScrollHandler = this.onScroll.bind(this);
  682.      this.hideHeaderOnScrollUp = () => this.preventReveal = true;
  683.  
  684.      this.addEventListener('preventHeaderReveal', this.hideHeaderOnScrollUp);
  685.      window.addEventListener('scroll', this.onScrollHandler, false);
  686.  
  687.      this.createObserver();
  688.    }
  689.  
  690.    disconnectedCallback() {
  691.      this.removeEventListener('preventHeaderReveal', this.hideHeaderOnScrollUp);
  692.      window.removeEventListener('scroll', this.onScrollHandler);
  693.    }
  694.  
  695.    createObserver() {
  696.      let observer = new IntersectionObserver((entries, observer) => {
  697.        this.headerBounds = entries[0].intersectionRect;
  698.        observer.disconnect();
  699.      });
  700.  
  701.      observer.observe(this.header);
  702.    }
  703.  
  704.    onScroll() {
  705.      const scrollTop = window.pageYOffset || document.documentElement.scrollTop;
  706.  
  707.      if (scrollTop > this.currentScrollTop && scrollTop > this.headerBounds.bottom) {
  708.        requestAnimationFrame(this.hide.bind(this));
  709.      } else if (scrollTop < this.currentScrollTop && scrollTop > this.headerBounds.bottom) {
  710.        if (!this.preventReveal) {
  711.          requestAnimationFrame(this.reveal.bind(this));
  712.        } else {
  713.          window.clearTimeout(this.isScrolling);
  714.  
  715.          this.isScrolling = setTimeout(() => {
  716.            this.preventReveal = false;
  717.          }, 66);
  718.  
  719.          requestAnimationFrame(this.hide.bind(this));
  720.        }
  721.      } else if (scrollTop <= this.headerBounds.top) {
  722.        requestAnimationFrame(this.reset.bind(this));
  723.      }
  724.  
  725.  
  726.      this.currentScrollTop = scrollTop;
  727.    }
  728.  
  729.    hide() {
  730.      this.header.classList.add('easystore-section-header-hidden', 'easystore-section-header-sticky');
  731.      this.closeMenuDisclosure();
  732.      // this.closeSearchModal();
  733.    }
  734.  
  735.    reveal() {
  736.      this.header.classList.add('easystore-section-header-sticky', 'animate');
  737.      this.header.classList.remove('easystore-section-header-hidden');
  738.    }
  739.  
  740.    reset() {
  741.      this.header.classList.remove('easystore-section-header-hidden', 'easystore-section-header-sticky', 'animate');
  742.    }
  743.  
  744.    closeMenuDisclosure() {
  745.      this.disclosures = this.disclosures || this.header.querySelectorAll('details-disclosure');
  746.      this.disclosures.forEach(disclosure => disclosure.close());
  747.    }
  748.  
  749.    // closeSearchModal() {
  750.    //   this.searchModal = this.searchModal || this.header.querySelector('details-modal');
  751.    //   this.searchModal.close(false);
  752.    // }
  753.  }
  754.  
  755.  customElements.define('sticky-header', StickyHeader);
  756.  
  757.  
  758.  class DetailsDisclosure extends HTMLElement{
  759.    constructor() {
  760.      super();
  761.      this.mainDetailsToggle = this.querySelector('details');
  762.      // this.mainDetailsToggle.addEventListener('focusout', this.onFocusOut.bind(this));
  763.      this.mainDetailsToggle.addEventListener('mouseover', this.open.bind(this));
  764.      this.mainDetailsToggle.addEventListener('mouseleave', this.close.bind(this));
  765.    }
  766.  
  767.    onFocusOut() {
  768.      setTimeout(() => {
  769.        if (!this.contains(document.activeElement)) this.close();
  770.      })
  771.    }
  772.  
  773.    open() {
  774.      this.mainDetailsToggle.setAttribute('open',1)
  775.    }
  776.  
  777.    close() {
  778.      this.mainDetailsToggle.removeAttribute('open')
  779.    }
  780.  }
  781.  
  782.  customElements.define('details-disclosure', DetailsDisclosure);
  783.  
  784.  function clearAll() {
  785.    localStorage.removeItem('searchHistory');
  786.    
  787.    var customer = "";
  788.    if(customer) {
  789.      // Your logic to clear all data or call an endpoint
  790.      fetch('/account/search_histories', {
  791.          method: 'DELETE',
  792.          headers: {
  793.            "Content-Type": "application/json",
  794.            "X-Requested-With": "XMLHttpRequest"
  795.          },
  796.          body: JSON.stringify({
  797.            _token: "nRKUgjdK0K8Jy4Pjd60rcdngN8FGbq2Fvb1lYK1M"
  798.          }),
  799.      })
  800.      .then(response => response.json())
  801.    }
  802.  }
  803.  // End - delete search history from local storage
  804.  
  805.  // search history dropdown  
  806.  var searchInputs = document.querySelectorAll('.search__input');
  807.  
  808.  if(searchInputs.length > 0) {
  809.    
  810.    searchInputs.forEach((searchInput)=> {
  811.    
  812.      searchInput.addEventListener('focus', function() {
  813.        var searchDropdown = searchInput.closest('form').querySelector('#searchDropdown');
  814.        searchDropdown.innerHTML = ''; // Clear existing items
  815.  
  816.        // retrieve data from local storage
  817.        var searchHistoryData = JSON.parse(localStorage.getItem('searchHistory')) || [];
  818.  
  819.        // Convert JSON to string
  820.        var search_history_json = JSON.stringify(searchHistoryData);
  821.  
  822.        // Set the value of the hidden input
  823.        searchInput.closest('form').querySelector(".hidden_search_history").value = search_history_json;
  824.  
  825.        // create dropdown items
  826.        var clearAllItem = document.createElement('div');
  827.        clearAllItem.className = 'dropdown-item clear-all';
  828.        clearAllItem.textContent = 'Clear';
  829.        clearAllItem.addEventListener('click', function() {
  830.          clearAll();
  831.          searchDropdown.style.display = 'none';
  832.          searchInput.classList.remove('is-focus');
  833.        });
  834.        searchDropdown.appendChild(clearAllItem);
  835.  
  836.        // create dropdown items
  837.        searchHistoryData.forEach(function(item) {
  838.          var dropdownItem = document.createElement('div');
  839.          dropdownItem.className = 'dropdown-item';
  840.          dropdownItem.textContent = item.term;
  841.          dropdownItem.addEventListener('click', function() {
  842.            searchInput.value = item.term;
  843.            searchInput.closest('form').submit();
  844.            searchDropdown.style.display = 'none';
  845.          });
  846.          searchDropdown.appendChild(dropdownItem);
  847.        });
  848.  
  849.        if(searchHistoryData.length > 0){
  850.          // display the dropdown
  851.          searchInput.classList.add('is-focus');
  852.          document.body.classList.add('search-input-focus');
  853.          searchDropdown.style.display = 'block';
  854.        }
  855.      });
  856.  
  857.      searchInput.addEventListener("focusout", (event) => {
  858.        var searchDropdown = searchInput.closest('form').querySelector('#searchDropdown');
  859.        searchInput.classList.remove('is-focus');
  860.        searchDropdown.classList.add('transparent');
  861.        setTimeout(()=>{
  862.          searchDropdown.style.display = 'none';
  863.          searchDropdown.classList.remove('transparent');
  864.          document.body.classList.remove('search-input-focus');
  865.        }, 400);
  866.      });
  867.    })
  868.  }
  869.  // End - search history dropdown
  870. </script>
  871.  
  872.  
  873.  <main id="MainContent" class="content-for-layout focus-none" role="main" tabindex="-1">
  874.    
  875.    <link rel="preload" href="https://themes.easystore.co/63057/assets/component-card.css?t=1719479816" as="style" onload="this.onload=null;this.rel='stylesheet'">
  876. <link rel="preload" href="https://themes.easystore.co/63057/assets/component-price.css?t=1719479816" as="style" onload="this.onload=null;this.rel='stylesheet'">
  877. <link rel="preload" href="https://themes.easystore.co/63057/assets/component-product-grid.css?t=1719479816" as="style" onload="this.onload=null;this.rel='stylesheet'">
  878. <div style="text-align: center; display: flex; flex-direction: column; align-items: center; margin: 0rem 2rem;">
  879.  <h1>Oops...</h1>
  880.  <p>The page you're looking for has changed or doesn't exist anymore.</p>
  881.  
  882.  <p>Feel free to explore our store using the search bar.</p>
  883.  <div class="template-search__search" style="width: 100%; max-width: 500px;">
  884.    <form action="/search" method="get" role="search" class="search">
  885.      <div class="field">
  886.        <input
  887.          class="search__input field__input"
  888.          id="Search-In-Template"
  889.          type="search"
  890.          name="q"
  891.          value=""
  892.          placeholder="Search"
  893.          autocomplete="off"
  894.        >
  895.        <label class="field__label" for="Search-In-Template">Search</label>
  896.        <div class="dropdown" id="searchDropdown"></div>
  897.        <input type="hidden" name="search_history" class="hidden_search_history">
  898.  
  899.        <button type="submit" class="search__button field__button" aria-label="Search">
  900.          <svg class="icon icon-search"><use xlink:href="#icon-search"></svg>
  901.        </button>
  902.      </div>
  903.    </form>
  904.  </div>
  905. </div>
  906.  
  907.  
  908.  <section class="product-section page-width spaced-section">
  909.    <product-recommendations>
  910.      <h2 class="product-recommendations__heading" style="text-align: center;">
  911.        A chosen few you'll love
  912.      </h2>
  913.      <ul class="grid grid--2-col product-grid grid--4-col-desktop grid--quarter-max" role="list">
  914.        
  915.          
  916.          
  917.         <li class="grid__item">
  918.            
  919.  
  920.  
  921.  
  922.  
  923.  
  924.  
  925.  
  926.  
  927.  
  928.  
  929.  
  930.  
  931.  
  932.  
  933.  
  934. <div class="product-card-wrapper card-wrapper">
  935.  <a href="/products/best-underware-for-shemale-who-is-watching-method-" class="full-unstyled-link">
  936.    
  937.    <div class="card card--product grid-link__image--product" tabindex="-1">
  938.      <div class="card__inner">
  939.        <div class="media media--transparent media--square media--hover-effect">
  940.          <img src="https://s3.dualstack.ap-southeast-1.amazonaws.com/eesb.public/images/products/no_image.png?width=480" alt="https://s3.dualstack.ap-southeast-1.amazonaws.com/eesb.public/images/products/no_image.png" loading="lazy">
  941.          
  942.        </div>
  943.        
  944.          <div class="card__badge card__badge-on_sale card__badge-top-left"><span class="badge badge-ribbon badge--top-left color-accent-2" aria-hidden="true">Sale</span></div>
  945.        
  946.        
  947.      </div>
  948.    </div>
  949.    
  950.    <div class="card-information">
  951.      <div class="card-information__wrapper">
  952.        
  953.        <span class="card-information__text">
  954.          best underware for shemale who is watching method
  955.        </span>
  956.        
  957.        <span class="caption-large light"></span>
  958.        
  959.  
  960. <div class="price
  961.  
  962.  
  963.   price--on-sale "
  964.  data-expires="">
  965.  
  966.  <dl>
  967.    <div class="price__regular">
  968.      <dt>
  969.        <span class="visually-hidden visually-hidden--inline">Regular price</span>
  970.      </dt>
  971.      <dd >
  972.        <span class="price-item price-item--regular">
  973.          
  974.            
  975.  
  976.    <span class=money data-ori-price='50.00'>$ 50.00 </span>
  977.  
  978.  
  979.          
  980.        </span>
  981.      </dd>
  982.    </div>
  983.    <div class="price__sale">
  984.      <dt>
  985.        <span class="visually-hidden visually-hidden--inline">Sale price</span>
  986.      </dt>
  987.      <dd >
  988.        <span  class="price-item price-item--sale">
  989.          
  990.            
  991.  
  992.    <span class=money data-ori-price='50.00'>$ 50.00 </span>
  993.  
  994.  
  995.          
  996.        </span>
  997.      </dd>
  998.      
  999.      <dt class="price__compare">
  1000.        <span class="visually-hidden visually-hidden--inline">Regular price</span>
  1001.      </dt>
  1002.      <dd class="price__compare">
  1003.        <s class="price-item price-item--regular">
  1004.          
  1005.            <span class=money data-ori-price='100.00'>$ 100.00 </span>
  1006.          
  1007.          
  1008.        </s>
  1009.      </dd>
  1010.      
  1011.    </div>
  1012.  </dl>
  1013.  
  1014. </div>
  1015.  
  1016.      </div>
  1017.      
  1018.    </div>
  1019.  </a>
  1020. </div>
  1021.  
  1022.  
  1023.          </li>
  1024.        
  1025.          
  1026.          
  1027.         <li class="grid__item">
  1028.            
  1029.  
  1030.  
  1031.  
  1032.  
  1033.  
  1034.  
  1035.  
  1036.  
  1037.  
  1038.  
  1039.  
  1040.  
  1041.  
  1042.  
  1043.  
  1044. <div class="product-card-wrapper card-wrapper">
  1045.  <a href="/products/best-award-sheild-" class="full-unstyled-link">
  1046.    
  1047.    <div class="card card--product grid-link__image--product" tabindex="-1">
  1048.      <div class="card__inner">
  1049.        <div class="media media--transparent media--square media--hover-effect">
  1050.          <img src="https://s3.dualstack.ap-southeast-1.amazonaws.com/eesb.public/images/products/no_image.png?width=480" alt="https://s3.dualstack.ap-southeast-1.amazonaws.com/eesb.public/images/products/no_image.png" loading="lazy">
  1051.          
  1052.        </div>
  1053.        
  1054.          <div class="card__badge card__badge-on_sale card__badge-top-left"><span class="badge badge-ribbon badge--top-left color-accent-2" aria-hidden="true">Sale</span></div>
  1055.        
  1056.        
  1057.      </div>
  1058.    </div>
  1059.    
  1060.    <div class="card-information">
  1061.      <div class="card-information__wrapper">
  1062.        
  1063.        <span class="card-information__text">
  1064.          best award sheild
  1065.        </span>
  1066.        
  1067.        <span class="caption-large light"></span>
  1068.        
  1069.  
  1070. <div class="price
  1071.  
  1072.  
  1073.   price--on-sale "
  1074.  data-expires="">
  1075.  
  1076.  <dl>
  1077.    <div class="price__regular">
  1078.      <dt>
  1079.        <span class="visually-hidden visually-hidden--inline">Regular price</span>
  1080.      </dt>
  1081.      <dd >
  1082.        <span class="price-item price-item--regular">
  1083.          
  1084.            
  1085.  
  1086.    <span class=money data-ori-price='50.00'>$ 50.00 </span>
  1087.  
  1088.  
  1089.          
  1090.        </span>
  1091.      </dd>
  1092.    </div>
  1093.    <div class="price__sale">
  1094.      <dt>
  1095.        <span class="visually-hidden visually-hidden--inline">Sale price</span>
  1096.      </dt>
  1097.      <dd >
  1098.        <span  class="price-item price-item--sale">
  1099.          
  1100.            
  1101.  
  1102.    <span class=money data-ori-price='50.00'>$ 50.00 </span>
  1103.  
  1104.  
  1105.          
  1106.        </span>
  1107.      </dd>
  1108.      
  1109.      <dt class="price__compare">
  1110.        <span class="visually-hidden visually-hidden--inline">Regular price</span>
  1111.      </dt>
  1112.      <dd class="price__compare">
  1113.        <s class="price-item price-item--regular">
  1114.          
  1115.            <span class=money data-ori-price='100.00'>$ 100.00 </span>
  1116.          
  1117.          
  1118.        </s>
  1119.      </dd>
  1120.      
  1121.    </div>
  1122.  </dl>
  1123.  
  1124. </div>
  1125.  
  1126.      </div>
  1127.      
  1128.    </div>
  1129.  </a>
  1130. </div>
  1131.  
  1132.  
  1133.          </li>
  1134.        
  1135.          
  1136.          
  1137.         <li class="grid__item">
  1138.            
  1139.  
  1140.  
  1141.  
  1142.  
  1143.  
  1144.  
  1145.  
  1146.  
  1147.  
  1148.  
  1149.  
  1150.  
  1151.  
  1152.  
  1153.  
  1154. <div class="product-card-wrapper card-wrapper">
  1155.  <a href="/products/best-watch" class="full-unstyled-link">
  1156.    
  1157.    <div class="card card--product grid-link__image--product" tabindex="-1">
  1158.      <div class="card__inner">
  1159.        <div class="media media--transparent media--square media--hover-effect">
  1160.          <img src="https://s3.dualstack.ap-southeast-1.amazonaws.com/eesb.public/images/products/no_image.png?width=480" alt="https://s3.dualstack.ap-southeast-1.amazonaws.com/eesb.public/images/products/no_image.png" loading="lazy">
  1161.          
  1162.        </div>
  1163.        
  1164.          <div class="card__badge card__badge-on_sale card__badge-top-left"><span class="badge badge-ribbon badge--top-left color-accent-2" aria-hidden="true">Sale</span></div>
  1165.        
  1166.        
  1167.      </div>
  1168.    </div>
  1169.    
  1170.    <div class="card-information">
  1171.      <div class="card-information__wrapper">
  1172.        
  1173.        <span class="card-information__text">
  1174.          best watch
  1175.        </span>
  1176.        
  1177.        <span class="caption-large light"></span>
  1178.        
  1179.  
  1180. <div class="price
  1181.  
  1182.  
  1183.   price--on-sale "
  1184.  data-expires="">
  1185.  
  1186.  <dl>
  1187.    <div class="price__regular">
  1188.      <dt>
  1189.        <span class="visually-hidden visually-hidden--inline">Regular price</span>
  1190.      </dt>
  1191.      <dd >
  1192.        <span class="price-item price-item--regular">
  1193.          
  1194.            
  1195.  
  1196.    <span class=money data-ori-price='50.00'>$ 50.00 </span>
  1197.  
  1198.  
  1199.          
  1200.        </span>
  1201.      </dd>
  1202.    </div>
  1203.    <div class="price__sale">
  1204.      <dt>
  1205.        <span class="visually-hidden visually-hidden--inline">Sale price</span>
  1206.      </dt>
  1207.      <dd >
  1208.        <span  class="price-item price-item--sale">
  1209.          
  1210.            
  1211.  
  1212.    <span class=money data-ori-price='50.00'>$ 50.00 </span>
  1213.  
  1214.  
  1215.          
  1216.        </span>
  1217.      </dd>
  1218.      
  1219.      <dt class="price__compare">
  1220.        <span class="visually-hidden visually-hidden--inline">Regular price</span>
  1221.      </dt>
  1222.      <dd class="price__compare">
  1223.        <s class="price-item price-item--regular">
  1224.          
  1225.            <span class=money data-ori-price='100.00'>$ 100.00 </span>
  1226.          
  1227.          
  1228.        </s>
  1229.      </dd>
  1230.      
  1231.    </div>
  1232.  </dl>
  1233.  
  1234. </div>
  1235.  
  1236.      </div>
  1237.      
  1238.    </div>
  1239.  </a>
  1240. </div>
  1241.  
  1242.  
  1243.          </li>
  1244.        
  1245.          
  1246.          
  1247.         <li class="grid__item">
  1248.            
  1249.  
  1250.  
  1251.  
  1252.  
  1253.  
  1254.  
  1255.  
  1256.  
  1257.  
  1258.  
  1259.  
  1260.  
  1261.  
  1262.  
  1263.  
  1264. <div class="product-card-wrapper card-wrapper">
  1265.  <a href="/products/subproduct" class="full-unstyled-link">
  1266.    
  1267.    <div class="card card--product grid-link__image--product" tabindex="-1">
  1268.      <div class="card__inner">
  1269.        <div class="media media--transparent media--square media--hover-effect">
  1270.          <img src="https://s3.dualstack.ap-southeast-1.amazonaws.com/eesb.public/images/products/no_image.png?width=480" alt="https://s3.dualstack.ap-southeast-1.amazonaws.com/eesb.public/images/products/no_image.png" loading="lazy">
  1271.          
  1272.        </div>
  1273.        
  1274.          <div class="card__badge card__badge-on_sale card__badge-top-left"><span class="badge badge-ribbon badge--top-left color-accent-2" aria-hidden="true">Sale</span></div>
  1275.        
  1276.        
  1277.      </div>
  1278.    </div>
  1279.    
  1280.    <div class="card-information">
  1281.      <div class="card-information__wrapper">
  1282.        
  1283.        <span class="card-information__text">
  1284.          subproduct
  1285.        </span>
  1286.        
  1287.        <span class="caption-large light"></span>
  1288.        
  1289.  
  1290. <div class="price
  1291.  
  1292.  
  1293.   price--on-sale "
  1294.  data-expires="">
  1295.  
  1296.  <dl>
  1297.    <div class="price__regular">
  1298.      <dt>
  1299.        <span class="visually-hidden visually-hidden--inline">Regular price</span>
  1300.      </dt>
  1301.      <dd >
  1302.        <span class="price-item price-item--regular">
  1303.          
  1304.            
  1305.  
  1306.    <span class=money data-ori-price='50.00'>$ 50.00 </span>
  1307.  
  1308.  
  1309.          
  1310.        </span>
  1311.      </dd>
  1312.    </div>
  1313.    <div class="price__sale">
  1314.      <dt>
  1315.        <span class="visually-hidden visually-hidden--inline">Sale price</span>
  1316.      </dt>
  1317.      <dd >
  1318.        <span  class="price-item price-item--sale">
  1319.          
  1320.            
  1321.  
  1322.    <span class=money data-ori-price='50.00'>$ 50.00 </span>
  1323.  
  1324.  
  1325.          
  1326.        </span>
  1327.      </dd>
  1328.      
  1329.      <dt class="price__compare">
  1330.        <span class="visually-hidden visually-hidden--inline">Regular price</span>
  1331.      </dt>
  1332.      <dd class="price__compare">
  1333.        <s class="price-item price-item--regular">
  1334.          
  1335.            <span class=money data-ori-price='100.00'>$ 100.00 </span>
  1336.          
  1337.          
  1338.        </s>
  1339.      </dd>
  1340.      
  1341.    </div>
  1342.  </dl>
  1343.  
  1344. </div>
  1345.  
  1346.      </div>
  1347.      
  1348.    </div>
  1349.  </a>
  1350. </div>
  1351.  
  1352.  
  1353.          </li>
  1354.        
  1355.      </ul>
  1356.    </product-recommendations>
  1357.  </section>
  1358.  
  1359.  
  1360. <script>
  1361.  function clearAll() {
  1362.    localStorage.removeItem('searchHistory');
  1363.    
  1364.    var customer = "";
  1365.    if(customer) {
  1366.      // Your logic to clear all data or call an endpoint
  1367.      fetch('/account/search_histories', {
  1368.          method: 'DELETE',
  1369.          headers: {
  1370.            "Content-Type": "application/json",
  1371.            "X-Requested-With": "XMLHttpRequest"
  1372.          },
  1373.          body: JSON.stringify({
  1374.            _token: "nRKUgjdK0K8Jy4Pjd60rcdngN8FGbq2Fvb1lYK1M"
  1375.          }),
  1376.      })
  1377.      .then(response => response.json())
  1378.    }
  1379.  }
  1380.  // End - delete search history from local storage
  1381.  
  1382.  // search history dropdown  
  1383.  var searchInputs = document.querySelectorAll('.search__input');
  1384.  
  1385.  if(searchInputs.length > 0) {
  1386.    
  1387.    searchInputs.forEach((searchInput)=> {
  1388.    
  1389.      searchInput.addEventListener('focus', function() {
  1390.        var searchDropdown = searchInput.closest('form').querySelector('#searchDropdown');
  1391.        searchDropdown.innerHTML = ''; // Clear existing items
  1392.  
  1393.        // retrieve data from local storage
  1394.        var searchHistoryData = JSON.parse(localStorage.getItem('searchHistory')) || [];
  1395.  
  1396.        // Convert JSON to string
  1397.        var search_history_json = JSON.stringify(searchHistoryData);
  1398.  
  1399.        // Set the value of the hidden input
  1400.        searchInput.closest('form').querySelector(".hidden_search_history").value = search_history_json;
  1401.  
  1402.        // create dropdown items
  1403.        var clearAllItem = document.createElement('div');
  1404.        clearAllItem.className = 'dropdown-item clear-all';
  1405.        clearAllItem.textContent = 'Clear';
  1406.        clearAllItem.addEventListener('click', function() {
  1407.          clearAll();
  1408.          searchDropdown.style.display = 'none';
  1409.          searchInput.classList.remove('is-focus');
  1410.        });
  1411.        searchDropdown.appendChild(clearAllItem);
  1412.  
  1413.        // create dropdown items
  1414.        searchHistoryData.forEach(function(item) {
  1415.          var dropdownItem = document.createElement('div');
  1416.          dropdownItem.className = 'dropdown-item';
  1417.          dropdownItem.textContent = item.term;
  1418.          dropdownItem.addEventListener('click', function() {
  1419.            searchInput.value = item.term;
  1420.            searchInput.closest('form').submit();
  1421.            searchDropdown.style.display = 'none';
  1422.          });
  1423.          searchDropdown.appendChild(dropdownItem);
  1424.        });
  1425.  
  1426.        if(searchHistoryData.length > 0){
  1427.          // display the dropdown
  1428.          searchInput.classList.add('is-focus');
  1429.          document.body.classList.add('search-input-focus');
  1430.          searchDropdown.style.display = 'block';
  1431.        }
  1432.      });
  1433.  
  1434.      searchInput.addEventListener("focusout", (event) => {
  1435.        var searchDropdown = searchInput.closest('form').querySelector('#searchDropdown');
  1436.        searchInput.classList.remove('is-focus');
  1437.        searchDropdown.classList.add('transparent');
  1438.        setTimeout(()=>{
  1439.          searchDropdown.style.display = 'none';
  1440.          searchDropdown.classList.remove('transparent');
  1441.          document.body.classList.remove('search-input-focus');
  1442.        }, 400);
  1443.      });
  1444.    })
  1445.  }
  1446.  // End - search history dropdown
  1447. </script>
  1448.    
  1449.  </main>
  1450. <style>
  1451.  .footer{
  1452.    background-color: #010517;
  1453.    color: #FEFEFE;
  1454.    --color-foreground: 254,254,254;
  1455.  }
  1456.  .footer .link--text,
  1457.  .footer .list-menu__item--link,
  1458.  .footer .footer-block__details-content .list-menu__item--link{
  1459.    color: #FEFEFE;
  1460.  }
  1461.  .footer-block__heading{
  1462.    color: #FFFFFF;
  1463.  }
  1464.  .rounded{
  1465.    border-radius: 10px;
  1466.  }
  1467.  .shopping-app-border{
  1468.    border: 1px #ECECEC solid;
  1469.    margin-right: 3px;
  1470.  }
  1471.  .app-download-badge{
  1472.    display: inline-block;
  1473.    margin-right: 3px;
  1474.  }
  1475. </style>
  1476.  
  1477. <link rel="preload" href="https://themes.easystore.co/63057/assets/section-footer.css?t=1719479816" as="style" onload="this.onload=null;this.rel='stylesheet'">
  1478.  
  1479. <footer class="footer color-background-1">
  1480.  <div class="footer__content-top page-width">
  1481.    <div class="grid grid--1-col grid--4-col-tablet ">
  1482.      
  1483.      
  1484.      
  1485.        <div class="grid__item">
  1486.          
  1487.              <h2 class="footer-block__heading">Follow us</h2>
  1488.              <ul class="footer__list-social list-unstyled list-social footer-block__details-content" role="list">
  1489.                
  1490.                  <li class="list-social__item">
  1491.                    <a href="https://twitter.com/" class="link link--text list-social__link">
  1492.                      
  1493.  
  1494.  
  1495.    <svg class="icon icon-twitter " viewBox="0 0 22 22" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
  1496.      <path stroke="none" d="M0 0h24v24H0z" fill="none"/>
  1497.      <path d="M3 3l11.733 16h4.267l-11.733 -16z" />
  1498.      <path d="M3 19l6.768 -6.768m2.46 -2.46l6.772 -6.772" />
  1499.    </svg>
  1500.  
  1501.  
  1502.  
  1503.                    </a>
  1504.                  </li>
  1505.                
  1506.                
  1507.                  <li class="list-social__item">
  1508.                    <a href="https://facebook.com/" class="link link--text list-social__link">
  1509.                      
  1510.  
  1511.  
  1512.    <svg aria-hidden="true" focusable="false" role="presentation" class="icon icon-facebook "
  1513.    viewBox="0 0 18 18">
  1514.      <path fill="currentColor"
  1515.        d="M16.42.61c.27 0 .5.1.69.28.19.2.28.42.28.7v15.44c0 .27-.1.5-.28.69a.94.94 0 01-.7.28h-4.39v-6.7h2.25l.31-2.65h-2.56v-1.7c0-.4.1-.72.28-.93.18-.2.5-.32 1-.32h1.37V3.35c-.6-.06-1.27-.1-2.01-.1-1.01 0-1.83.3-2.45.9-.62.6-.93 1.44-.93 2.53v1.97H7.04v2.65h2.24V18H.98c-.28 0-.5-.1-.7-.28a.94.94 0 01-.28-.7V1.59c0-.27.1-.5.28-.69a.94.94 0 01.7-.28h15.44z">
  1516.      </path>
  1517.    </svg>
  1518.  
  1519.  
  1520.  
  1521.                    </a>
  1522.                  </li>
  1523.                
  1524.                
  1525.                  <li class="list-social__item">
  1526.                    <a href="https://instagram.com/" class="link link--text list-social__link">
  1527.                      
  1528.  
  1529.  
  1530.    <svg aria-hidden="true" focusable="false" role="presentation" class="icon icon-instagram "
  1531.    viewBox="0 0 18 18">
  1532.      <path fill="currentColor"
  1533.        d="M8.77 1.58c2.34 0 2.62.01 3.54.05.86.04 1.32.18 1.63.3.41.17.7.35 1.01.66.3.3.5.6.65 1 .12.32.27.78.3 1.64.05.92.06 1.2.06 3.54s-.01 2.62-.05 3.54a4.79 4.79 0 01-.3 1.63c-.17.41-.35.7-.66 1.01-.3.3-.6.5-1.01.66-.31.12-.77.26-1.63.3-.92.04-1.2.05-3.54.05s-2.62 0-3.55-.05a4.79 4.79 0 01-1.62-.3c-.42-.16-.7-.35-1.01-.66-.31-.3-.5-.6-.66-1a4.87 4.87 0 01-.3-1.64c-.04-.92-.05-1.2-.05-3.54s0-2.62.05-3.54c.04-.86.18-1.32.3-1.63.16-.41.35-.7.66-1.01.3-.3.6-.5 1-.65.32-.12.78-.27 1.63-.3.93-.05 1.2-.06 3.55-.06zm0-1.58C6.39 0 6.09.01 5.15.05c-.93.04-1.57.2-2.13.4-.57.23-1.06.54-1.55 1.02C1 1.96.7 2.45.46 3.02c-.22.56-.37 1.2-.4 2.13C0 6.1 0 6.4 0 8.77s.01 2.68.05 3.61c.04.94.2 1.57.4 2.13.23.58.54 1.07 1.02 1.56.49.48.98.78 1.55 1.01.56.22 1.2.37 2.13.4.94.05 1.24.06 3.62.06 2.39 0 2.68-.01 3.62-.05.93-.04 1.57-.2 2.13-.41a4.27 4.27 0 001.55-1.01c.49-.49.79-.98 1.01-1.56.22-.55.37-1.19.41-2.13.04-.93.05-1.23.05-3.61 0-2.39 0-2.68-.05-3.62a6.47 6.47 0 00-.4-2.13 4.27 4.27 0 00-1.02-1.55A4.35 4.35 0 0014.52.46a6.43 6.43 0 00-2.13-.41A69 69 0 008.77 0z">
  1534.      </path>
  1535.      <path fill="currentColor"
  1536.        d="M8.8 4a4.5 4.5 0 100 9 4.5 4.5 0 000-9zm0 7.43a2.92 2.92 0 110-5.85 2.92 2.92 0 010 5.85zM13.43 5a1.05 1.05 0 100-2.1 1.05 1.05 0 000 2.1z">
  1537.      </path>
  1538.    </svg>
  1539.  
  1540.  
  1541.  
  1542.                    </a>
  1543.                  </li>
  1544.                
  1545.                
  1546.                  <li class="list-social__item">
  1547.                    <a href="https://tiktok.com/" class="link link--text list-social__link">
  1548.                      
  1549.  
  1550.  
  1551.    <svg aria-hidden="true" focusable="false" role="presentation" class="icon icon-tiktok " width="16"
  1552.    height="18" fill="none" xmlns="http://www.w3.org/2000/svg">
  1553.      <path
  1554.        d="M8.02 0H11s-.17 3.82 4.13 4.1v2.95s-2.3.14-4.13-1.26l.03 6.1a5.52 5.52 0 11-5.51-5.52h.77V9.4a2.5 2.5 0 101.76 2.4L8.02 0z"
  1555.        fill="currentColor">
  1556.      </path>
  1557.    </svg>
  1558.  
  1559.  
  1560.  
  1561.                    </a>
  1562.                  </li>
  1563.                
  1564.                
  1565.                  <li class="list-social__item">
  1566.                    <a href="https://wa.me/" class="link link--text list-social__link">
  1567.                      
  1568.  
  1569.  
  1570.    <svg class="icon icon-whatsapp " fill="currentColor" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 750 750"><path d="M703.5,195.64A371,371,0,0,0,572,56C523.89,26,471.51,8.4,415.21,2.51A370.48,370.48,0,0,0,316.5,5.42,364,364,0,0,0,215.23,37.47a369,369,0,0,0-132.68,108Q17.36,230.17,7,336.63A370.11,370.11,0,0,0,53.42,554.94a7.23,7.23,0,0,1,.61,4.9Q36.48,624.6,18.7,689.27C13.24,709.19,7.75,729.1,2.14,749.5c1.23-.26,1.93-.36,2.61-.55q95.75-25.11,191.54-50.2a8.43,8.43,0,0,1,5.19.61c12.79,5.8,25.28,12.34,38.29,17.59A370.28,370.28,0,0,0,666.09,604q69.06-86.36,80-196.47A370.36,370.36,0,0,0,743,311.86,361,361,0,0,0,703.5,195.64ZM684.64,388c-3.6,65.27-25.48,123.75-66.06,174.9-44.89,56.63-102.85,93.24-173.19,109.84a297.41,297.41,0,0,1-91.27,7A305.68,305.68,0,0,1,215.31,635a17.54,17.54,0,0,0-15.2-2.14c-35.5,9.58-71.1,18.74-106.66,28-.49.13-1,.21-2.14.45,1.72-6.37,3.29-12.22,4.89-18Q109,596.7,121.66,550.07a7.12,7.12,0,0,0-1-5.07c-12.37-19.32-23.31-39.25-31.6-60.64A309,309,0,0,1,70.4,410.63c-6.11-49.35-.93-97.44,16.1-144.15,57.86-160.1,234.55-243,394.65-185.11a308.31,308.31,0,0,1,120.2,79.18c34.9,37.19,59.32,80.31,72.81,129.53A304.75,304.75,0,0,1,684.64,388Z"/><path d="M556,454.42c-13.84-6.52-27.43-13.55-41.24-20.12-11.47-5.46-23-10.89-34.73-15.69-9.1-3.73-13.09-1.72-19.12,6.06-9.39,12.09-19.09,23.95-28.89,35.71-4.7,5.63-9.47,6.79-16.1,3.8-12.32-5.56-24.82-10.9-36.58-17.51-39.6-22.29-69.59-54.3-92.67-93.11-4.87-8.2-4.3-12.16,2.14-19.13,9.07-9.9,18.4-19.63,24.09-32.12a17.42,17.42,0,0,0,.47-14.67c-9.55-23-19-46-28.75-68.92a75.82,75.82,0,0,0-7-12.7c-2.56-3.82-6.6-5.49-11.28-5.36H255.78v-.56c-5.48.29-11,.11-16.39,1-8.66,1.37-15,6.75-20.95,12.94-25.46,26.48-34.58,57.89-28.66,93.83a145.64,145.64,0,0,0,20.75,53.75C220.48,377.5,231.32,393,242.65,408a435.09,435.09,0,0,0,70.53,73.19c31.48,26,67,44.54,105.56,57.58,16.1,5.44,32.08,11.08,49.36,11.42,11.52.22,23,.08,34.16-3.22a110.77,110.77,0,0,0,42.1-23.61c5.48-4.81,10.48-10.18,13.19-17a110.56,110.56,0,0,0,7.57-37.2C565.27,461.93,562.42,457.42,556,454.42Z"/></svg>
  1571.  
  1572.  
  1573.  
  1574.                    </a>
  1575.                  </li>
  1576.                
  1577.                
  1578.                  <li class="list-social__item">
  1579.                    <a href="https://line.com/" class="link link--text list-social__link">
  1580.                      
  1581.  
  1582.  
  1583.    <svg class="icon icon-line-footer " fill="currentColor" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 750 750"><path d="M375,.5C168.17.5.5,168.17.5,375S168.17,749.5,375,749.5,749.5,581.83,749.5,375,581.83.5,375,.5ZM570.75,476.91C518.48,537.06,401.6,610.33,375,621.53s-22.66-7.13-21.57-13.42c.63-3.76,3.55-21.33,3.55-21.33.83-6.36,1.66-16.23-.83-22.52-2.81-7-13.83-10.54-21.95-12.29C214.51,536.14,125.9,452.45,125.9,352.53,125.9,241,237.64,150.38,375,150.38s249.1,90.68,249.1,202.15h0C624.14,397.14,606.85,437.32,570.75,476.91Z"/><polygon points="324.38 298.65 324.38 298.65 324.38 298.65 324.38 298.65"/><path d="M324.38,298.65H306.91a4.86,4.86,0,0,0-4.86,4.85V412a4.86,4.86,0,0,0,4.86,4.85h17.47a4.86,4.86,0,0,0,4.85-4.85V303.5A4.86,4.86,0,0,0,324.38,298.65Z"/><path d="M444.67,298.65h-17.5a4.85,4.85,0,0,0-4.85,4.85V368l-49.73-67.17a4.57,4.57,0,0,0-.38-.49,2.76,2.76,0,0,0-.29-.3l-.09-.09a2.65,2.65,0,0,0-.26-.21l-.12-.1-.25-.18-.15-.08-.26-.14-.15-.08-.28-.12-.16,0-.28-.1-.18,0-.27-.06H351.08a4.85,4.85,0,0,0-4.85,4.84V412a4.85,4.85,0,0,0,4.85,4.85h17.48a4.85,4.85,0,0,0,4.85-4.85V347.54l49.81,67.26a5.15,5.15,0,0,0,1.22,1.2h.06l.29.18.14.07.24.12.23.1.15,0,.32.11H426a4.69,4.69,0,0,0,1.24.16h17.48a4.85,4.85,0,0,0,4.86-4.84h0V303.5A4.87,4.87,0,0,0,444.67,298.65Z"/><path d="M282.26,389.67h0l0,0H234.79V303.5a4.85,4.85,0,0,0-4.83-4.85H212.47a4.84,4.84,0,0,0-4.85,4.84h0V412a4.74,4.74,0,0,0,1.35,3.32.27.27,0,0,0,.07.08l.07.07a4.81,4.81,0,0,0,3.33,1.35h69.81a4.84,4.84,0,0,0,4.84-4.84h0V394.52A4.84,4.84,0,0,0,282.26,389.67Z"/><path d="M541.16,371.34a4.85,4.85,0,0,0,4.85-4.85h0V349a4.85,4.85,0,0,0-4.84-4.85H493.72V325.84l47.42,0A4.83,4.83,0,0,0,546,321V303.5a4.85,4.85,0,0,0-4.84-4.86H471.34A4.81,4.81,0,0,0,468,300l-.05.05-.08.09a4.82,4.82,0,0,0-1.34,3.33V412a4.77,4.77,0,0,0,1.35,3.33l.07.07.07.07a4.8,4.8,0,0,0,3.32,1.36h69.81A4.85,4.85,0,0,0,546,412h0V394.5a4.85,4.85,0,0,0-4.84-4.85H493.72V371.34Z"/></svg>
  1584.  
  1585.  
  1586.  
  1587.                    </a>
  1588.                  </li>
  1589.                
  1590.                
  1591.                  <li class="list-social__item">
  1592.                    <a href="https://wechat.com/" class="link link--text list-social__link">
  1593.                      
  1594.  
  1595.  
  1596.    <svg class="icon icon-wechat " fill="currentColor" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 750 750"><path d="M372.31,344.63c30-25,64.6-40.77,102.63-49.15a300.24,300.24,0,0,1,45.43-6.61c5.81-.38,11.6-.81,17.41-1.1,1.9-.1,2.82-.61,2.47-2.74s-.43-4.35-.63-6.54a225,225,0,0,0-7.31-40.71c-10.79-38.76-31.69-71.57-59.89-99.89C443.56,108.89,409.5,88,371.11,74.1a288,288,0,0,0-92.8-17.38,214.68,214.68,0,0,0-24.59.6c-13.23,1.22-26.59,2.34-39.62,4.87-27.42,5.32-53.55,14.74-78.56,27.19C81.1,116.52,40.88,157.11,17.8,213.92c-10,24.63-16.23,50.2-17.22,76.79a268,268,0,0,0,1.54,35.94c2,20.14,7.8,39.35,16.06,57.79,16.49,36.82,41.46,67,72.92,91.91,5.45,4.32,11.08,8.43,16.67,12.58,5,3.74,7.24,8.41,5.45,14.69-1.45,5-2.91,10.06-4.07,15.16-4.66,21.08-9.21,42.18-13.79,63.28-.68,3.14-1.33,6.31-2.17,10.23l4.22-2.53c25-15.68,50.07-31.42,75.19-47,5.66-3.53,11.39-7.13,17.5-9.66,8.26-3.45,17.1-2,25.72-1.11,10.89,1.14,21.75,2.45,32.56,3.79,11.34,1.4,22.65,2.92,34,4.38,4.22.54,8.47,1,13,1.58V538.6c-.54-9-1.36-18.05-1.62-27.1a207.12,207.12,0,0,1,5.51-54.13C310.33,411.15,336.31,374.6,372.31,344.63Zm5.22-135.5a40,40,0,1,1,.23,80.06c-23,0-40.94-17.52-40.93-39.93C336.85,227.31,355.16,209.25,377.53,209.13Zm-199.24,80c-22.67,0-40.12-17.42-40.18-40.2-.06-22.15,17.59-39.69,40-39.8s41,18.18,41,40.45C219.19,271.27,200.73,289.12,178.29,289.17Z"/><path d="M741.59,452.47c-17.42-53.21-52.3-91.29-102.2-115.63-37.18-18.16-76.75-25.44-118.12-23.14a233.78,233.78,0,0,0-42.61,6.1c-46.81,11.45-86.29,35.2-117,72.49-29.88,36.26-43.68,77.93-39.29,125a162.57,162.57,0,0,0,20.91,65.36c17.84,31.48,42.83,56.1,73.27,75.36a201,201,0,0,0,61.39,25.71,231.39,231.39,0,0,0,41.51,5.7c14.43.74,28.84.56,43-2.4,11.91-2.47,23.58-6,35.4-8.94,13.89-3.42,27.81-3.75,41.31,1.49,9.47,3.67,18.62,8.2,27.9,12.36,1,.45,2,1,3,1.43l.45-.57-1.22-3.17A46,46,0,0,1,666.47,666c1.52-9.87,6.35-18.15,13-25.33,5.49-6,11.45-11.48,17.3-17.11,30.78-29.85,48.84-65.91,52.23-108.8A158.69,158.69,0,0,0,741.59,452.47ZM435.15,478.14a34.86,34.86,0,1,1,.74-69.71h0c19.66.06,34.87,15.6,34.76,35.51C470.54,463,454.75,478.26,435.15,478.14ZM596.63,478c-19.58-.43-34.46-15.65-34.16-35.13a34.6,34.6,0,0,1,34.88-34.32h.12c19,0,34,15.64,34,35.3A34.23,34.23,0,0,1,597.17,478Z"/></svg>
  1597.  
  1598.  
  1599.  
  1600.                    </a>
  1601.                  </li>
  1602.                
  1603.                
  1604.                  <li class="list-social__item">
  1605.                    <a href="https://youtube.com/" class="link link--text list-social__link">
  1606.                      
  1607.  
  1608.  
  1609.    <svg aria-hidden="true" focusable="false" role="presentation" class="icon icon-youtube "
  1610.    viewBox="0 0 100 70">
  1611.      <path
  1612.        d="M98 11c2 7.7 2 24 2 24s0 16.3-2 24a12.5 12.5 0 01-9 9c-7.7 2-39 2-39 2s-31.3 0-39-2a12.5 12.5 0 01-9-9c-2-7.7-2-24-2-24s0-16.3 2-24c1.2-4.4 4.6-7.8 9-9 7.7-2 39-2 39-2s31.3 0 39 2c4.4 1.2 7.8 4.6 9 9zM40 50l26-15-26-15v30z"
  1613.        fill="currentColor">
  1614.      </path>
  1615.    </svg>
  1616.  
  1617.  
  1618.  
  1619.                    </a>
  1620.                  </li>
  1621.                
  1622.                
  1623.              </ul>
  1624.            
  1625.        </div>
  1626.      
  1627.      
  1628.      
  1629.        <div class="grid__item">
  1630.          
  1631.              <h2 class="footer-block__heading">We accept</h2>
  1632.              <div class="footer-block__details-content footer__payment">
  1633.                <ul class="list list-payment" role="list">
  1634.                  
  1635.                    <li class="list-payment__item">
  1636.                      
  1637.  
  1638.  
  1639.    <svg class="icon icon--full-color " viewBox="0 0 38 24" xmlns="http://www.w3.org/2000/svg" role="img"
  1640.    width="38" height="24" aria-labelledby="pi-visa">
  1641.      <path opacity=".07"
  1642.        d="M35 0H3C1.3 0 0 1.3 0 3v18c0 1.7 1.4 3 3 3h32c1.7 0 3-1.3 3-3V3c0-1.7-1.4-3-3-3z"></path>
  1643.      <path fill="#fff" d="M35 1c1.1 0 2 .9 2 2v18c0 1.1-.9 2-2 2H3c-1.1 0-2-.9-2-2V3c0-1.1.9-2 2-2h32">
  1644.      </path>
  1645.      <path
  1646.        d="M28.3 10.1H28c-.4 1-.7 1.5-1 3h1.9c-.3-1.5-.3-2.2-.6-3zm2.9 5.9h-1.7c-.1 0-.1 0-.2-.1l-.2-.9-.1-.2h-2.4c-.1 0-.2 0-.2.2l-.3.9c0 .1-.1.1-.1.1h-2.1l.2-.5L27 8.7c0-.5.3-.7.8-.7h1.5c.1 0 .2 0 .2.2l1.4 6.5c.1.4.2.7.2 1.1.1.1.1.1.1.2zm-13.4-.3l.4-1.8c.1 0 .2.1.2.1.7.3 1.4.5 2.1.4.2 0 .5-.1.7-.2.5-.2.5-.7.1-1.1-.2-.2-.5-.3-.8-.5-.4-.2-.8-.4-1.1-.7-1.2-1-.8-2.4-.1-3.1.6-.4.9-.8 1.7-.8 1.2 0 2.5 0 3.1.2h.1c-.1.6-.2 1.1-.4 1.7-.5-.2-1-.4-1.5-.4-.3 0-.6 0-.9.1-.2 0-.3.1-.4.2-.2.2-.2.5 0 .7l.5.4c.4.2.8.4 1.1.6.5.3 1 .8 1.1 1.4.2.9-.1 1.7-.9 2.3-.5.4-.7.6-1.4.6-1.4 0-2.5.1-3.4-.2-.1.2-.1.2-.2.1zm-3.5.3c.1-.7.1-.7.2-1 .5-2.2 1-4.5 1.4-6.7.1-.2.1-.3.3-.3H18c-.2 1.2-.4 2.1-.7 3.2-.3 1.5-.6 3-1 4.5 0 .2-.1.2-.3.2M5 8.2c0-.1.2-.2.3-.2h3.4c.5 0 .9.3 1 .8l.9 4.4c0 .1 0 .1.1.2 0-.1.1-.1.1-.1l2.1-5.1c-.1-.1 0-.2.1-.2h2.1c0 .1 0 .1-.1.2l-3.1 7.3c-.1.2-.1.3-.2.4-.1.1-.3 0-.5 0H9.7c-.1 0-.2 0-.2-.2L7.9 9.5c-.2-.2-.5-.5-.9-.6-.6-.3-1.7-.5-1.9-.5L5 8.2z"
  1647.        fill="#142688"></path>
  1648.    </svg>
  1649.  
  1650.  
  1651.  
  1652.                    </li>
  1653.                  
  1654.                  
  1655.                    <li class="list-payment__item">
  1656.                      
  1657.  
  1658.  
  1659.    <svg class="icon icon--full-color " viewBox="0 0 38 24" xmlns="http://www.w3.org/2000/svg" role="img"
  1660.    width="38" height="24" aria-labelledby="pi-master">
  1661.      <path opacity=".07"
  1662.        d="M35 0H3C1.3 0 0 1.3 0 3v18c0 1.7 1.4 3 3 3h32c1.7 0 3-1.3 3-3V3c0-1.7-1.4-3-3-3z"></path>
  1663.      <path fill="#fff" d="M35 1c1.1 0 2 .9 2 2v18c0 1.1-.9 2-2 2H3c-1.1 0-2-.9-2-2V3c0-1.1.9-2 2-2h32">
  1664.      </path>
  1665.      <circle fill="#EB001B" cx="15" cy="12" r="7"></circle>
  1666.      <circle fill="#F79E1B" cx="23" cy="12" r="7"></circle>
  1667.      <path fill="#FF5F00"
  1668.        d="M22 12c0-2.4-1.2-4.5-3-5.7-1.8 1.3-3 3.4-3 5.7s1.2 4.5 3 5.7c1.8-1.2 3-3.3 3-5.7z"></path>
  1669.    </svg>
  1670.  
  1671.  
  1672.  
  1673.                    </li>
  1674.                  
  1675.                  
  1676.                    <li class="list-payment__item">
  1677.                      
  1678.  
  1679.  
  1680.    <svg class="icon icon--full-color " xmlns="http://www.w3.org/2000/svg" role="img" viewBox="0 0 38 24"
  1681.      width="38" height="24" aria-labelledby="pi-american_express">
  1682.      <g fill="none">
  1683.        <path fill="#000"
  1684.          d="M35,0 L3,0 C1.3,0 0,1.3 0,3 L0,21 C0,22.7 1.4,24 3,24 L35,24 C36.7,24 38,22.7 38,21 L38,3 C38,1.3 36.6,0 35,0 Z"
  1685.          opacity=".07"></path>
  1686.        <path fill="#006FCF"
  1687.          d="M35,1 C36.1,1 37,1.9 37,3 L37,21 C37,22.1 36.1,23 35,23 L3,23 C1.9,23 1,22.1 1,21 L1,3 C1,1.9 1.9,1 3,1 L35,1">
  1688.        </path>
  1689.        <path fill="#FFF"
  1690.          d="M8.971,10.268 L9.745,12.144 L8.203,12.144 L8.971,10.268 Z M25.046,10.346 L22.069,10.346 L22.069,11.173 L24.998,11.173 L24.998,12.412 L22.075,12.412 L22.075,13.334 L25.052,13.334 L25.052,14.073 L27.129,11.828 L25.052,9.488 L25.046,10.346 L25.046,10.346 Z M10.983,8.006 L14.978,8.006 L15.865,9.941 L16.687,8 L27.057,8 L28.135,9.19 L29.25,8 L34.013,8 L30.494,11.852 L33.977,15.68 L29.143,15.68 L28.065,14.49 L26.94,15.68 L10.03,15.68 L9.536,14.49 L8.406,14.49 L7.911,15.68 L4,15.68 L7.286,8 L10.716,8 L10.983,8.006 Z M19.646,9.084 L17.407,9.084 L15.907,12.62 L14.282,9.084 L12.06,9.084 L12.06,13.894 L10,9.084 L8.007,9.084 L5.625,14.596 L7.18,14.596 L7.674,13.406 L10.27,13.406 L10.764,14.596 L13.484,14.596 L13.484,10.661 L15.235,14.602 L16.425,14.602 L18.165,10.673 L18.165,14.603 L19.623,14.603 L19.647,9.083 L19.646,9.084 Z M28.986,11.852 L31.517,9.084 L29.695,9.084 L28.094,10.81 L26.546,9.084 L20.652,9.084 L20.652,14.602 L26.462,14.602 L28.076,12.864 L29.624,14.602 L31.499,14.602 L28.987,11.852 L28.986,11.852 Z">
  1691.        </path>
  1692.      </g>
  1693.    </svg>
  1694.  
  1695.  
  1696.  
  1697.                    </li>
  1698.                  
  1699.                  
  1700.                    <li class="list-payment__item">
  1701.                      
  1702.  
  1703.  
  1704.    <svg class="icon icon--full-color " viewBox="0 0 38 24" xmlns="http://www.w3.org/2000/svg" width="38"
  1705.      height="24" role="img" aria-labelledby="pi-paypal">
  1706.      <path opacity=".07"
  1707.        d="M35 0H3C1.3 0 0 1.3 0 3v18c0 1.7 1.4 3 3 3h32c1.7 0 3-1.3 3-3V3c0-1.7-1.4-3-3-3z"></path>
  1708.      <path fill="#fff" d="M35 1c1.1 0 2 .9 2 2v18c0 1.1-.9 2-2 2H3c-1.1 0-2-.9-2-2V3c0-1.1.9-2 2-2h32">
  1709.      </path>
  1710.      <path fill="#003087"
  1711.        d="M23.9 8.3c.2-1 0-1.7-.6-2.3-.6-.7-1.7-1-3.1-1h-4.1c-.3 0-.5.2-.6.5L14 15.6c0 .2.1.4.3.4H17l.4-3.4 1.8-2.2 4.7-2.1z">
  1712.      </path>
  1713.      <path fill="#3086C8"
  1714.        d="M23.9 8.3l-.2.2c-.5 2.8-2.2 3.8-4.6 3.8H18c-.3 0-.5.2-.6.5l-.6 3.9-.2 1c0 .2.1.4.3.4H19c.3 0 .5-.2.5-.4v-.1l.4-2.4v-.1c0-.2.3-.4.5-.4h.3c2.1 0 3.7-.8 4.1-3.2.2-1 .1-1.8-.4-2.4-.1-.5-.3-.7-.5-.8z">
  1715.      </path>
  1716.      <path fill="#012169"
  1717.        d="M23.3 8.1c-.1-.1-.2-.1-.3-.1-.1 0-.2 0-.3-.1-.3-.1-.7-.1-1.1-.1h-3c-.1 0-.2 0-.2.1-.2.1-.3.2-.3.4l-.7 4.4v.1c0-.3.3-.5.6-.5h1.3c2.5 0 4.1-1 4.6-3.8v-.2c-.1-.1-.3-.2-.5-.2h-.1z">
  1718.      </path>
  1719.    </svg>
  1720.  
  1721.  
  1722.  
  1723.                    </li>
  1724.                  
  1725.                  
  1726.                    <li class="list-payment__item">
  1727.                      
  1728.  
  1729.  
  1730.    <svg class="icon icon--full-color " viewBox="0 0 38 24" xmlns="http://www.w3.org/2000/svg" role="img"
  1731.      width="38" height="24" aria-labelledby="pi-diners_club">
  1732.      <path opacity=".07"
  1733.        d="M35 0H3C1.3 0 0 1.3 0 3v18c0 1.7 1.4 3 3 3h32c1.7 0 3-1.3 3-3V3c0-1.7-1.4-3-3-3z"></path>
  1734.      <path fill="#fff" d="M35 1c1.1 0 2 .9 2 2v18c0 1.1-.9 2-2 2H3c-1.1 0-2-.9-2-2V3c0-1.1.9-2 2-2h32">
  1735.      </path>
  1736.      <path
  1737.        d="M12 12v3.7c0 .3-.2.3-.5.2-1.9-.8-3-3.3-2.3-5.4.4-1.1 1.2-2 2.3-2.4.4-.2.5-.1.5.2V12zm2 0V8.3c0-.3 0-.3.3-.2 2.1.8 3.2 3.3 2.4 5.4-.4 1.1-1.2 2-2.3 2.4-.4.2-.4.1-.4-.2V12zm7.2-7H13c3.8 0 6.8 3.1 6.8 7s-3 7-6.8 7h8.2c3.8 0 6.8-3.1 6.8-7s-3-7-6.8-7z"
  1738.        fill="#3086C8"></path>
  1739.    </svg>
  1740.  
  1741.  
  1742.  
  1743.                    </li>
  1744.                  
  1745.                  
  1746.                    <li class="list-payment__item">
  1747.                      
  1748.  
  1749.  
  1750.    <svg class="icon icon--full-color " viewBox="0 0 38 24" width="38" height="24" role="img"
  1751.      aria-labelledby="pi-discover" fill="none" xmlns="http://www.w3.org/2000/svg">
  1752.      <path fill="#000" opacity=".07"
  1753.        d="M35 0H3C1.3 0 0 1.3 0 3v18c0 1.7 1.4 3 3 3h32c1.7 0 3-1.3 3-3V3c0-1.7-1.4-3-3-3z"></path>
  1754.      <path d="M35 1c1.1 0 2 .9 2 2v18c0 1.1-.9 2-2 2H3c-1.1 0-2-.9-2-2V3c0-1.1.9-2 2-2h32z" fill="#fff">
  1755.      </path>
  1756.      <path
  1757.        d="M3.57 7.16H2v5.5h1.57c.83 0 1.43-.2 1.96-.63.63-.52 1-1.3 1-2.11-.01-1.63-1.22-2.76-2.96-2.76zm1.26 4.14c-.34.3-.77.44-1.47.44h-.29V8.1h.29c.69 0 1.11.12 1.47.44.37.33.59.84.59 1.37 0 .53-.22 1.06-.59 1.39zm2.19-4.14h1.07v5.5H7.02v-5.5zm3.69 2.11c-.64-.24-.83-.4-.83-.69 0-.35.34-.61.8-.61.32 0 .59.13.86.45l.56-.73c-.46-.4-1.01-.61-1.62-.61-.97 0-1.72.68-1.72 1.58 0 .76.35 1.15 1.35 1.51.42.15.63.25.74.31.21.14.32.34.32.57 0 .45-.35.78-.83.78-.51 0-.92-.26-1.17-.73l-.69.67c.49.73 1.09 1.05 1.9 1.05 1.11 0 1.9-.74 1.9-1.81.02-.89-.35-1.29-1.57-1.74zm1.92.65c0 1.62 1.27 2.87 2.9 2.87.46 0 .86-.09 1.34-.32v-1.26c-.43.43-.81.6-1.29.6-1.08 0-1.85-.78-1.85-1.9 0-1.06.79-1.89 1.8-1.89.51 0 .9.18 1.34.62V7.38c-.47-.24-.86-.34-1.32-.34-1.61 0-2.92 1.28-2.92 2.88zm12.76.94l-1.47-3.7h-1.17l2.33 5.64h.58l2.37-5.64h-1.16l-1.48 3.7zm3.13 1.8h3.04v-.93h-1.97v-1.48h1.9v-.93h-1.9V8.1h1.97v-.94h-3.04v5.5zm7.29-3.87c0-1.03-.71-1.62-1.95-1.62h-1.59v5.5h1.07v-2.21h.14l1.48 2.21h1.32l-1.73-2.32c.81-.17 1.26-.72 1.26-1.56zm-2.16.91h-.31V8.03h.33c.67 0 1.03.28 1.03.82 0 .55-.36.85-1.05.85z"
  1758.        fill="#231F20"></path>
  1759.      <path d="M20.16 12.86a2.931 2.931 0 100-5.862 2.931 2.931 0 000 5.862z" fill="url(#pi-paint0_linear)">
  1760.      </path>
  1761.      <path opacity=".65" d="M20.16 12.86a2.931 2.931 0 100-5.862 2.931 2.931 0 000 5.862z"
  1762.        fill="url(#pi-paint1_linear)"></path>
  1763.      <path
  1764.        d="M36.57 7.506c0-.1-.07-.15-.18-.15h-.16v.48h.12v-.19l.14.19h.14l-.16-.2c.06-.01.1-.06.1-.13zm-.2.07h-.02v-.13h.02c.06 0 .09.02.09.06 0 .05-.03.07-.09.07z"
  1765.        fill="#231F20"></path>
  1766.      <path
  1767.        d="M36.41 7.176c-.23 0-.42.19-.42.42 0 .23.19.42.42.42.23 0 .42-.19.42-.42 0-.23-.19-.42-.42-.42zm0 .77c-.18 0-.34-.15-.34-.35 0-.19.15-.35.34-.35.18 0 .33.16.33.35 0 .19-.15.35-.33.35z"
  1768.        fill="#231F20"></path>
  1769.      <path d="M37 12.984S27.09 19.873 8.976 23h26.023a2 2 0 002-1.984l.024-3.02L37 12.985z" fill="#F48120">
  1770.      </path>
  1771.      <defs>
  1772.        <linearGradient id="pi-paint0_linear" x1="21.657" y1="12.275" x2="19.632" y2="9.104"
  1773.          gradientUnits="userSpaceOnUse">
  1774.          <stop stop-color="#F89F20"></stop>
  1775.          <stop offset=".25" stop-color="#F79A20"></stop>
  1776.          <stop offset=".533" stop-color="#F68D20"></stop>
  1777.          <stop offset=".62" stop-color="#F58720"></stop>
  1778.          <stop offset=".723" stop-color="#F48120"></stop>
  1779.          <stop offset="1" stop-color="#F37521"></stop>
  1780.        </linearGradient>
  1781.        <linearGradient id="pi-paint1_linear" x1="21.338" y1="12.232" x2="18.378" y2="6.446"
  1782.          gradientUnits="userSpaceOnUse">
  1783.          <stop stop-color="#F58720"></stop>
  1784.          <stop offset=".359" stop-color="#E16F27"></stop>
  1785.          <stop offset=".703" stop-color="#D4602C"></stop>
  1786.          <stop offset=".982" stop-color="#D05B2E"></stop>
  1787.        </linearGradient>
  1788.      </defs>
  1789.    </svg>
  1790.  
  1791.  
  1792.  
  1793.                    </li>
  1794.                  
  1795.              </div>
  1796.                <br>
  1797.            
  1798.        </div>
  1799.      
  1800.      
  1801.      
  1802.        <div class="grid__item">
  1803.          
  1804.              <h2 class="footer-block__heading">
  1805.                Quick links
  1806.              </h2>
  1807.              <ul class="footer-block__details-content list-unstyled">
  1808.                
  1809.                <li>
  1810.                  <a href="/store-locator"  class="link link--text list-menu__item list-menu__item--link">
  1811.                    Location
  1812.                  </a>
  1813.                </li>
  1814.                
  1815.                
  1816.              </ul>
  1817.            
  1818.        </div>
  1819.      
  1820.      
  1821.      
  1822.        <div class="grid__item">
  1823.          
  1824.              <h2 class="footer-block__heading">Our mission</h2>
  1825.              <div class="footer-block__details-content">
  1826.                <p>Quality materials, good designs, craftsmanship and sustainability.</p>
  1827.              </div>
  1828.            
  1829.        </div>
  1830.      
  1831.    </div>
  1832.  </div>
  1833.  <div class="footer__content-bottom">
  1834.    <div class="footer__content-bottom-wrapper page-width">
  1835.      <div class="footer__column footer__column--info">
  1836.  
  1837.        
  1838.  
  1839.  
  1840.  
  1841.        
  1842.        <div class="footer__copyright caption">
  1843.          <div class="copyright__content">© 2024 bwptrend. Powered by <a href="http://www.easystore.co/?utm_source=storefront&utm_medium=sf_ref_footer&utm_campaign=sf_ref">EasyStore</a></div>
  1844.        </div>
  1845.  
  1846.        <div class="footer__copyright caption">
  1847.          
  1848.            <div>
  1849.            
  1850.            
  1851.              
  1852.                <a href="/legal/terms-of-service">Terms of Service</a>
  1853.              
  1854.              
  1855.            
  1856.              
  1857.                | <a href="/legal/privacy-policy">Privacy Policy</a>
  1858.              
  1859.              
  1860.            
  1861.              
  1862.                | <a href="/legal/refund-policy">Refund Policy</a>
  1863.              
  1864.              
  1865.            
  1866.            </div>
  1867.        
  1868.        </div>
  1869.        
  1870.      </div>
  1871.    </div>
  1872.  </div>
  1873. </footer>
  1874.  
  1875.  
  1876.  
  1877.  
  1878.  
  1879.  <script>
  1880.  EasyStore.Currencies.init([{"name":"US Dollar","code":"USD","rate":"1.0","format_prefix":"$","format_suffix":null,"format_decimals":2,"thousand_separator":",","is_primary":true}])
  1881. </script>
  1882.  
  1883.  
  1884.  
  1885.  <script>
  1886.    let page_template = 'page';
  1887.  
  1888.    if(document.querySelector('.currency-picker')) EasyStore.Currencies.change(document.querySelector('.currency-picker').value)
  1889.  
  1890.    document.querySelectorAll('.currency-picker').forEach((el)=>{
  1891.      el.addEventListener('change',(event)=>{
  1892.        console.log(event.target.value);
  1893.        EasyStore.Currencies.change(event.target.value)
  1894.  
  1895.        document.querySelectorAll('[name=currencies],[name=current_currency]').forEach((el)=>{
  1896.          el.value = event.target.value
  1897.        })
  1898.  
  1899.        if(page_template == 'cart') location.reload();
  1900.      })
  1901.    })
  1902.  </script>
  1903.  
  1904.  
  1905.  
  1906.  
  1907.  <script>
  1908.  
  1909.    window.variantStrings = {
  1910.      addToCart: `Add to Cart`,
  1911.      soldOut: `Sold Out`,
  1912.      unavailable: `Unavailable`,
  1913.    }
  1914.  
  1915.    window.accessibilityStrings = {
  1916.      shareSuccess: `Link copied to clipboard`,
  1917.    }
  1918.  </script>
  1919.  <script>
  1920.  
  1921.  /*
  1922.  
  1923.    ------
  1924.    Events
  1925.    ------
  1926.  
  1927.    pages/viewed
  1928.  
  1929.    customers/signup
  1930.  
  1931.    customers/login
  1932.  
  1933.    products/searched
  1934.  
  1935.    collections/viewed
  1936.  
  1937.    products/viewed
  1938.  
  1939.    products/shared
  1940.  
  1941.    wishlists/item_added
  1942.  
  1943.    carts/items_added
  1944.  
  1945.    carts/viewed
  1946.  
  1947.    carts/item_removed
  1948.  
  1949.    checkouts/initiated
  1950.  
  1951.    checkouts/shipping_info_added
  1952.  
  1953.    checkouts/payment_info_added
  1954.  
  1955.    checkouts/completed
  1956.  
  1957.    orders/placed
  1958.  
  1959.    orders/purchased
  1960.  
  1961.    payments/captured
  1962.  
  1963.    payments/failed
  1964.  
  1965.  */
  1966.  
  1967.  let latest_cart = null
  1968.  
  1969.  const _selector = document.querySelector.bind(document),
  1970.        _selectorAll = document.querySelectorAll.bind(document)
  1971.  
  1972.  document.addEventListener('DOMContentLoaded', (event) => {
  1973.  
  1974.    const default_currency = getCookie("currency")
  1975.    const customer_id = window.__st.cid
  1976.    const template    = window.__st.p
  1977.  
  1978.    onPageView()
  1979.  
  1980.    //-----------------------//
  1981.    //        Configs        //
  1982.    //-----------------------//
  1983.  
  1984.    window.dataLayer = window.dataLayer || []
  1985.  
  1986.    Array.prototype.last = Array.prototype.last || function() {
  1987.      return this[this.length - 1] || null
  1988.    }
  1989.  
  1990.    Array.prototype.first = Array.prototype.first || function() {
  1991.      return this[0] || null
  1992.    }
  1993.  
  1994.    //----------------------//
  1995.    //       Triggers       //
  1996.    //----------------------//
  1997.  
  1998.    const XHR = window.XMLHttpRequest
  1999.  
  2000.    function xhr() {
  2001.  
  2002.      const xhr = new XHR()
  2003.  
  2004.      xhr.addEventListener("readystatechange", function() {
  2005.  
  2006.        if(xhr.readyState != 4) return
  2007.  
  2008.        try {
  2009.  
  2010.          const response_url = xhr.responseURL
  2011.  
  2012.          if (response_url.includes("cart/add")) {
  2013.  
  2014.            latest_cart = JSON.parse(xhr.response)
  2015.  
  2016.            onCartItemsAdded() // ok
  2017.  
  2018.          }
  2019.  
  2020.          if (response_url.includes("cart/remove_item_quantity")) {
  2021.  
  2022.            latest_cart = JSON.parse(xhr.response)
  2023.  
  2024.            onCartItemRemoved() // ok
  2025.  
  2026.          }
  2027.  
  2028.          if (response_url.includes("new_cart?retrieve=true")) {
  2029.  
  2030.            result = JSON.parse(xhr.response)
  2031.  
  2032.            if (result.cart) {
  2033.              latest_cart = result.cart
  2034.            }
  2035.  
  2036.          }
  2037.  
  2038.        } catch(e) {
  2039.  
  2040.          console.error(e)
  2041.  
  2042.        }
  2043.  
  2044.      }, false);
  2045.  
  2046.      return xhr
  2047.  
  2048.    }
  2049.  
  2050.    window.XMLHttpRequest = xhr
  2051.  
  2052.    switch(template) {
  2053.  
  2054.      case 'cart': onCartView() // ok
  2055.      break
  2056.      case 'product': onProductView() // ok
  2057.      break
  2058.      case 'collection': onCollectionView() // ok
  2059.      break
  2060.      case 'blog': onBlogView()
  2061.      break
  2062.      case 'article': onArticleView()
  2063.      break
  2064.      case 'payment_completed': onOrderPlace()
  2065.      break
  2066.      case 'payment_fail': onPaymentFail()
  2067.      break
  2068.  
  2069.    }
  2070.  
  2071.    // _selector('form[action="/checkout/payments"]').addEventListener("submit", onPaymentInfoAdded(_selector('form[action="/checkout/payments"]')))
  2072.    if (_selector('form[action="/checkout/detail"]'))                            _selector('form[action="/checkout/detail"]').addEventListener("submit", ()=>{onShippingInfoAdded(_selector('form[action="/checkout/detail"]'))})  // ok
  2073.    if (_selector('form[action="/checkout/shipping"]'))                          _selector('form[action="/checkout/shipping"]').addEventListener("submit", ()=>{onShippingInfoAdded(_selector('form[action="/checkout/shipping"]'))})  // ok
  2074.    if (_selector('form[action="/account/register"]'))                           _selector('form[action="/account/register"]').addEventListener("submit", onSignUp)  // ok
  2075.    if (_selector('form[action="/account/login"]'))                              _selector('form[action="/account/login"]').addEventListener("submit", onLogin)  // ok
  2076.    if (_selector('form[action="/search"]'))                                     _selector('form[action="/search"]').addEventListener("submit", onProductSearch()) // ok
  2077.    if (_selector('#line-login-btn'))                                            _selector('#line-login-btn').addEventListener('click', onLineLogin) // ok
  2078.    if (_selector('#PlaceOrder'))                                                _selector('#PlaceOrder').addEventListener("click", ()=>{onCheckoutComplete(_selector('form[action="/checkout/payments"]'))});  // ok
  2079.    if (_selector('#add_wishlist'))                                              _selector('#add_wishlist').addEventListener("click", onWishlistItemAdded) // ok
  2080.    if (_selectorAll('a[href="/account/logout"]'))                               _selectorAll('a[href="/account/logout"]').forEach(logoutButton => logoutButton.addEventListener("click", onLogout)) // ok
  2081.    if (_selector('.CartDrawerTrigger.cart-page-link'))                          _selector('.CartDrawerTrigger.cart-page-link').addEventListener("click", onCartView) // ok
  2082.    if (_selector('.CartDrawerTrigger.cart-page-link.mobile-cart-page-link'))    _selector('.CartDrawerTrigger.cart-page-link.mobile-cart-page-link').addEventListener("click", onCartView) // ok
  2083.    if (_selectorAll('a[class^="share-"]'))                                      _selectorAll('a[class^="share-"]').forEach(shareButton => shareButton.addEventListener("click", ()=>{onProductShare(shareButton)}) ) // ok
  2084.    if (_selectorAll('[name$="checkout"]'))                                      _selectorAll('[name$="checkout"]').forEach(checkoutButton => checkoutButton.addEventListener("click", onCheckoutInitiate))
  2085.  
  2086.    // For append elements
  2087.    const bodyMutationObserver = new MutationObserver(() => {
  2088.      if (_selector('#form__spc #PlaceOrder'))             _selector('#form__spc #PlaceOrder').addEventListener("click", onSinglePageCheckout) // ok
  2089.      if (_selectorAll('[name$="checkout"]'))              _selectorAll('[name$="checkout"]').forEach(checkoutButton => checkoutButton.addEventListener("click", onCheckoutInitiate))
  2090.    });
  2091.    bodyMutationObserver.observe(_selector("body"), {subtree: true, childList: true});
  2092.  
  2093.    //------------------------------//
  2094.    //        Event handlers        //
  2095.    //------------------------------//
  2096.  
  2097.    function onPageView() {
  2098.  
  2099.      EasyStore.Event.dispatch('pages/viewed', {
  2100.        page: {
  2101.          type: template,
  2102.          title: document.title,
  2103.          description: _selector('meta[name=description]') ? _selector('meta[name=description]').getAttribute('content') : null,
  2104.          url: location.href,
  2105.        }
  2106.      })
  2107.  
  2108.    }
  2109.  
  2110.    function onSignUp() {
  2111.  
  2112.      const email_regex = new RegExp(/^[a-zA-Z0-9.!#$%&"*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/)
  2113.      const phone_regex = new RegExp(/^(\+?6?01)[0-46-9]-*[0-9]{7,8}$/)
  2114.  
  2115.      const email_or_phone = _selector(`input[name="customer[email_or_phone]"]`).value.replace("+", "").replace(/\s+/, "")
  2116.  
  2117.      let data = {}
  2118.  
  2119.      if (email_regex.test(email_or_phone)) {
  2120.        data.method = 'email'
  2121.        data.email = email_or_phone
  2122.      }
  2123.  
  2124.      if (phone_regex.test(email_or_phone)) {
  2125.        data.method = "phone"
  2126.        data.phone = email_or_phone
  2127.      }
  2128.  
  2129.      if (!data.method) return
  2130.  
  2131.      EasyStore.Event.dispatch('customers/signup', data)
  2132.  
  2133.    }
  2134.  
  2135.    function onLogin() {
  2136.  
  2137.      const email_regex = new RegExp(/^[a-zA-Z0-9.!#$%&"*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/)
  2138.      const phone_regex = new RegExp(/^(\+?6?01)[0-46-9]-*[0-9]{7,8}$/)
  2139.  
  2140.      const email_or_phone = _selector(`input[name="customer[email_or_phone]"]`).value.replace("+", "").replace(/\s+/, "")
  2141.  
  2142.      let data = {}
  2143.  
  2144.      if (email_regex.test(email_or_phone)) {
  2145.        data.method = 'email'
  2146.        data.email = email_or_phone
  2147.      }
  2148.  
  2149.      if (phone_regex.test(email_or_phone)) {
  2150.        data.method = "phone"
  2151.        data.phone = email_or_phone
  2152.      }
  2153.  
  2154.      if (!data.method) return
  2155.  
  2156.      EasyStore.Event.dispatch('customers/login', data)
  2157.  
  2158.    }
  2159.  
  2160.    function onLineLogin() {
  2161.  
  2162.      EasyStore.Event.dispatch('customers/login', { method: 'line' })
  2163.  
  2164.    }
  2165.  
  2166.    function onLogout() {
  2167.  
  2168.      EasyStore.Event.dispatch('customers/logout', { customer_id })
  2169.  
  2170.    }
  2171.  
  2172.    function onBlogView() {
  2173.  
  2174.      const blog = ""
  2175.  
  2176.      EasyStore.Event.dispatch('blogs/viewed', { blog })
  2177.  
  2178.    }
  2179.  
  2180.    function onArticleView() {
  2181.  
  2182.      const article = ""
  2183.  
  2184.      EasyStore.Event.dispatch('articles/viewed', { article })
  2185.  
  2186.    }
  2187.  
  2188.    function onProductSearch() {
  2189.  
  2190.      const query = _selector('input[name=q]').value
  2191.  
  2192.      if (!query) return
  2193.  
  2194.      EasyStore.Event.dispatch('products/searched', { query })
  2195.  
  2196.    }
  2197.  
  2198.    function onCollectionView() {
  2199.  
  2200.      const collection = ""
  2201.  
  2202.      EasyStore.Event.dispatch('collections/viewed', { collection })
  2203.  
  2204.    }
  2205.  
  2206.    function onProductView() {
  2207.  
  2208.      const product = ""
  2209.  
  2210.      EasyStore.Event.dispatch("products/viewed", { product })
  2211.  
  2212.    }
  2213.  
  2214.    function onProductShare(el) {
  2215.  
  2216.      const product = ""
  2217.  
  2218.      const channel = el.getAttribute("class").split("-").last()
  2219.  
  2220.      EasyStore.Event.dispatch('products/shared', { product, channel })
  2221.  
  2222.    }
  2223.  
  2224.    function onWishlistItemAdded() {
  2225.  
  2226.      let product  = ""
  2227.      const quantity = _selector("#Quantity").value
  2228.  
  2229.      EasyStore.Event.dispatch('wishlists/item_added', { product })
  2230.  
  2231.    }
  2232.  
  2233.    async function onCartItemsAdded() {
  2234.  
  2235.      const cart = await getCart()
  2236.  
  2237.      if(cart && cart.items != undefined && cart.items.length > 0) {
  2238.  
  2239.        EasyStore.Event.dispatch('carts/item_added', { cart })
  2240.  
  2241.      }
  2242.  
  2243.    }
  2244.  
  2245.    async function onCartView() {
  2246.  
  2247.      const cart = await getCart()
  2248.  
  2249.      EasyStore.Event.dispatch('carts/viewed', { cart })
  2250.  
  2251.    }
  2252.  
  2253.    async function onCartItemRemoved() {
  2254.  
  2255.      const cart = await getCart()
  2256.  
  2257.      cart.items = []
  2258.  
  2259.      if(cart) {
  2260.  
  2261.        EasyStore.Event.dispatch('carts/item_removed', { cart })
  2262.  
  2263.      }
  2264.  
  2265.    }
  2266.  
  2267.    async function onCheckoutInitiate() {
  2268.  
  2269.      const cart = await getCart()
  2270.  
  2271.      EasyStore.Event.dispatch('checkouts/initiated', { cart })
  2272.  
  2273.    }
  2274.  
  2275.    async function onShippingInfoAdded(form) {
  2276.      let checkout = getCheckout()
  2277.  
  2278.      let form_data = {}
  2279.      new FormData(form).forEach((value, key) => form_data[key] = value)
  2280.  
  2281.      let shipping_tier = null
  2282.  
  2283.      if (form_data.type && form_data.type.startsWith("r_pickup")) {
  2284.        shipping_tier = `Pickup - ${form_data.pick_location}`
  2285.      }
  2286.  
  2287.      if (form_data.s_id) {
  2288.        shipping_tier = _selector(`input[id='`+form_data.s_id+`']`).getAttribute("data-shipping-name")
  2289.      }
  2290.  
  2291.      if (!shipping_tier) return
  2292.  
  2293.      EasyStore.Event.dispatch('checkouts/shipping_info_added', { checkout, shipping_tier })
  2294.  
  2295.    }
  2296.  
  2297.    async function onPaymentInfoAdded(form) {
  2298.  
  2299.      let checkout = getCheckout()
  2300.  
  2301.      let payment_type = new FormData(form).get('payment_method')
  2302.  
  2303.      EasyStore.Event.dispatch("checkouts/payment_info_added", { checkout, payment_type })
  2304.  
  2305.    }
  2306.  
  2307.    async function onOrderPlace() {
  2308.  
  2309.      let cart_token  = getCookie("cart_js")
  2310.      let previous_cart_token = getCookie("previous_cart_ga4_js")
  2311.  
  2312.      if (previous_cart_token && previous_cart_token == cart_token) {
  2313.        // Prevent duplicate purchase tracking
  2314.        return
  2315.      }
  2316.  
  2317.      let order = getOrder()
  2318.  
  2319.      EasyStore.Event.dispatch('orders/placed', { order })
  2320.  
  2321.      if(order.is_manual_payment) {
  2322.  
  2323.        EasyStore.Event.dispatch('orders/purchased', { order })
  2324.  
  2325.      }
  2326.  
  2327.      const last_transaction = order.transactions.last()
  2328.  
  2329.      if (last_transaction.status) {
  2330.  
  2331.        EasyStore.Event.dispatch('orders/purchased', { order })
  2332.        EasyStore.Event.dispatch('payments/captured', { order })
  2333.  
  2334.      }
  2335.  
  2336.    }
  2337.  
  2338.    async function onPaymentFail() {
  2339.  
  2340.      const order = getOrder()
  2341.  
  2342.      EasyStore.Event.dispatch('payments/failed', { order })
  2343.  
  2344.    }
  2345.  
  2346.    async function onCheckoutComplete(form) {
  2347.  
  2348.      onPaymentInfoAdded(form)
  2349.  
  2350.      const checkout = getCheckout()
  2351.  
  2352.      EasyStore.Event.dispatch('checkouts/completed', { checkout })
  2353.  
  2354.    }
  2355.  
  2356.    async function onSinglePageCheckout() {
  2357.  
  2358.      // let checkout = $("[data-app-checkout]").data("app-checkout")
  2359.  
  2360.      let checkout = getCheckout()
  2361.  
  2362.      // const payment_type = _selector("#app_spc_payment_method").find(`[class*="label-content"]`).first().find("b").first().text()
  2363.      const payment_type = _selector("#app_spc_payment_method").getElementsByClassName('label-content')[0].getElementsByTagName('b')[0].innerHTML
  2364.  
  2365.      const shipping_method = _selector("#delivery_method").value
  2366.  
  2367.      let shipping_tier = null
  2368.      let app_spc_customer_info_label = _selector("#app_spc_customer_info").getElementsByClassName('label-content')
  2369.      if (shipping_method == "shipping") {
  2370.        shipping_tier = app_spc_customer_info_label[app_spc_customer_info_label.length - 1].getElementsByTagName('b')[0].innerHTML
  2371.      }
  2372.  
  2373.      if (shipping_method == "pickup") {
  2374.        shipping_tier = app_spc_customer_info_label[0].innerHTML
  2375.      }
  2376.  
  2377.      if (shipping_tier) {
  2378.  
  2379.        EasyStore.Event.dispatch('checkouts/shipping_info_added', {
  2380.          checkout,
  2381.          shipping_tier,
  2382.        })
  2383.  
  2384.      }
  2385.  
  2386.      if (payment_type) {
  2387.  
  2388.        EasyStore.Event.dispatch('checkouts/payment_info_added', {
  2389.          checkout,
  2390.          payment_type,
  2391.        })
  2392.  
  2393.      }
  2394.  
  2395.      EasyStore.Event.dispatch('checkouts/completed', { checkout })
  2396.  
  2397.    }
  2398.  
  2399.  })
  2400.  
  2401.  
  2402.  //-----------------------//
  2403.  //       Functions       //
  2404.  //-----------------------//
  2405.  
  2406.  function getCookie(name) {
  2407.  
  2408.    name += "="
  2409.  
  2410.    decodedCookie = decodeURIComponent(document.cookie)
  2411.  
  2412.    ca = decodedCookie.split(";")
  2413.  
  2414.    for(i = 0; i < ca.length; i++) {
  2415.      c = ca[i]
  2416.      while (c.charAt(0) == " ") {
  2417.        c = c.substring(1)
  2418.      }
  2419.      if (c.indexOf(name) == 0) {
  2420.        return c.substring(name.length, c.length)
  2421.      }
  2422.    }
  2423.  
  2424.    return ""
  2425.  
  2426.  }
  2427.  
  2428.  const parsePrice = price => {
  2429.    if(typeof price === 'string') {
  2430.      return parseFloat(price.split(',').join(''))
  2431.    }
  2432.  
  2433.    return price
  2434.  }
  2435.  
  2436.  const requestCart = async (method, data) => {
  2437.  
  2438.  let response = await fetch('/cart.json', {method: 'GET',headers: {'Content-Type': 'application/json'}})
  2439.    result = await response.json()
  2440.  
  2441.    return result.cart
  2442.  
  2443.  }
  2444.  const getCart = async (latest = false) => {
  2445.  
  2446.    let cart = latest_cart
  2447.  
  2448.    const cart_invalid = !cart || !cart.items || (cart.total_price > 0 && !cart.items.length)
  2449.  
  2450.    if(latest || cart_invalid) {
  2451.      cart = await requestCart()
  2452.    }
  2453.  
  2454.    cart.items = cart.items || []
  2455.  
  2456.    return mapCart(cart)
  2457.  
  2458.  }
  2459.  
  2460.  const getCheckout = async () => {
  2461.    mapCheckout(latest_cart || await requestCart())
  2462.  }
  2463.  
  2464.  const getOrder = async () => {
  2465.    mapOrder(latest_cart || await requestCart())
  2466.  }
  2467.  
  2468.  //-----------------------//
  2469.  //        Mappers        //
  2470.  //-----------------------//
  2471.  
  2472.  const fallbackAttribute = (object, attribute) => {
  2473.  
  2474.    if(!Array.isArray(attribute)) {
  2475.      attribute = [attribute]
  2476.    }
  2477.  
  2478.    let final_value = null
  2479.  
  2480.    do {
  2481.  
  2482.      final_value = object[attribute.shift()]
  2483.  
  2484.    } while(!final_value && attribute.length)
  2485.  
  2486.    return final_value
  2487.  
  2488.  }
  2489.  
  2490.  const map = (object, mapper) => {
  2491.  
  2492.    const newObject = {}
  2493.  
  2494.    for(const key in mapper) {
  2495.  
  2496.      // Handle different keys between new and old format
  2497.      newObject[key] = fallbackAttribute(object, mapper[key])
  2498.  
  2499.      // Cast price to float
  2500.      if(newObject[key] && ['price', 'amount', 'discount', 'discounts'].some(x => key.endsWith(x))) {
  2501.        newObject[key] = parsePrice(newObject[key])
  2502.      }
  2503.  
  2504.      if(newObject[key] === undefined) {
  2505.        delete newObject[key]
  2506.      }
  2507.  
  2508.    }
  2509.  
  2510.    return newObject
  2511.  
  2512.  }
  2513.  
  2514.  const mapCart = cart => {
  2515.  
  2516.    const oldCart = cart
  2517.  
  2518.    const mapper = {
  2519.      id: 'id',
  2520.      currency: 'currency',
  2521.      item_count: 'item_count',
  2522.      items: 'items',
  2523.      total_price: 'total_price',
  2524.      latest_items: 'latest_items'
  2525.    }
  2526.  
  2527.    cart = map(cart, mapper)
  2528.  
  2529.    const discounts = (oldCart.storewide_discounts || []).concat((oldCart.voucher_discounts || []))
  2530.  
  2531.    cart.discount_applications = discounts.map(discount => ({
  2532.      title: discount.voucher_code || null,
  2533.      value: parsePrice(discount.amount),
  2534.    }))
  2535.  
  2536.    cart.original_total_price = cart.items.length
  2537.    ? cart.items
  2538.      .map(item => item.original_price)
  2539.      .reduce((sum, price) => sum + price)
  2540.    : 0
  2541.  
  2542.    cart.total_discount = cart.discount_applications.length
  2543.    ? cart.discount_applications
  2544.      .map(discount => parsePrice(discount.value))
  2545.      .reduce((sum, value) => sum + value)
  2546.    : 0
  2547.  
  2548.    cart.items = cart.items.map(item => mapLineItem(item))
  2549.  
  2550.    return cart
  2551.  
  2552.  }
  2553.  
  2554.  const mapCheckout = checkout => {
  2555.  
  2556.    const mapper = {
  2557.      note: 'note',
  2558.      attributes: 'note_attributes',
  2559.      billing_address: 'billing_address',
  2560.      currency: 'currency',
  2561.      customer_id: 'customer_id',
  2562.      discounts_amount: 'total_discount',
  2563.      id: 'id',
  2564.      line_items: 'order_item',
  2565.      order_number: 'order_number',
  2566.      shipping_address: 'shipping_address',
  2567.      shipping_price: 'shipping_tax',
  2568.      shipping_method: 'shipping_method_name',
  2569.      tax_price: 'total_tax',
  2570.    }
  2571.  
  2572.    checkout = map(checkout, mapper)
  2573.  
  2574.    checkout.requires_shipping = checkout.line_items.some(item => item.shipping_required)
  2575.  
  2576.    checkout.line_items = checkout.line_items.map(item => mapLineItem(item))
  2577.  
  2578.    return checkout
  2579.  
  2580.  }
  2581.  
  2582.  const mapOrder = order => {
  2583.  
  2584.    const mapper = {
  2585.      attributes: 'note_attributes',
  2586.      billing_address: 'billing_address',
  2587.      cancelled: 'is_cancelled',
  2588.      cancelled_at: 'cancelled_at',
  2589.      created_at: 'created_at',
  2590.      customer_id: 'customer_id',
  2591.      // discount_applications: 'discount_applications',
  2592.      email: 'email',
  2593.      financial_status: 'financial_status',
  2594.      fulfillment_status: 'fulfillment_status',
  2595.      line_items: 'order_item',
  2596.      note: 'note',
  2597.      order_number: 'order_number',
  2598.      phone: 'phone',
  2599.      shipping_address: 'shipping_address',
  2600.      shipping_methods: 'shipping_methods',
  2601.      shipping_price: 'total_shipping',
  2602.      subtotal_price: 'subtotal_price',
  2603.      // tax_lines: 'tax_lines',
  2604.      tax_price: 'total_tax',
  2605.      total_discounts: 'total_discount',
  2606.      total_net_amount: 'total_amount_include_transaction',
  2607.      total_price: 'total_price',
  2608.      transactions: 'transaction_records',
  2609.      is_manual_payment: 'is_manual_payment',
  2610.    }
  2611.  
  2612.    order.email = order.billing_address.email
  2613.    order.phone = order.billing_address.phone
  2614.    order.shipping_method = order.shipping_method_name
  2615.  
  2616.    order = map(order, mapper)
  2617.  
  2618.    order.line_items = order.line_items.map(item => mapLineItem(item))
  2619.    order.transactions = order.transactions.map(transaction => mapTransaction(transaction))
  2620.  
  2621.    return order
  2622.  
  2623.  }
  2624.  
  2625.  const mapLineItem = line_item => {
  2626.  
  2627.    const old_line_item = line_item
  2628.  
  2629.    const mapper = {
  2630.      final_price: 'price',
  2631.      image: 'img_url',
  2632.      message: 'message',
  2633.      original_line_price: 'original_line_price',
  2634.      original_price: 'original_price',
  2635.      properties: 'properties',
  2636.      quantity: 'quantity',
  2637.      requires_shipping: 'shipping_required',
  2638.      sku: 'sku',
  2639.      taxable: 'taxable',
  2640.      title: 'product_name',
  2641.      product_name: 'product_name',
  2642.      url: 'url',
  2643.      product_id: 'product_id',
  2644.      variant_id: 'variant_id',
  2645.      id: ['id', 'i_id'],
  2646.    }
  2647.  
  2648.    line_item = map(line_item, mapper)
  2649.  
  2650.    line_item.product_id = line_item.product_id || (old_line_item.product && old_line_item.product.id) || null
  2651.    line_item.variant_id = line_item.variant_id || (old_line_item.variant && old_line_item.variant.id) || null
  2652.    line_item.image      = line_item.image || (old_line_item.image && old_line_item.image.url) || null
  2653.  
  2654.    return line_item
  2655.  
  2656.  }
  2657.  
  2658.  const mapTransaction = transaction => {
  2659.  
  2660.    const mapper = {
  2661.      amount: 'amount',
  2662.      created_at: 'created_at',
  2663.      gateway: 'gateway_type',
  2664.      id: 'id',
  2665.      status: 'status',
  2666.    }
  2667.  
  2668.    transaction = map(transaction, mapper)
  2669.  
  2670.    return transaction
  2671.  
  2672.  }
  2673.  
  2674.  
  2675. </script>
  2676.  
  2677. </body>
  2678. </html>
Copyright © 2002-9 Sam Ruby, Mark Pilgrim, Joseph Walton, and Phil Ringnalda