Server IP : 103.6.199.200 / Your IP : 18.222.78.65 Web Server : Microsoft-IIS/10.0 System : Windows NT EMPUSA 10.0 build 20348 (Windows Server 2016) i586 User : EMPUSA$ ( 0) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Domains/tradepan/cyreward.biz/wwwroot/ |
Upload File : |
<%@ page language="C#" autoeventwireup="true" inherits="DPProduct, App_Web_irjyw2fn" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en" > <head id="Head1" runat="server"> <![endif]--><!--[if IE 7]><html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]--><!--[if IE 8]><html class="no-js lt-ie9" lang="en"> <![endif]--><!--[if IE 9 ]><html class="ie9 no-js"> <![endif]--><!--[if (gt IE 9)|!(IE)]><!--> <!--<![endif]--> <META content="IE=11.0000" http-equiv="X-UA-Compatible"> <!-- Basic page needs ================================================== --> <META charset="utf-8"> <META http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <LINK href="scc502/favicon.png" rel="icon"> <!-- Title and description ================================================== --> <TITLE>CY2000</TITLE> <!-- Social meta ================================================== --> <META content="website" property="og:type"> <META content="About Us" property="og:title"> <META content="http://www.cyreward.biz/about.aspx" property="og:url"> <META content="scc502/963330.png" property="og:image"> <META content="scc502/963330.png" property="og:image:secure_url"> <META content="CY2000" property="og:site_name"> <META name="twitter:card" content="summary"> <!-- Helpers ================================================== --> <LINK href="http://www.cyreward.biz/about.aspx" rel="canonical"> <META name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"> <META name="theme-color" content=""> <!-- CSS ================================================== --> <LINK href="scc502/timber.css" rel="stylesheet" type="text/css" media="screen"> <LINK href="scc502/timber2.css" rel="stylesheet" type="text/css" media="screen"> <SCRIPT src="scc502/jquery.min.js" type="text/javascript"></SCRIPT> <!-- Header hook for plugins ================================================== --> <!-- ScriptTags --> <SCRIPT src="scc502/storefront.min.js"></SCRIPT> <!-- /ScriptTags --> <SCRIPT src="scc502/modernizr.min.js" type="text/javascript"></SCRIPT> <!-- Snippet:global/head: Wishlist --> <!-- <LINK href="css/style_601.css" rel="stylesheet" type="text/css" > --> <LINK href="scc502/font-awesome.min.css" rel="stylesheet"> <!-- /Snippet --> <!-- Snippet:global/head: Website Translator --> <STYLE type="text/css"> #wt_tab_slide{height:auto;width:180px;position:fixed;top:10%;right:0;z-index:999;transform: translateX(180px);transition: all ease 1s;} #wt_tab_slide:hover{transform: translateX(0)} .wt_tab_slide_corners_left {border-top-left-radius: 10px;border-bottom-left-radius: 10px;} #wt_tab_slide_include {padding: 15px 15px 15px 15px;} #wt_tab_slide_background {background: #fff;box-shadow: 1px 1px 2px #000;height:100%;opacity: 1;position:absolute; top: 0;width:100%;z-index:-1; } #wt_tab_toggle:hover {cursor: pointer;} </STYLE> <!-- /Snippet --> <META name="GENERATOR" content="MSHTML 11.00.10570.1001"> </head> <body class="template-page " id="about-us"> <form id="form1" runat="server"> <asp:Button ID="ButCartLeft" runat="server" Text="" BackColor="Transparent" BorderColor="Transparent" BorderStyle="None" BorderWidth="0pt" style="width:1px; border:none; border-color:White; border-style:hidden; display:none; " Width="1pt" Height = "1pt" OnClick="Cart_Click" /> <ul class="mobile-nav large--hide" id="MobileNav"> <asp:Label ID="lblSubMenu" runat="server" Text=""></asp:Label> </ul> <div class="mobile-nav-outside" id="MobileNavOutside"></div> <DIV class="page-container" id="PageContainer"> <HEADER class="header-bar logo_top-center sticky-topbar"> <DIV class="header-bg-wrapper"> <DIV class="header-wrapper wrapper"> <!-- Mobile hamburger --> <DIV class="large--hide"> <BUTTON class="mobile-nav-trigger" id="MobileNavTrigger" type="button"> <SPAN class="icon icon-hamburger" aria-hidden="true"></SPAN> </BUTTON> </DIV> <!-- Header02 --> <DIV class="logo-header" role="banner"> <DIV class="logo-search-wrapper"> <!-- Logo --> <DIV class="h1 site-header__logo" itemtype="http://schema.org/Organization" itemscope=""> <A class="logo-wrapper" href="default.aspx" itemprop="url"> <IMG alt="CY2000" src="scc502/963330.png" itemprop="logo"> </A> </DIV> <!-- Search --> <DIV class="medium-down--hide search-bar-wrapper"> <div class="input-group search-bar" > <INPUT name='q' class='input-group-field' aria-label='Search' type='search' placeholder='Search' value=''> <SPAN class='input-group-btn'> <BUTTON class='btn icon-fallback-text' type='submit'> <SPAN class='icon icon-search' aria-hidden='true' style='color:White; ' ></SPAN> <asp:Label ID="lblSearchM1" runat="server" Text=""></asp:Label> </BUTTON> </SPAN> </div> </DIV> <!-- Header02a --> <DIV class="desktop-header-nav medium-down--hide"> <DIV class="header-subnav"> <!-- Currency --> <asp:Label ID="lblCurrency" runat="server" Text=""></asp:Label> <!-- Login and Cart --> <DIV class="header-icon-nav"> <DIV class="header-bar__module"> <asp:Label ID="lblLogin" runat="server" Text=""></asp:Label> </DIV> <asp:Label ID="lblCart" runat="server" Text=""></asp:Label> </DIV> <!-- Header02a --> </DIV></DIV> <!-- Header02 --> </DIV></DIV> <!-- Mobile cart --> <DIV class="large--hide"> <asp:Label ID="lblSubSearch" runat="server" Text=""></asp:Label> <!-- form itself --> <DIV class="white-popup-block mfp-hide popup-search" id="test-form"> <DIV class="popup-search-content"> <div class='input-group search-bar'> <asp:Label ID="lblSearch1" runat="server" Text=""></asp:Label> </div> </DIV></DIV> <SCRIPT src="scc502/magnific-popup.min.js" type="text/javascript"></SCRIPT> <SCRIPT> $(document).ready(function() { $('.popup-with-form').magnificPopup({ type: 'inline', preloader: false, focus: '#name', mainClass: 'popup-search-bg-wrapper', // When elemened is focused, some mobile browsers in some cases zoom in // It looks not nice, so we disable it: callbacks: { beforeOpen: function() { if($(window).width() < 700) { this.st.focus = false; } else { this.st.focus = '#name'; } } } }); $('.popup-search-content').click(function(event) { if($(event.target).attr('class') == "popup-search-content") { $.magnificPopup.close(); } }); }); </SCRIPT> <asp:Label ID="lblSubCart" runat="server" Text=""></asp:Label> </DIV> <!-- Header Final --> </DIV></DIV></HEADER> <HEADER class="header-bar logo_top-center sticky-topbar"> <DIV class="header-bg-wrapper"> <DIV class="header-wrapper wrapper"> <DIV class="header-nav-bar medium-down--hide" > <UL class="site-nav" id="AccessibleNav"> <LI><A class='site-nav__link' href='default.aspx'><asp:Label ID="lblMenu01" runat="server" Text=""></asp:Label></A></LI> <%if (false) { %> <LI class='site-nav--has-dropdown' aria-haspopup='true'> <A class='site-nav__link' href='#'> <asp:Label ID="lblMenu02" runat="server" Text=""></asp:Label> <SPAN class='icon-fallback-text'><SPAN class='icon icon-arrow-down' aria-hidden='true'></SPAN> </SPAN> </A> <UL class='site-nav__dropdown nav-Brands'> <asp:Label ID="lblMainMenu02a" runat="server" Text=""></asp:Label> <asp:Label ID="lblMainMenu02b" runat="server" Text=""></asp:Label> <asp:Label ID="lblMainMenu02c" runat="server" Text=""></asp:Label> <asp:Label ID="lblMainMenu02d" runat="server" Text=""></asp:Label> </UL> </LI> <%} %> <LI class='site-nav--has-dropdown' aria-haspopup='true'> <A class='site-nav__link' href='#'> <asp:Label ID="lblMenu03" runat="server" Text=""></asp:Label> <SPAN class='icon-fallback-text'><SPAN class='icon icon-arrow-down' aria-hidden='true'></SPAN> </SPAN> </A> <UL class='site-nav__dropdown nav-10.10'> <asp:Label ID="lblMainMenu03a" runat="server" Text=""></asp:Label> </UL> </LI> <LI class='site-nav--has-dropdown' aria-haspopup='true'> <A class='site-nav__link' href='#'> <asp:Label ID="lblMenu04" runat="server" Text=""></asp:Label> <SPAN class='icon-fallback-text'><SPAN class='icon icon-arrow-down' aria-hidden='true'></SPAN> </SPAN> </A> <UL class='site-nav__dropdown nav-HairCare'> <asp:Label ID="lblMainMenu04a" runat="server" Text=""></asp:Label> </UL> </LI> <LI class='site-nav--has-dropdown' aria-haspopup='true'> <A class='site-nav__link' href='#'> <asp:Label ID="lblMenu05" runat="server" Text=""></asp:Label> <SPAN class='icon-fallback-text'><SPAN class='icon icon-arrow-down' aria-hidden='true'></SPAN> </SPAN> </A> <UL class='site-nav__dropdown nav-HairType'> <asp:Label ID="lblMainMenu05a" runat="server" Text=""></asp:Label> </UL> </LI> <LI class='site-nav--has-dropdown' aria-haspopup='true'> <A class='site-nav__link' href='#'> <asp:Label ID="lblMenu06" runat="server" Text=""></asp:Label> <SPAN class='icon-fallback-text'><SPAN class='icon icon-arrow-down' aria-hidden='true'></SPAN> </SPAN> </A> <UL class='site-nav__dropdown nav-BodyCare'> <asp:Label ID="lblMainMenu06a" runat="server" Text=""></asp:Label> <asp:Label ID="lblMainMenu06b" runat="server" Text=""></asp:Label> <asp:Label ID="lblMainMenu06c" runat="server" Text=""></asp:Label> <asp:Label ID="lblMainMenu06d" runat="server" Text=""></asp:Label> </UL> </LI> <LI class='site-nav--has-dropdown' aria-haspopup='true'> <A class='site-nav__link' href='#'> <asp:Label ID="lblMenu07" runat="server" Text=""></asp:Label> <SPAN class='icon-fallback-text'><SPAN class='icon icon-arrow-down' aria-hidden='true'></SPAN> </SPAN> </A> <UL class='site-nav__dropdown nav-HairType'> <asp:Label ID="lblMainMenu07a" runat="server" Text=""></asp:Label> </UL> </LI> <LI><A class='site-nav__link' href='event.aspx'><asp:Label ID="lblMenu08" runat="server" Text=""></asp:Label></A></LI> <LI class='site-nav--has-dropdown' aria-haspopup='true'> <A class='site-nav__link' href='#'> <asp:Label ID="lblMenu09" runat="server" Text=""></asp:Label> <SPAN class='icon-fallback-text'><SPAN class='icon icon-arrow-down' aria-hidden='true'></SPAN> </SPAN> </A> <UL class='site-nav__dropdown nav-Other'> <asp:Label ID="lblMainMenu09a" runat="server" Text=""></asp:Label> </UL> </LI> <LI><A class='site-nav__link' href='about.aspx'><asp:Label ID="lblMenu10" runat="server" Text=""></asp:Label></A></LI> </UL> </DIV> <!-- Header Final --> </DIV></DIV></HEADER> <asp:Label ID="lblMainMenu2" runat="server" Text=""></asp:Label> <main class="wrapper main-content" role="main"> <DIV class="grid"> <DIV class="grid__item"> <!-- paginate collection.products by total_products %} --> <DIV class="section-header section-header--breadcrumb"> <asp:Label ID="lblNAV" runat="server" Text=""></asp:Label> </DIV> <DIV class="rte rte--header"></DIV> <HEADER class="section-header section-header--large"> <H1 class="text-center section-header__title section-header__title--left"><asp:Label ID="lblCate" runat="server" Text=""></asp:Label></H1> <DIV class="section-header__link--right large--hide"> <% if (false) { %> <DIV class="form-horizontal"><B> <LABEL for="SortBy"><asp:Label ID="lblmSort" runat="server" Text="Sort by"></asp:Label></LABEL> </B><BR> <asp:Label ID="lblmSortItem" runat="server" Text=""></asp:Label> </DIV> <%} %> <SCRIPT> /*============================================================================ Inline JS because collection liquid object is only available on collection pages, and not external JS files ==============================================================================*/ $(function() { $('select[name="SortBy"]') .val('featured') .bind('change', function() { url=window.location.href; newParam="sort="+$(this).val(); if(url.indexOf("sort=")===-1){ separator = (url.indexOf("?")===-1)?"?":"&"; newUrl= url + separator + newParam; }else{ oldParam="sort=featured"; newUrl=url.replace(oldParam,newParam); } window.location.href =newUrl; } ); }); </SCRIPT> </DIV></HEADER> <DIV class="highlight-wrapper"> <DIV class="highlight-flex"> <asp:Label ID="lblHigh2" runat="server" Text=""></asp:Label> </DIV></DIV> <br /> <SCRIPT> var label_html = ""; $("#ProductPhoto").prepend(label_html); </SCRIPT> <!-- /Snippet --> <SCRIPT src="scc502/option_selection.js" type="text/javascript"></SCRIPT> <SCRIPT> function getRecommendationInProduct() { options = { "datafeedId": "hairdepot", "maxItems": 3, "productId": "3559813" } try { qg("getRecommendation", "view_also_view", options, function (err, recommendation) { if(err){ console.error(err) return } if(recommendation){ product_ids = recommendation.map((r) => { return Number(r.productID) }) product_ids = product_ids.filter(id => !window.recommended_product_ids.includes(id)) product_ids = product_ids.join(",") if(!product_ids) {product_ids = 0} console.log(`Recommendation from qg: ${product_ids}`) $.ajax({ url: `/products/hairdepot-hand-sanitizer-50ml/recommend?ids=${product_ids}&related_template=product&title=You%20may%20also%20like`, type: 'GET', dataType: "json", success: function(res){ $('#custom-recommend-products-content,#custom-recommend-products-content-mobile').html(res.html); theme.cache.$productGridImages = $('body').find('.grid-link__image--product'); theme.cache.$addToCartBtnList = $('body').find(".addToCartList"); theme.addToCartList(); theme.equalHeights(); var allCookies = document.cookie.split(";"); var cookies = {}; for (var i=0; i<allCookies.length; i++){ var pair = allCookies[i].split("="); cookies[(pair[0]+'').trim()] = unescape(pair[1]); } var shopCurrency = 'MYR'; var selectedCurrency = cookies['currency'] != undefined ? cookies['currency'] : 'MYR'; Currency.convertAll(shopCurrency, selectedCurrency); }, fail: function(err){ console.error(error); } }) } } ) return true; } catch (e) { return false; } } function retryRecommendationInProduct(i) { (function loop(i) { setTimeout(() => { var is_completed = getRecommendationInProduct() if (is_completed) return; i-- if (i) return loop(i) }, 500) })(i) } window.addEventListener('load', (event) => { retryRecommendationInProduct(20) }); window.onload = function(){ EasyStore.Event.subscribe('ProductView', function(data){ console.log(data.store); console.log({ "product_id": data.product.id, "product_name": data.product.title, "category_name": data.product.collections[0].name, "product_url": data.product.url, "product_image_url": data.product.img_url, "product_price": data.product.price, }); }); setTimeout(function(){ EasyStore.Event.dispatch('ProductView', { store: { host: 'https://' + window.location.hostname }, product: {"id":3559813,"handle":"hairdepot-hand-sanitizer-50ml","name":"HAIRDEPOT Hand Sanitizer 50ml","title":"HAIRDEPOT Hand Sanitizer 50ml","url":"\/products\/hairdepot-hand-sanitizer-50ml","description":"<link href='\/assets\/css\/froala_style.min.css' rel='stylesheet' type='text\/css'\/><div class='fr-view'><p><strong><u>About this product<\/u><\/strong><\/p><p><br>HAIRDEPOT Hand Sanitizer kills 99.9% of germs without water. This Fast Drying Formula is enriched with soothing aloe vera, is rinse free and non-sticky. The convenient sized bottle is perfect for on the go protection, and is ideal to keep in your car, office, bag.<br><strong><br>How to use: <\/strong><br><br>1. Pour on palm, rub hands together for approximately 30 seconds.<br><br><\/p><p><br><\/p><hr><p><strong><span style=\"font-size: 18px;\">Leave a Comment, Win RM20 Gift Voucher!<\/span><\/strong><\/p><p><font color=\"#7c706b\">Please leave your comment at below area and share with your friends on Facebook.<\/font><\/p><\/div>","content":"<link href='\/assets\/css\/froala_style.min.css' rel='stylesheet' type='text\/css'\/><div class='fr-view'><p><strong><u>About this product<\/u><\/strong><\/p><p><br>HAIRDEPOT Hand Sanitizer kills 99.9% of germs without water. This Fast Drying Formula is enriched with soothing aloe vera, is rinse free and non-sticky. The convenient sized bottle is perfect for on the go protection, and is ideal to keep in your car, office, bag.<br><strong><br>How to use: <\/strong><br><br>1. Pour on palm, rub hands together for approximately 30 seconds.<br><br><\/p><p><br><\/p><hr><p><strong><span style=\"font-size: 18px;\">Leave a Comment, Win RM20 Gift Voucher!<\/span><\/strong><\/p><p><font color=\"#7c706b\">Please leave your comment at below area and share with your friends on Facebook.<\/font><\/p><\/div>","price":"10.00","price_min":"10.00","price_max":"10.00","price_varies":false,"compare_at_price":"15.00","compare_at_price_min":"15.00","compare_at_price_max":"15.00","compare_at_price_varies":false,"available":true,"options":["Title"],"options_by_name":[],"options_with_values":[],"has_only_default_variant":true,"sole_variant_id":16337620,"variants":[{"id":16337620,"title":"Default Title","sku":"550620","taxable":false,"barcode":"","available":true,"inventory_quantity":499,"featured_image":null,"price":1000,"compare_at_price":1500,"options":["Default Title"],"option1":"Default Title"}],"selected_variant":{"id":16337620,"title":"Default Title","sku":"550620","taxable":false,"barcode":"","available":true,"inventory_quantity":499,"featured_image":null,"price":1000,"compare_at_price":1500,"options":["Default Title"],"option1":"Default Title"},"first_available_variant":{"id":16337620,"title":"Default Title","sku":"550620","taxable":false,"barcode":"","available":true,"inventory_quantity":499,"featured_image":null,"price":1000,"compare_at_price":1500,"options":["Default Title"],"option1":"Default Title"},"selected_or_first_available_variant":{"id":16337620,"title":"Default Title","sku":"550620","taxable":false,"barcode":"","available":true,"inventory_quantity":499,"featured_image":{"id":18325433,"alt":"Hair Dryer-69.jpg","src":"https:\/\/s3.ap-southeast-1.amazonaws.com\/cdn.store-assets.com\/s\/132952\/i\/18325433.jpg","variant_ids":[16337620],"type":"Images"},"price":1000,"compare_at_price":1500,"options":["Default Title"],"option1":"Default Title"},"img_url":"https:\/\/cdn.store-assets.com\/s\/132952\/i\/18325433.jpg","images":[{"id":18325433,"alt":"Hair Dryer-69.jpg","img_url":"https:\/\/cdn.store-assets.com\/s\/132952\/i\/18325433.jpg","src":"https:\/\/cdn.store-assets.com\/s\/132952\/i\/18325433.jpg","height":1043,"width":1043,"position":1,"type":"Images"},{"id":18325434,"alt":"Hair Dryer-70.jpg","img_url":"https:\/\/cdn.store-assets.com\/s\/132952\/i\/18325434.jpg","src":"https:\/\/cdn.store-assets.com\/s\/132952\/i\/18325434.jpg","height":1043,"width":1043,"position":2,"type":"Images"},{"id":16299376,"alt":null,"img_url":"https:\/\/cdn.store-assets.com\/s\/132952\/i\/16299376.jpeg","src":"https:\/\/cdn.store-assets.com\/s\/132952\/i\/16299376.jpeg","height":1043,"width":1043,"position":3,"type":"Images"},{"id":16299377,"alt":null,"img_url":"https:\/\/cdn.store-assets.com\/s\/132952\/i\/16299377.jpeg","src":"https:\/\/cdn.store-assets.com\/s\/132952\/i\/16299377.jpeg","height":1043,"width":1043,"position":4,"type":"Images"},{"id":18325524,"alt":"Products-50.jpg","img_url":"https:\/\/cdn.store-assets.com\/s\/132952\/i\/18325524.jpg","src":"https:\/\/cdn.store-assets.com\/s\/132952\/i\/18325524.jpg","height":1043,"width":1043,"position":5,"type":"Images"}],"featured_image":{"id":18325433,"alt":"Hair Dryer-69.jpg","img_url":"https:\/\/cdn.store-assets.com\/s\/132952\/i\/18325433.jpg","src":"https:\/\/cdn.store-assets.com\/s\/132952\/i\/18325433.jpg","height":1043,"width":1043,"position":1,"type":"Images"},"secondary_image":{"id":18325434,"alt":"Hair Dryer-70.jpg","img_url":"https:\/\/cdn.store-assets.com\/s\/132952\/i\/18325434.jpg","src":"https:\/\/cdn.store-assets.com\/s\/132952\/i\/18325434.jpg","height":1043,"width":1043,"position":2,"type":"Images"},"media":[{"id":18325433,"alt":"Hair Dryer-69.jpg","img_url":"https:\/\/cdn.store-assets.com\/s\/132952\/i\/18325433.jpg","src":"https:\/\/cdn.store-assets.com\/s\/132952\/i\/18325433.jpg","height":1043,"width":1043,"position":1,"type":"Images"},{"id":18325434,"alt":"Hair Dryer-70.jpg","img_url":"https:\/\/cdn.store-assets.com\/s\/132952\/i\/18325434.jpg","src":"https:\/\/cdn.store-assets.com\/s\/132952\/i\/18325434.jpg","height":1043,"width":1043,"position":2,"type":"Images"},{"id":16299376,"alt":null,"img_url":"https:\/\/cdn.store-assets.com\/s\/132952\/i\/16299376.jpeg","src":"https:\/\/cdn.store-assets.com\/s\/132952\/i\/16299376.jpeg","height":1043,"width":1043,"position":3,"type":"Images"},{"id":16299377,"alt":null,"img_url":"https:\/\/cdn.store-assets.com\/s\/132952\/i\/16299377.jpeg","src":"https:\/\/cdn.store-assets.com\/s\/132952\/i\/16299377.jpeg","height":1043,"width":1043,"position":4,"type":"Images"},{"id":18325524,"alt":"Products-50.jpg","img_url":"https:\/\/cdn.store-assets.com\/s\/132952\/i\/18325524.jpg","src":"https:\/\/cdn.store-assets.com\/s\/132952\/i\/18325524.jpg","height":1043,"width":1043,"position":5,"type":"Images"}],"featured_media":{"id":18325433,"alt":"Hair Dryer-69.jpg","img_url":"https:\/\/cdn.store-assets.com\/s\/132952\/i\/18325433.jpg","src":"https:\/\/cdn.store-assets.com\/s\/132952\/i\/18325433.jpg","height":1043,"width":1043,"position":1,"type":"Images"},"collections":[{"id":null,"title":"Feature on homepage","handle":"feature-on-homepage"}],"promotions":[],"expires":null,"metafields":{"channels":{"app252c9f9349aabc04":"1"}},"tags":[],"brands":[],"vendor":null,"published_at":"2020-06-08T23:52:06.000+08:00","created_at":"2020-05-29T12:10:54.000+08:00"} }); }, 1000); } $(document).ready(function(){ // Hide the add to cart button when price less than 0 var money = $("#ProductPrice").find(".money").text(); var price = Number(money.replace(/[^0-9\.]+/g,"")); var d = $("[data-addtocart]").data("addtocart"); var app_currency = $( "[name='currencies'] option:selected" ).val(); d.currency = app_currency; if(price <= 0){ $("#AddToCart").hide(); $(".product-single__quantity").hide(); } view_cart = "View cart"; continue_shopping = "Continue shopping"; $("#Quantity").change(function(){ var d = $("[data-addtocart]").data("addtocart"); var new_val = $(this).val(); var app_currency = $( "[name='currencies'] option:selected" ).val(); d.currency = app_currency; d.quantity = new_val; $("[data-addtocart]").data("addtocart",d); }); $("body").on("change",".single-option-selector",function(){ var money = $("#ProductPrice").find(".money").text(); var price = Number(money.replace(/[^0-9\.]+/g,"")); var app_currency = $( "[name='currencies'] option:selected" ).val(); var v = ""; $(".single-option-selector option:selected").each(function( index ) { v += ","+ $(this).text(); }); d.variant = v.substring(1); d.price = price; d.currency = app_currency; if(price <= 0){ $("#AddToCart").hide(); $("#floating_action-bar").hide(); $(".product-single__quantity").hide(); }else{ $("#AddToCart").show(); $("#floating_action-bar").show(); $(".product-single__quantity").show(); $("[data-addtocart]").data("addtocart",d); } }); }); EasyStore.money_format = "<span class=money data-ori-price='{{amount}}'>MYR {{amount}} </span>"; var selectCallback = function(variant, selector) { timber.productPage({ money_format: "<span class=money data-ori-price='{{amount}}'>MYR {{amount}} </span>", variant: variant, selector: selector, translations: { add_to_cart : "Add to Cart", sold_out : "Sold Out", unavailable : "Unavailable" } }); }; jQuery(function($) { new EasyStore.OptionSelectors('productSelect', { product: {"id":3559813,"handle":"hairdepot-hand-sanitizer-50ml","name":"HAIRDEPOT Hand Sanitizer 50ml","title":"HAIRDEPOT Hand Sanitizer 50ml","url":"\/products\/hairdepot-hand-sanitizer-50ml","description":"<link href='\/assets\/css\/froala_style.min.css' rel='stylesheet' type='text\/css'\/><div class='fr-view'><p><strong><u>About this product<\/u><\/strong><\/p><p><br>HAIRDEPOT Hand Sanitizer kills 99.9% of germs without water. This Fast Drying Formula is enriched with soothing aloe vera, is rinse free and non-sticky. The convenient sized bottle is perfect for on the go protection, and is ideal to keep in your car, office, bag.<br><strong><br>How to use: <\/strong><br><br>1. Pour on palm, rub hands together for approximately 30 seconds.<br><br><\/p><p><br><\/p><hr><p><strong><span style=\"font-size: 18px;\">Leave a Comment, Win RM20 Gift Voucher!<\/span><\/strong><\/p><p><font color=\"#7c706b\">Please leave your comment at below area and share with your friends on Facebook.<\/font><\/p><\/div>","content":"<link href='\/assets\/css\/froala_style.min.css' rel='stylesheet' type='text\/css'\/><div class='fr-view'><p><strong><u>About this product<\/u><\/strong><\/p><p><br>HAIRDEPOT Hand Sanitizer kills 99.9% of germs without water. This Fast Drying Formula is enriched with soothing aloe vera, is rinse free and non-sticky. The convenient sized bottle is perfect for on the go protection, and is ideal to keep in your car, office, bag.<br><strong><br>How to use: <\/strong><br><br>1. Pour on palm, rub hands together for approximately 30 seconds.<br><br><\/p><p><br><\/p><hr><p><strong><span style=\"font-size: 18px;\">Leave a Comment, Win RM20 Gift Voucher!<\/span><\/strong><\/p><p><font color=\"#7c706b\">Please leave your comment at below area and share with your friends on Facebook.<\/font><\/p><\/div>","price":"10.00","price_min":"10.00","price_max":"10.00","price_varies":false,"compare_at_price":"15.00","compare_at_price_min":"15.00","compare_at_price_max":"15.00","compare_at_price_varies":false,"available":true,"options":["Title"],"options_by_name":[],"options_with_values":[],"has_only_default_variant":true,"sole_variant_id":16337620,"variants":[{"id":16337620,"title":"Default Title","sku":"550620","taxable":false,"barcode":"","available":true,"inventory_quantity":499,"featured_image":null,"price":1000,"compare_at_price":1500,"options":["Default Title"],"option1":"Default Title"}],"selected_variant":{"id":16337620,"title":"Default Title","sku":"550620","taxable":false,"barcode":"","available":true,"inventory_quantity":499,"featured_image":null,"price":1000,"compare_at_price":1500,"options":["Default Title"],"option1":"Default Title"},"first_available_variant":{"id":16337620,"title":"Default Title","sku":"550620","taxable":false,"barcode":"","available":true,"inventory_quantity":499,"featured_image":null,"price":1000,"compare_at_price":1500,"options":["Default Title"],"option1":"Default Title"},"selected_or_first_available_variant":{"id":16337620,"title":"Default Title","sku":"550620","taxable":false,"barcode":"","available":true,"inventory_quantity":499,"featured_image":{"id":18325433,"alt":"Hair Dryer-69.jpg","src":"https:\/\/s3.ap-southeast-1.amazonaws.com\/cdn.store-assets.com\/s\/132952\/i\/18325433.jpg","variant_ids":[16337620],"type":"Images"},"price":1000,"compare_at_price":1500,"options":["Default Title"],"option1":"Default Title"},"img_url":"https:\/\/cdn.store-assets.com\/s\/132952\/i\/18325433.jpg","images":[{"id":18325433,"alt":"Hair Dryer-69.jpg","img_url":"https:\/\/cdn.store-assets.com\/s\/132952\/i\/18325433.jpg","src":"https:\/\/cdn.store-assets.com\/s\/132952\/i\/18325433.jpg","height":1043,"width":1043,"position":1,"type":"Images"},{"id":18325434,"alt":"Hair Dryer-70.jpg","img_url":"https:\/\/cdn.store-assets.com\/s\/132952\/i\/18325434.jpg","src":"https:\/\/cdn.store-assets.com\/s\/132952\/i\/18325434.jpg","height":1043,"width":1043,"position":2,"type":"Images"},{"id":16299376,"alt":null,"img_url":"https:\/\/cdn.store-assets.com\/s\/132952\/i\/16299376.jpeg","src":"https:\/\/cdn.store-assets.com\/s\/132952\/i\/16299376.jpeg","height":1043,"width":1043,"position":3,"type":"Images"},{"id":16299377,"alt":null,"img_url":"https:\/\/cdn.store-assets.com\/s\/132952\/i\/16299377.jpeg","src":"https:\/\/cdn.store-assets.com\/s\/132952\/i\/16299377.jpeg","height":1043,"width":1043,"position":4,"type":"Images"},{"id":18325524,"alt":"Products-50.jpg","img_url":"https:\/\/cdn.store-assets.com\/s\/132952\/i\/18325524.jpg","src":"https:\/\/cdn.store-assets.com\/s\/132952\/i\/18325524.jpg","height":1043,"width":1043,"position":5,"type":"Images"}],"featured_image":{"id":18325433,"alt":"Hair Dryer-69.jpg","img_url":"https:\/\/cdn.store-assets.com\/s\/132952\/i\/18325433.jpg","src":"https:\/\/cdn.store-assets.com\/s\/132952\/i\/18325433.jpg","height":1043,"width":1043,"position":1,"type":"Images"},"secondary_image":{"id":18325434,"alt":"Hair Dryer-70.jpg","img_url":"https:\/\/cdn.store-assets.com\/s\/132952\/i\/18325434.jpg","src":"https:\/\/cdn.store-assets.com\/s\/132952\/i\/18325434.jpg","height":1043,"width":1043,"position":2,"type":"Images"},"media":[{"id":18325433,"alt":"Hair Dryer-69.jpg","img_url":"https:\/\/cdn.store-assets.com\/s\/132952\/i\/18325433.jpg","src":"https:\/\/cdn.store-assets.com\/s\/132952\/i\/18325433.jpg","height":1043,"width":1043,"position":1,"type":"Images"},{"id":18325434,"alt":"Hair Dryer-70.jpg","img_url":"https:\/\/cdn.store-assets.com\/s\/132952\/i\/18325434.jpg","src":"https:\/\/cdn.store-assets.com\/s\/132952\/i\/18325434.jpg","height":1043,"width":1043,"position":2,"type":"Images"},{"id":16299376,"alt":null,"img_url":"https:\/\/cdn.store-assets.com\/s\/132952\/i\/16299376.jpeg","src":"https:\/\/cdn.store-assets.com\/s\/132952\/i\/16299376.jpeg","height":1043,"width":1043,"position":3,"type":"Images"},{"id":16299377,"alt":null,"img_url":"https:\/\/cdn.store-assets.com\/s\/132952\/i\/16299377.jpeg","src":"https:\/\/cdn.store-assets.com\/s\/132952\/i\/16299377.jpeg","height":1043,"width":1043,"position":4,"type":"Images"},{"id":18325524,"alt":"Products-50.jpg","img_url":"https:\/\/cdn.store-assets.com\/s\/132952\/i\/18325524.jpg","src":"https:\/\/cdn.store-assets.com\/s\/132952\/i\/18325524.jpg","height":1043,"width":1043,"position":5,"type":"Images"}],"featured_media":{"id":18325433,"alt":"Hair Dryer-69.jpg","img_url":"https:\/\/cdn.store-assets.com\/s\/132952\/i\/18325433.jpg","src":"https:\/\/cdn.store-assets.com\/s\/132952\/i\/18325433.jpg","height":1043,"width":1043,"position":1,"type":"Images"},"collections":[{"id":null,"title":"Feature on homepage","handle":"feature-on-homepage"}],"promotions":[],"expires":null,"metafields":{"channels":{"app252c9f9349aabc04":"1"}},"tags":[],"brands":[],"vendor":null,"published_at":"2020-06-08T23:52:06.000+08:00","created_at":"2020-05-29T12:10:54.000+08:00"}, onVariantSelected: selectCallback, enableHistoryState: false }); // 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'. $('.selector-wrapper').hide(); }); </SCRIPT> </DIV></DIV></main> <FOOTER class="site-footer small--text-center" role="contentinfo"> <DIV class="wrapper"> <DIV class="grid-uniform"> <DIV class="grid__item large--one-quarter medium--one-half"> <A class="logo-wrapper" href="default.aspx" itemprop="url"> <IMG style="width: 250px;" alt="CY2000" src="scc502/963330.png" itemprop="logo"> </A> <P class="site-footer__links"><asp:Label ID="lblCW" runat="server" Text=""></asp:Label></P> </DIV> <DIV class="grid__item large--one-quarter medium--one-half"> <H4><asp:Label ID="lblLinks" runat="server" Text="Quick Links"></asp:Label></H4> <UL class="site-footer__links"> <asp:Label ID="lblFootLink" runat="server" Text=""></asp:Label> </UL> </DIV> <DIV class="grid__item large--one-quarter medium--one-half"> <H4><asp:Label ID="lblFollow" runat="server" Text="Follow Us"></asp:Label></H4> <UL class="inline-list social-icons"> <asp:Label ID="lblFootSocial" runat="server" Text=""></asp:Label> </UL> </DIV> <DIV class="grid__item large--one-quarter medium--one-half"> <asp:Label ID="lblFootContact" runat="server" Text=""></asp:Label> </DIV> </DIV> <HR class="hr--small hr--clear"> <DIV class="grid"> <DIV class="grid__item text-center"> <UL class="inline-list payment-icons"> <LI><SPAN class="icon-fallback-text"> <SPAN class="icon icon-visa" aria-hidden="true"></SPAN> <SPAN class="fallback-text">Visa</SPAN> </SPAN> </LI> <LI><SPAN class="icon-fallback-text"> <SPAN class="icon icon-master" aria-hidden="true"></SPAN> <SPAN class="fallback-text">Master</SPAN> </SPAN> </LI> </UL> </DIV> <DIV class="grid__item text-center"> <UL class="inline-list payment-icons"> <LI><IMG alt="payment_molpay" src="scc502/payments_eghl.png"></LI> </UL> </DIV> <DIV class="grid__item text-center"> <UL class="inline-list payment-icons"> <LI><IMG src="scc502/ssl_certified.png"></LI> </UL> </DIV> </DIV> <DIV class="grid"> <DIV class="grid__item text-center"> <P class="site-footer__links"> <asp:Label ID="lblFootTerm" runat="server" Text=""></asp:Label> </P> </DIV></DIV> </DIV> </FOOTER> </div> <SCRIPT src="scc502/timber.js" type="text/javascript"></SCRIPT> <SCRIPT src="scc502/themenew.js" type="text/javascript"></SCRIPT> <DIV class="cart-drawer" id="CartDrawer" data-fetch="0"> <DIV class="cart" > <DIV class="cart-drawer-wrapper"> <asp:Label ID="lblCartSide" runat="server" Text=""></asp:Label> </DIV></DIV></DIV> <DIV id="toast"> <DIV id="toastContent"></DIV> </DIV> </form> </body> </html>