MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 3.129.211.116
Web Server : Apache
System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : ppcad7no ( 715)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0750) :  /home2/ppcad7no/lizatilessolution.com/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/lizatilessolution.com/product-details.php
<?php include("site-header.php"); ?>
    
    
    
<?php include("inner-banner.php"); ?>
<?php
$prdID=$_GET['id'];
$prd_query=db_query("SELECT * FROM tbl_category WHERE 1 AND category_id='$prdID'");
$recPrd=mysqli_fetch_array($prd_query);

?>
 
    

      
    <main class="main-content ">  
      
      <div class="wrapper">
        
        <div class="grid__item">           
          



<div class="grid__item wide--one-fifth post-large--one-quarter large--one-quarter">
     
<div class="product_sidebar">  
  <div id="shopify-section-sidebar-category" class="shopify-section"><div data-section-id="sidebar-category"  data-section-type="Sidebar-category" class="shopify-section"> 
    <div class="widget widget_product_categories">
      
      <h4>
        Related Products
      </h4>  
      
      
      <ul class="product-categories dt-sc-toggle-frame-set">
        
      <?php
$left_cat_query=db_query("select * from tbl_category where category_status='Active' and category_parent_id='$recPrd[category_parent_id]' and category_id!='$recPrd[category_id]' ");
while($left_cat_res=mysqli_fetch_array($left_cat_query))
{?>
                     
    <li class="cat-item cat-item-39 cat-parent">
          <i></i><a class=" " href="<?=$site_url?>/product-details.html?id=<?=$left_cat_res['category_id']?>"><?=$left_cat_res['category_name']?></a> 
        </li>
        <?}?>
        
      </ul>
      
    </div>
    
  </div>

  




</div>   
  
  

  <div id="shopify-section-custom-text-type-1" class="shopify-section index-section"><div data-section-id="custom-text-type-1"  data-section-type="custom-text-type-1" class="custom-text-type-1">  
   
      <div class="grid-uniform">
       <ul class="support_block" style="background:#fff">         
        
    </ul>
      </div>

</div>

</div>

  <div id="shopify-section-sidebar-promoimage" class="shopify-section">
 




<script type="text/javascript">
$(document).ready(function(){
     $("#promo-carousel").owlCarousel({ 
        loop:false,
       // margin:10,
        nav:false,       
        dots: true,
        responsive:{
            0:{
                items:1
            },
            600:{
                items:1
            },
            1000:{
                items:1
            }
        }
 
  });
});
      
</script>
</div>
</div>

</div>


<div class="grid__item grid__item wide--four-fifths post-large--three-quarters large--three-quarters">
  <div class="container">
<div itemscope itemtype="http://schema.org/Product" class="single-product-layout-type-1"> 
  <meta itemprop="url" content="https://bath-fixtures.myshopify.com/products/wall-mounted-sinks">
  <meta itemprop="image" content="//cdn.shopify.com/s/files/1/0045/0523/9670/products/product2_bff182ed-3234-4577-800e-19d1712d2ecc_850x.jpg?v=1532424976">
  <div class="product-single">

    <div class="grid__item wide--one-half post-large--one-half large--one-half product-img-box">
       
          <div class="product-photo-container" >
            <a href="<?=$site_url?>/uploaded_files/<?=$recPrd['category_image_name']?>" >
              <img id="product-featured-image" src="<?=$site_url?>/uploaded_files/<?=$recPrd['category_image_name']?>" alt="<?=$recPrd['category_name']?>" title="<?=$recPrd['category_name']?>" data-zoom-image="<?=$site_url?>/uploaded_files/<?=$recPrd['category_image_name']?>"/>
            </a>             
          </div>

      
          
<!--           <div class="more-view-wrapper   more-view-wrapper-owlslider ">
            <ul id="ProductThumbs" class="product-photo-thumbs  owl-carousel owl-theme">
                              <?php

$cat_image=db_query("select * from tbl_category_image where 1 and category_image_cat_id='$recPrd[category_id]' ");
while($image_res=mysqli_fetch_array($cat_image))
{
?>
              <li class="grid-item">
                <a href="javascript:void(0)" data-image="<?=$site_url?>/category_more_images/<?=$image_res[category_image_name]?>" data-zoom-image="<?=$site_url?>/category_more_images/<?=$image_res[category_image_name]?>">
                  <img src="<?=$site_url?>/category_more_images/<?=$image_res[category_image_name]?>" alt="<?=$recPrd['category_name']?>" title="<?=$recPrd['category_name']?>">
                </a>
              </li>
         <?}?>
              
            </ul>
             <div class="single-page-owl-carousel"></div>
          </div>
           -->

    </div>

    <div class="product_single_detail_section grid__item wide--one-half post-large--one-half large--one-half">
      <h2 itemprop="name" class="product-single__title"><?=$recPrd['category_name']?></h2>
      
      <div class="product_single_price">
        <div class="product_price">          
          <div class="grid-link__org_price" id="ProductPrice">
            <span><span class=money><i class="fa fa-inr"></i><?=$recPrd['category_discount_price']?></span></span>
          </div>
        </div>
        
        <del class="grid-link__sale_price" id="ComparePrice">
          <span><span class=money><i class="fa fa-inr"></i><?=$recPrd['category_real_price']?></span></span></del>
        
      </div>
<!--      <span class="shopify-product-reviews-badge" data-id="1786326548598"></span>
 -->     
        <div class="product-description rte" itemprop="description">
       <?=$recPrd['category_short_description']?></div>
        
      <div itemprop="offers" itemscope itemtype="http://schema.org/Offer">
        
        <meta itemprop="priceCurrency" content="USD">
        <link itemprop="availability" href="http://schema.org/InStock">
        
                
                

                       
          
          <div class="selector-wrapper-secton"  >           
                                   
            

    <style>
      label[for="productSelect-option-0-0"] { display: none; }
      #add-to-cart-form .selector-wrapper {display:none}
      #productSelect-option-0-0 { display: none; }
      #productSelect-option-0-0 + .custom-style-select-box { display: none !important; }
    </style>
<script>jQuery(window).load(function() { jQuery('.product_single_detail_section .selector-wrapper:eq(0)').hide(); });</script>
    
    
  

  



<div class="swatch clearfix" data-option-index="0">


  <div class="swatch-section">
  
  
    
    
      	
     <!--   
      
      <div data-value="20 inch" class="swatch-element 20-inch available">
        
        <input id="swatch-0-20-inch" type="radio" name="option-0" value="20 inch" checked  />
        
        <label for="swatch-0-20-inch">
          20 inch
          <img class="crossed-out" src="../../cdn.shopify.com/s/files/1/0045/0523/9670/t/3/assets/soldout0c13.png?v=6625312704354037208" />
        </label>
        
      </div>
    
    
    <script>
      jQuery('.swatch[data-option-index="0"] .20-inch').removeClass('soldout').addClass('available').find(':radio').removeAttr('disabled');
    </script>
    
  
    
    
      	
       
      
      <div data-value="24 inch" class="swatch-element 24-inch available">
        
        <input id="swatch-0-24-inch" type="radio" name="option-0" value="24 inch"  />
        
        <label for="swatch-0-24-inch">
          24 inch
          <img class="crossed-out" src="../../cdn.shopify.com/s/files/1/0045/0523/9670/t/3/assets/soldout0c13.png?v=6625312704354037208" />
        </label>
        
      </div>
    
    
    <script>
      jQuery('.swatch[data-option-index="0"] .24-inch').removeClass('soldout').addClass('available').find(':radio').removeAttr('disabled');
    </script>
    
  
    
    
      	
       
      
      <div data-value="32 inch" class="swatch-element 32-inch available">
        
        <input id="swatch-0-32-inch" type="radio" name="option-0" value="32 inch"  />
        
        <label for="swatch-0-32-inch">
          32 inch
          <img class="crossed-out" src="../../cdn.shopify.com/s/files/1/0045/0523/9670/t/3/assets/soldout0c13.png?v=6625312704354037208" />
        </label>
        
      </div>
    
    
    <script>
      jQuery('.swatch[data-option-index="0"] .32-inch').removeClass('soldout').addClass('available').find(':radio').removeAttr('disabled');
    </script>
     -->
  
</div>

</div>



            
            










  

  
    
    
    <style>
      label[for="productSelect-option-0-1"] { display: none; }
      #add-to-cart-form .selector-wrapper {display:none}
      #productSelect-option-0-1 { display: none; }
      #productSelect-option-0-1 + .custom-style-select-box { display: none !important; }
    </style>
<script>jQuery(window).load(function() { jQuery('.product_single_detail_section .selector-wrapper:eq(1)').hide(); });</script>
    
    
  

<!-- 

<div class="swatch clearfix" data-option-index="1">
  <div class="header">Color :</div>
  <div class="swatch-section">
  
  
    
    
      	
       
      
      <div data-value="Sandal" class="swatch-element color sandal available">
        
        <div class="tooltip">Sandal</div>
        
        <input id="swatch-1-sandal" type="radio" name="option-1" value="Sandal" checked  />
        
        <label for="swatch-1-sandal" style="background-color: sandal; background-image: url(../../cdn.shopify.com/s/files/1/0045/0523/9670/files/sandal335f.html?240)">
          <img class="crossed-out" src="../../cdn.shopify.com/s/files/1/0045/0523/9670/t/3/assets/soldout0c13.png?v=6625312704354037208" />
        </label>
        
      </div>
    
    
    <script>
      jQuery('.swatch[data-option-index="1"] .sandal').removeClass('soldout').addClass('available').find(':radio').removeAttr('disabled');
    </script>
    
  
    
    
      	
       
      
      <div data-value="White" class="swatch-element color white available">
        
        <div class="tooltip">White</div>
        
        <input id="swatch-1-white" type="radio" name="option-1" value="White"  />
        
        <label for="swatch-1-white" style="background-color: white; background-image: url(../../cdn.shopify.com/s/files/1/0045/0523/9670/files/white335f.html?240)">
          <img class="crossed-out" src="../../cdn.shopify.com/s/files/1/0045/0523/9670/t/3/assets/soldout0c13.png?v=6625312704354037208" />
        </label>
        
      </div>
    
    
    <script>
      jQuery('.swatch[data-option-index="1"] .white').removeClass('soldout').addClass('available').find(':radio').removeAttr('disabled');
    </script>
    
  
    
    
      	
       
      
      <div data-value="Silver" class="swatch-element color silver available">
        
        <div class="tooltip">Silver</div>
        
        <input id="swatch-1-silver" type="radio" name="option-1" value="Silver"  />
        
        <label for="swatch-1-silver" style="background-color: silver; background-image: url(../../cdn.shopify.com/s/files/1/0045/0523/9670/files/silver335f.html?240)">
          <img class="crossed-out" src="../../cdn.shopify.com/s/files/1/0045/0523/9670/t/3/assets/soldout0c13.png?v=6625312704354037208" />
        </label>
        
      </div>
    
    
    <script>
      jQuery('.swatch[data-option-index="1"] .silver').removeClass('soldout').addClass('available').find(':radio').removeAttr('disabled');
    </script>
    
  
</div>
</div> -->



            
                          
      <!--       <select name="id" id="productSelect" class="" >
              
              <option  selected="selected"  value="18031155642486">20 inch / Sandal</option>
              
              <option  value="18031277998198">24 inch / White</option>
              
              <option  value="18031278030966">32 inch / Silver</option>
              
            </select> -->
            </div>          
          <div class="product-single__quantity  hide ">
            <div class="quantity-box-section">
              <label>Quantity :</label>
              <div class="quantity_width"> 
<div class="dec button">-</div>  
<input type="number" id="quantity" name="quantity" value="1" min="1">  
<div class="inc button">+</div>  
<p class="min-qty-alert" style="display:none">Minimum quantity should be 1</p>
</div>
<script>
  jQuery(".button").on("click", function() {
    var oldValue = jQuery("#quantity").val(),
        newVal = 1;

    if (jQuery(this).text() == "+") {
      newVal = parseInt(oldValue) + 1;
    } else if (oldValue > 1) {
      newVal = parseInt(oldValue) - 1;
    }

    jQuery("#quantity").val(newVal);
     
    updatePricing();
    
  });
  
  
  
   
  //update price when changing quantity
  function updatePricing() {
    
    
    //try pattern one before pattern 2
    var regex = /([0-9]+[.|,][0-9]+[.|,][0-9]+)/g;
    var unitPriceTextMatch = jQuery('.product-single #ProductPrice').text().match(regex);
   
    if (!unitPriceTextMatch) {
      regex = /([0-9]+[.|,][0-9]+)/g;
      unitPriceTextMatch = jQuery('.product-single #ProductPrice').text().match(regex);        
    }
   
    if (unitPriceTextMatch) {
      var unitPriceText = unitPriceTextMatch[0];     
      var unitPrice = unitPriceText.replace(/[.|,]/g,'');
      var quantity = parseInt(jQuery('#quantity').val());
      var totalPrice = unitPrice * quantity;

      var totalPriceText = Shopify.formatMoney(totalPrice, window.money_format);
      regex = /([0-9]+[.|,][0-9]+[.|,][0-9]+)/g;     
      if (!totalPriceText.match(regex)) {
        regex = /([0-9]+[.|,][0-9]+)/g;
      } 
      totalPriceText = totalPriceText.match(regex)[0];

      var regInput = new RegExp(unitPriceText, "g"); 
      var totalPriceHtml = jQuery('.product-single #ProductPrice').html().replace(regInput ,totalPriceText);

      jQuery('.product-single .total-price span').html(totalPriceHtml);     
    }
  }

  jQuery('#quantity').on('change', updatePricing);
  
  
  
  
  var t = false

jQuery('input').focus(function () {
    var $this = jQuery(this)
    
    t = setInterval(

    function () {
        if (($this.val() < 1 ) && $this.val().length != 0) {
            if ($this.val() < 1) {
                $this.val(1)
            }

          
            jQuery('.min-qty-alert').fadeIn(1000, function () {
                jQuery(this).fadeOut(500)
            })
        }
    }, 50)
})

jQuery('input').blur(function () {
    if (t != false) {
        window.clearInterval(t)
        t = false;
    }
})


  
  
  
</script>



 
<div class="total-price">
  <label>Subtotal : </label><span><span class=money>$219.00</span></span>
</div>



            </div>
          </div>
          <div class="product-infor">
          
             <p class="product-vendor">
            <label>Brand :</label>
            <span><?=$recPrd['category_brand']?></span>
          </p>
          
           <p class="product-vendor">
            <label>Tile Type :</label>
            <span><?=$recPrd['category_quality']?></span>
          </p>
           <p class="product-vendor">
            <label>Finish Type :</label>
            <span><?=$recPrd['category_finish_type']?></span>
          </p>
          
          
            <p class="product-vendor">
            <label>Design :</label>
            <span><?=$recPrd['category_design']?></span>
          </p>
          
          
          <?php if(!empty($recPrd['category_color'])){ ?>
           <p class="product-vendor">
            <label>Color :</label>
            <span>
               <select name="color" id="color">
                    <option value="">--- Select Color ---</option>
            <?php
            foreach(explode(",",$recPrd['category_color']) as $color) {
                ?>
             
                    <option value="<?=$color?>"><?=$color?></option>
             <?}?>
             </select>
            </span>
          </p>
          <?}?>
          
          
           <?php if(!empty($recPrd['category_area'])){ ?>
          <p class="product-vendor">
            <label>Area :</label>
            <span>
               <select name="area" id="area">
                    <option value="">--- Select Area ---</option>
            <?php
            foreach(explode(",",$recPrd['category_area']) as $area) {
                ?>
             
                    <option value="<?=$area?>"><?=$area?></option>
             <?}?>
             </select>
            </span>
          </p>
          <?}?>
          
          
          
           <?php if(!empty($recPrd['category_size'])){ ?>
          <p class="product-vendor">
            <label>Size :</label>
            <span>
               <select name="size" id="size">
                    <option value="">--- Select Size ---</option>
            <?php
            foreach(explode(",",$recPrd['category_size']) as $size) {
                ?>
             
                    <option value="<?=$size?>"><?=$size?></option>
             <?}?>
             </select>
            </span>
          </p>
          <?}?>
            
         
          
          
          <p class="product-type">
            <label>Category : </label>  
            <span><?=db_scalar("select category_name from tbl_category where category_id='$recPrd[category_parent_id]'")?></span>
          </p>
          
          
          <p class="product-inventory" id="product-inventory">
            <label>Availability :  </label>              
            <span>
              
              <?php
              if($recPrd['category_in_stock']=="Yes" && $recPrd['category_qnty']>0)
              {?>
                    <?=$recPrd['category_qnty']?>  In Stock 
              <?}else if($recPrd['category_in_stock']=="On Order"){?>
              <?=$recPrd['category_in_stock']?>
              
              <?}else{?>
               Out Of Stock
              <?}?>
              
            
              
              
            </span>
          </p>
          
          
           <p class="product-type">
            <label>Quantity : </label>  
            <span><input min="1" type="number" name="qty" id="qty" onkeydown="javascript: return event.keyCode == 69 ? false : true" /></span>
          </p>
                  
        
          </div>
            <button type="submit" name="add" id="AddToCart" class="btn" onclick="add_to_cart_ajax(<?=$recPrd['category_id']?>);">
             <span id="AddToCartText">Add to Cart</span>
            </button>

      </div>
      
<!--       <div class="add-to-wishlist">     
<div class="show">
  <div class="default-wishbutton-wall-mounted-sinks loading"><a class="add-in-wishlist-js btn" href="#"><i class="fa fa-heart-o"></i><span class="tooltip-label">Add to wishlist</span></a></div>
 <div class="loadding-wishbutton-wall-mounted-sinks loading btn" style="display: none; pointer-events: none"><a class="add_to_wishlist" href="#"><i class="fa fa-circle-o-notch fa-spin"></i></a></div>
  <div class="added-wishbutton-wall-mounted-sinks loading" style="display: none;"><a class="added-wishlist btn add_to_wishlist" href="#"><i class="fa fa-heart"></i><span class="tooltip-label">View Wishlist</span></a></div>
</div>
 </div> -->

      
  
         
      <div class="share_this_btn">
   <div class="addthis_toolbox addthis_default_style addthis_32x32_style"  >
<a class="addthis_button_preferred_1"></a>
<a class="addthis_button_preferred_2"></a>
<a class="addthis_button_preferred_3"></a>
<a class="addthis_button_preferred_4"></a>
<a class="addthis_button_compact"></a>
<a class="addthis_counter addthis_bubble_style"></a>
</div>
<script type='text/javascript'>
var addthis_product = 'sfy-2.0.2';
var addthis_plugin_info = {"info_status":"enabled","cms_name":"Shopify","cms_version":null,"plugin_name":"AddThis Sharing Tool","plugin_version":"2.0.2","plugin_mode":"AddThis"};
var addthis_config     = {/*AddThisShopify_config_begins*/pubid:'xa-525fbbd6215b4f1a', button_style:'style3', services_compact:'', ui_delay:0, ui_click:false, ui_language:'', data_track_clickback:true, data_ga_tracker:'', custom_services:'', custom_services_size:true/*AddThisShopify_config_ends*/};
</script>
<script type='text/javascript' src='<?=$site_url?>/assets/addthis_widget.js#pubid=xa-525fbbd6215b4f1a'></script>
      
      </div>
       </div>
  </div>
<div class="dt-sc-hr-invisible-large"></div>
  <div class="dt-sc-tabs-container">
    <ul class="dt-sc-tabs">
      <li><a class="btn" href="#"> Product Description </a></li> 
     <!--  <li><a class="btn" href="#"> Reviews  </a></li>
      <li><a class="btn" href="#"> Shipping Details  </a></li> -->
    </ul>
    
    <div class="dt-sc-tabs-content" id="desc_pro">
<?=$recPrd['category_description']?>
    </div>
    
    
    <div class="dt-sc-tabs-content">
      <div class="commentlist">
        <div class="comment-text">
          <div class="rating-review">
           <div id="shopify-product-reviews" data-id="1786326548598"></div>
          </div>
        </div>
      </div>
    </div>
    
    
    <div class="dt-sc-tabs-content">
       <p><p>Returns policy</p>
<p>You may return most new, unopened items within 30 days of delivery for a full refund. We'll also pay the return shipping costs if the return is a result of our error (you received an incorrect or defective item, etc.).</p>
<p>You should expect to receive your refund within four weeks of giving your package to the return shipper, however, in many cases you will receive a refund more quickly. This time period includes the transit time for us to receive your return from the shipper (5 to 10 business days), the time it takes us to process your return once we receive it (3 to 5 business days), and the time it takes your bank to process our refund request (5 to 10 business days).</p>
<p>If you need to return an item, simply login to your account, view the order using the 'Complete Orders' link under the My Account menu and click the Return Item(s) button. We'll notify you via e-mail of your refund once we've received and processed the returned item.</p>
<p>Shipping details</p>
<p>We can ship to virtually any address in the world. Note that there are restrictions on some products, and some products cannot be shipped to international destinations.</p>
<p>When you place an order, we will estimate shipping and delivery dates for you based on the availability of your items and the shipping options you choose. Depending on the shipping provider you choose, shipping date estimates may appear on the shipping quotes page.</p>
<p>Please also note that the shipping rates for many items we sell are weight-based. The weight of any such item can be found on its detail page. To reflect the policies of the shipping companies we use, all weights will be rounded up to the next full pound.</p></p>
    </div>
                   
  </div>

  
  <div class="dt-sc-hr-invisible-large"></div>
   
  <script src="<?=$site_url?>/assets/jquery.tmpl.min.js" type="text/javascript"></script>
  <div class="dt-sc-hr-invisible-medium"></div>

<section class="recently-viewed-products">
    
  <div class="section-header section-header--small">
        <div class="border-title">
    
    <h2>Recently Viewed Products</h2>    
  
    </div>
  </div>
  
  <div class="products-grid" id="recently-viewed-products-grid">
  </div>
</section>



<script id="recently-viewed-product-grid-template"  type="text/x-jquery-tmpl">

<div class="grid__item wide--one-quarter post-large--one-quarter large--one-third medium--one-half" >
  <div id="product-${id}" class="inner product-item{{if !available}} sold-out {{/if}}{{if compare_at_price_min > price_min}} on-sale {{/if}}">
    <div class="inner-top products">
      <div class="product-top">
        <div class="product-image">
          <a href="${url}" class="product-grid-image">
            <img src="${Shopify.Products.resizeImage(featured_image, "master")}" alt="${featured_image.alt}"/>
            
          </a>
        </div>
        
        {{if compare_at_price_min > price_min || !available}}
        <div class="product-label">
          {{if compare_at_price_min > price_min}} 
            <strong class="label"> Sale</strong>
          {{/if}}
          {{if !available}}
            <strong class="sold-out-label"> >Sold Out</strong>
          {{/if}}
        </div>
        {{/if}}
      </div>
  
      <div class="product-bottom product-detail">
                
        
          <a class="product-title grid-link__title" href="${url}">${title} </a>
                
        

         

        <div class="price-box grid-link__meta">   
        {{if compare_at_price_min > price_min}} 
          <p class="sale">
            <span class="special-price grid-link__org_price">{{if price_varies}}{{/if}}{{html Shopify.formatMoney(price_min, window.money_format)}}</span>
                        <del class="old-price grid-link__sale_price"> {{html Shopify.formatMoney(compare_at_price_min, window.money_format)}}</del>

  
  </p>
        {{else}}
          <p class="regular-product">
            <span class="special-price grid-link__org_price">{{if price_varies}}{{/if}}{{html Shopify.formatMoney(price_min, window.money_format)}}</span>
          </p>
        {{/if}}
        </div>
    <span class="shopify-product-reviews-badge" data-id="${id}"></span>
        <div class="action">
          <form action="/cart/add" method="post" class="variants" id="product-actions-${id}" enctype="multipart/form-data" style="padding:0px;">    
            {{if !available}} 
            <input class="btn add-to-cart-btn" type="submit"  value="Unavailable" disabled="disabled"/>
            {{else variants.length > 1 }}
            <input class="btn" type="button" onclick="window.location.href='${url}'"  value="Select options"/>
            {{else}}
            <input type="hidden" name="id" value="${variants[0].id}" />      
            <input class="btn add-to-cart-btn" type="submit"  value="Add to Cart"/>
            {{/if}}
          </form>
        </div>    
      </div>
    </div>
  </div>
</div>
</script>


<script>
  
/**
 * Module to show Recently Viewed Products
 *
 * Copyright (c) 2014 Caroline Schnapp (11heavens.com)
 * Dual licensed under the MIT and GPL licenses:
 * http://www.opensource.org/licenses/mit-license.php
 * http://www.gnu.org/licenses/gpl.html
 *
 */
Shopify.Products=function(){var e={howManyToShow:3,howManyToStoreInMemory:10,wrapperId:"recently-viewed-products",templateId:"recently-viewed-product-template",onComplete:null};var t=[];var n=null;var r=null;var i=0;var s={configuration:{expires:90,path:"/",domain:window.location.hostname},name:"shopify_recently_viewed",write:function(e){jQuery.cookie(this.name,e.join(" "),this.configuration)},read:function(){var e=[];var t=jQuery.cookie(this.name);if(t!==null&&t!=undefined){e=t.split(" ")}return e},destroy:function(){jQuery.cookie(this.name,null,this.configuration)},remove:function(e){var t=this.read();var n=jQuery.inArray(e,t);if(n!==-1){t.splice(n,1);this.write(t)}}};var o=function(){n.show();if(e.onComplete){try{e.onComplete()}catch(t){}}};var u=function(){if(t.length&&i<e.howManyToShow){jQuery.ajax({dataType:"json",url:"/products/"+t[0]+".js",cache:false,success:function(e){r.tmpl(e).appendTo(n);t.shift();i++;u()},error:function(){s.remove(t[0]);t.shift();u()}})}else{o()}};return{resizeImage:function(e,t){if(t==null){return e}if(t=="master"){return e.replace(/http(s)?:/,"")}var n=e.match(/\.(jpg|jpeg|gif|png|bmp|bitmap|tiff|tif)(\?v=\d+)?/i);if(n!=null&&n!=undefined){var r=e.split(n[0]);var i=n[0];return(r[0]+"_"+t+i).replace(/http(s)?:/,"")}else{return null}},showRecentlyViewed:function(i){var i=i||{};jQuery.extend(e,i);t=s.read();r=jQuery("#"+e.templateId);n=jQuery("#"+e.wrapperId);e.howManyToShow=Math.min(t.length,e.howManyToShow);if(e.howManyToShow&&r.length&&n.length){u()}},getConfig:function(){return e},clearList:function(){s.destroy()},recordRecentlyViewed:function(t){var t=t||{};jQuery.extend(e,t);var n=s.read();if(window.location.pathname.indexOf("index.html")!==-1){var r=window.location.pathname.match(/\/products\/([a-z0-9\-]+)/)[1];var i=jQuery.inArray(r,n);if(i===-1){n.unshift(r);n=n.splice(0,e.howManyToStoreInMemory)}else{n.splice(i,1);n.unshift(r)}s.write(n)}}}}()


Shopify.Products.showRecentlyViewed({ 
  howManyToShow: 8, 
  wrapperId: 'recently-viewed-products-grid', 
  templateId: 'recently-viewed-product-grid-template',
  onComplete: function() {
  if (jQuery("#recently-viewed-products-grid").children().length > 0) {
  jQuery(".recently-viewed-products").show();  
}
  }
});
</script>

  
  
</div>
  </div>
</div>
 
 <script src="<?=$site_url?>/assets/option_selection-fe6b72c2bbdd3369ac0bfefe8648e3c889efca213baefd4cfb0dd9363563831f.js" type="text/javascript"></script>
 <script src="<?=$site_url?>/assets/jquery.fancybox335f.html?240" type="text/javascript"></script>

<script>
  /*var selectCallback = function(variant, selector) {
    timber.productPage({
      money_format: "<span class=money>${{amount}}</span>",
      variant: variant,
      selector: selector,
      translations: {
      add_to_cart : "Add to Cart",
      sold_out : "Sold Out",
      unavailable : "Unavailable"
    }
  });
  };

  jQuery(function($) {
    new Shopify.OptionSelectors('productSelect', {
      product: {"id":1786326548598,"title":"Wall Mounted Sinks","handle":"wall-mounted-sinks","description":"\u003cp\u003eLorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui official.\u003c\/p\u003e","published_at":"2018-07-11T04:29:11-04:00","created_at":"2018-07-11T04:29:12-04:00","vendor":"Tecla","type":"Sink","tags":["$200 - $300","20 inch","Sandal","Sink","Tecla"],"price":21900,"price_min":21900,"price_max":29900,"available":true,"price_varies":true,"compare_at_price":49800,"compare_at_price_min":49800,"compare_at_price_max":49800,"compare_at_price_varies":false,"variants":[{"id":18031155642486,"title":"20 inch \/ Sandal","option1":"20 inch","option2":"Sandal","option3":null,"sku":"","requires_shipping":true,"taxable":true,"featured_image":{"id":5509110923382,"product_id":1786326548598,"position":1,"created_at":"2018-07-24T05:36:09-04:00","updated_at":"2018-07-24T05:36:16-04:00","alt":null,"width":1000,"height":1000,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0045\/0523\/9670\/products\/product2_bff182ed-3234-4577-800e-19d1712d2ecc.jpg?v=1532424976","variant_ids":[18031155642486]},"available":true,"name":"Wall Mounted Sinks - 20 inch \/ Sandal","public_title":"20 inch \/ Sandal","options":["20 inch","Sandal"],"price":22900,"weight":0,"compare_at_price":49800,"inventory_management":"shopify","barcode":"","featured_media":{"alt":null,"id":3380884996214,"position":1,"preview_image":{"aspect_ratio":1.0,"height":1000,"width":1000,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0045\/0523\/9670\/products\/product2_bff182ed-3234-4577-800e-19d1712d2ecc.jpg?v=1570113712"}}},{"id":18031277998198,"title":"24 inch \/ White","option1":"24 inch","option2":"White","option3":null,"sku":"","requires_shipping":true,"taxable":true,"featured_image":{"id":5509110071414,"product_id":1786326548598,"position":2,"created_at":"2018-07-24T05:36:08-04:00","updated_at":"2018-07-24T05:36:16-04:00","alt":null,"width":1000,"height":1000,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0045\/0523\/9670\/products\/product25.jpg?v=1532424976","variant_ids":[18031277998198]},"available":true,"name":"Wall Mounted Sinks - 24 inch \/ White","public_title":"24 inch \/ White","options":["24 inch","White"],"price":21900,"weight":0,"compare_at_price":49800,"inventory_management":"shopify","barcode":"","featured_media":{"alt":null,"id":3380884537462,"position":2,"preview_image":{"aspect_ratio":1.0,"height":1000,"width":1000,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0045\/0523\/9670\/products\/product25.jpg?v=1570113712"}}},{"id":18031278030966,"title":"32 inch \/ Silver","option1":"32 inch","option2":"Silver","option3":null,"sku":"","requires_shipping":true,"taxable":true,"featured_image":{"id":5509109710966,"product_id":1786326548598,"position":3,"created_at":"2018-07-24T05:36:07-04:00","updated_at":"2018-07-24T05:36:16-04:00","alt":null,"width":1000,"height":1000,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0045\/0523\/9670\/products\/product8.jpg?v=1532424976","variant_ids":[18031278030966]},"available":true,"name":"Wall Mounted Sinks - 32 inch \/ Silver","public_title":"32 inch \/ Silver","options":["32 inch","Silver"],"price":29900,"weight":0,"compare_at_price":49800,"inventory_management":"shopify","barcode":"","featured_media":{"alt":null,"id":3380884471926,"position":3,"preview_image":{"aspect_ratio":1.0,"height":1000,"width":1000,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0045\/0523\/9670\/products\/product8.jpg?v=1570113712"}}}],"images":["\/\/cdn.shopify.com\/s\/files\/1\/0045\/0523\/9670\/products\/product2_bff182ed-3234-4577-800e-19d1712d2ecc.jpg?v=1532424976","#\/\/cdn.shopify.com\/s\/files\/1\/0045\/0523\/9670\/products\/product25.jpg?v=1532424976","\/\/cdn.shopify.com\/s\/files\/1\/0045\/0523\/9670\/products\/product8.jpg?v=1532424976"],"featured_image":"\/\/cdn.shopify.com\/s\/files\/1\/0045\/0523\/9670\/products\/product2_bff182ed-3234-4577-800e-19d1712d2ecc.jpg?v=1532424976","options":["Size","Color"],"media":[{"alt":null,"id":3380884996214,"position":1,"preview_image":{"aspect_ratio":1.0,"height":1000,"width":1000,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0045\/0523\/9670\/products\/product2_bff182ed-3234-4577-800e-19d1712d2ecc.jpg?v=1570113712"},"aspect_ratio":1.0,"height":1000,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0045\/0523\/9670\/products\/product2_bff182ed-3234-4577-800e-19d1712d2ecc.jpg?v=1570113712","width":1000},{"alt":null,"id":3380884537462,"position":2,"preview_image":{"aspect_ratio":1.0,"height":1000,"width":1000,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0045\/0523\/9670\/products\/product25.jpg?v=1570113712"},"aspect_ratio":1.0,"height":1000,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0045\/0523\/9670\/products\/product25.jpg?v=1570113712","width":1000},{"alt":null,"id":3380884471926,"position":3,"preview_image":{"aspect_ratio":1.0,"height":1000,"width":1000,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0045\/0523\/9670\/products\/product8.jpg?v=1570113712"},"aspect_ratio":1.0,"height":1000,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0045\/0523\/9670\/products\/product8.jpg?v=1570113712","width":1000}],"content":"\u003cp\u003eLorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui official.\u003c\/p\u003e"},
      onVariantSelected: selectCallback,
      enableHistoryState: true
    });


    
    
    Shopify.linkOptionSelectors({"id":1786326548598,"title":"Wall Mounted Sinks","handle":"wall-mounted-sinks","description":"\u003cp\u003eLorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui official.\u003c\/p\u003e","published_at":"2018-07-11T04:29:11-04:00","created_at":"2018-07-11T04:29:12-04:00","vendor":"Tecla","type":"Sink","tags":["$200 - $300","20 inch","Sandal","Sink","Tecla"],"price":21900,"price_min":21900,"price_max":29900,"available":true,"price_varies":true,"compare_at_price":49800,"compare_at_price_min":49800,"compare_at_price_max":49800,"compare_at_price_varies":false,"variants":[{"id":18031155642486,"title":"20 inch \/ Sandal","option1":"20 inch","option2":"Sandal","option3":null,"sku":"","requires_shipping":true,"taxable":true,"featured_image":{"id":5509110923382,"product_id":1786326548598,"position":1,"created_at":"2018-07-24T05:36:09-04:00","updated_at":"2018-07-24T05:36:16-04:00","alt":null,"width":1000,"height":1000,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0045\/0523\/9670\/products\/product2_bff182ed-3234-4577-800e-19d1712d2ecc.jpg?v=1532424976","variant_ids":[18031155642486]},"available":true,"name":"Wall Mounted Sinks - 20 inch \/ Sandal","public_title":"20 inch \/ Sandal","options":["20 inch","Sandal"],"price":22900,"weight":0,"compare_at_price":49800,"inventory_management":"shopify","barcode":"","featured_media":{"alt":null,"id":3380884996214,"position":1,"preview_image":{"aspect_ratio":1.0,"height":1000,"width":1000,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0045\/0523\/9670\/products\/product2_bff182ed-3234-4577-800e-19d1712d2ecc.jpg?v=1570113712"}}},{"id":18031277998198,"title":"24 inch \/ White","option1":"24 inch","option2":"White","option3":null,"sku":"","requires_shipping":true,"taxable":true,"featured_image":{"id":5509110071414,"product_id":1786326548598,"position":2,"created_at":"2018-07-24T05:36:08-04:00","updated_at":"2018-07-24T05:36:16-04:00","alt":null,"width":1000,"height":1000,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0045\/0523\/9670\/products\/product25.jpg?v=1532424976","variant_ids":[18031277998198]},"available":true,"name":"Wall Mounted Sinks - 24 inch \/ White","public_title":"24 inch \/ White","options":["24 inch","White"],"price":21900,"weight":0,"compare_at_price":49800,"inventory_management":"shopify","barcode":"","featured_media":{"alt":null,"id":3380884537462,"position":2,"preview_image":{"aspect_ratio":1.0,"height":1000,"width":1000,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0045\/0523\/9670\/products\/product25.jpg?v=1570113712"}}},{"id":18031278030966,"title":"32 inch \/ Silver","option1":"32 inch","option2":"Silver","option3":null,"sku":"","requires_shipping":true,"taxable":true,"featured_image":{"id":5509109710966,"product_id":1786326548598,"position":3,"created_at":"2018-07-24T05:36:07-04:00","updated_at":"2018-07-24T05:36:16-04:00","alt":null,"width":1000,"height":1000,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0045\/0523\/9670\/products\/product8.jpg?v=1532424976","variant_ids":[18031278030966]},"available":true,"name":"Wall Mounted Sinks - 32 inch \/ Silver","public_title":"32 inch \/ Silver","options":["32 inch","Silver"],"price":29900,"weight":0,"compare_at_price":49800,"inventory_management":"shopify","barcode":"","featured_media":{"alt":null,"id":3380884471926,"position":3,"preview_image":{"aspect_ratio":1.0,"height":1000,"width":1000,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0045\/0523\/9670\/products\/product8.jpg?v=1570113712"}}}],"images":["\/\/cdn.shopify.com\/s\/files\/1\/0045\/0523\/9670\/products\/product2_bff182ed-3234-4577-800e-19d1712d2ecc.jpg?v=1532424976","#\/\/cdn.shopify.com\/s\/files\/1\/0045\/0523\/9670\/products\/product25.jpg?v=1532424976","\/\/cdn.shopify.com\/s\/files\/1\/0045\/0523\/9670\/products\/product8.jpg?v=1532424976"],"featured_image":"\/\/cdn.shopify.com\/s\/files\/1\/0045\/0523\/9670\/products\/product2_bff182ed-3234-4577-800e-19d1712d2ecc.jpg?v=1532424976","options":["Size","Color"],"media":[{"alt":null,"id":3380884996214,"position":1,"preview_image":{"aspect_ratio":1.0,"height":1000,"width":1000,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0045\/0523\/9670\/products\/product2_bff182ed-3234-4577-800e-19d1712d2ecc.jpg?v=1570113712"},"aspect_ratio":1.0,"height":1000,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0045\/0523\/9670\/products\/product2_bff182ed-3234-4577-800e-19d1712d2ecc.jpg?v=1570113712","width":1000},{"alt":null,"id":3380884537462,"position":2,"preview_image":{"aspect_ratio":1.0,"height":1000,"width":1000,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0045\/0523\/9670\/products\/product25.jpg?v=1570113712"},"aspect_ratio":1.0,"height":1000,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0045\/0523\/9670\/products\/product25.jpg?v=1570113712","width":1000},{"alt":null,"id":3380884471926,"position":3,"preview_image":{"aspect_ratio":1.0,"height":1000,"width":1000,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0045\/0523\/9670\/products\/product8.jpg?v=1570113712"},"aspect_ratio":1.0,"height":1000,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0045\/0523\/9670\/products\/product8.jpg?v=1570113712","width":1000}],"content":"\u003cp\u003eLorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui official.\u003c\/p\u003e"});
    
    

    // Add label if only one product option and it isn't 'Title'. Could be 'Size'.
    
     // Hide selectors if we only have 1 variant and its title contains 'Default'.
     
    
    // Auto-select first available variant on page load. Otherwise the product looks sold out.
    
    
    
    
    
    $('.single-option-selector:eq(0)').val("20 inch").trigger('change');
    
    $('.single-option-selector:eq(1)').val("Sandal").trigger('change');
    
    
    
    
    
    
    
    
    
    $('.product-single .single-option-selector').wrap('<div class="selector-arrow">');
    
    
                         
  });  
    */
    
</script>		          
        </div>          
        
      </div>
      
      
       <div class="dt-sc-hr-invisible-large"></div>
    </main>  
    
    
        
 <script>
    function add_to_cart_ajax(pro_cart_id)
    {
var qty=document.getElementById("qty").value;
var size=document.getElementById("size").value;
var color=document.getElementById("color").value;
var area=document.getElementById("area").value;



/*alert(qty);
alert(pro_cart_id);*/
if(color=="")
{
     swal("Please select color !", "", "error");  
}else if(area=="")
{
     swal("Please select area !", "", "error");  
}else if(size=="")
{
     swal("Please select size !", "", "error");  
}else if(qty>0){
   
        
           $.ajax({
            url:"<?=$site_url?>/add_to_cart.php",
            type:"POST",
            data:{pro_cart_id:pro_cart_id, qty:qty, size:size, color:color, area:area},
            success:function(data){
                if(data=="quantity error")
                {
                    swal("Quantity not available !", "", "error");
                }else if(data=="Item added in your cart.")
                {
       //   swal("Added !", "Item added in your cart", "success");
          
swal({title: "Added", text: "Item added in your cart",showConfirmButton: true, allowEscapeKey : false, allowOutsideClick: false, type: "success"},
   function(){ 
       location.reload();
   }
);
                }else{
                 swal("Item already added in your cart!", "", "error");
                  

                }

            }
        });
        
}
else{
  swal("Please enter quantity !", "", "error");  
}
        
    }
</script>  
    <?php include("site-footer.php"); ?>

MMCT - 2023