Login to get more exiting offers.

Wishlist
Cart

Shop by Category

Check out our growing collections of unique furniture. Customize any of them to the last inch!

$('form').on('focus', 'input[type=number]', function(e) { $(this).on('wheel.disableScroll', function(e) { e.preventDefault() }) }) $('form').on('blur', 'input[type=number]', function(e) { $(this).off('wheel.disableScroll') }) // login popup function loginNewPopup() { $('#forms_overlay').hide(); $('#mobile_tab_nav_bar').hide('slow'); $('body').css('overflow', 'auto'); $('#mobile_tab_nav_bar').animate({ right: '-260px' }, 500); $('#login_new_popup').modal('show'); $('#signup_new_popup').modal('hide'); $('#forget_password_new_popup').modal('hide'); } // sigup popup function signUpNewPopup() { $('#forms_overlay').hide(); $('#mobile_tab_nav_bar').hide('slow'); $('body').css('overflow', 'auto'); $('#mobile_tab_nav_bar').animate({ right: '-260px' }, 500); $('#signup_new_popup').modal('show'); $('#login_new_popup').modal('hide'); } // forget password popup function forgetPasswordPoup() { $('#forms_overlay').hide(); $('#mobile_tab_nav_bar').hide('slow'); $('body').css('overflow', 'auto'); $('#mobile_tab_nav_bar').animate({ right: '-260px' }, 500); $('#forget_password_new_popup').modal('show'); $('#signup_new_popup').modal('hide'); $('#login_new_popup').modal('hide'); } function setBackground() { var hasbackattr = document.querySelectorAll('.hasback-img'); for (var i = 0; i < hasbackattr.length; i++) { var imgurl = $(hasbackattr[i]).data('back-src'); var overlay = $(hasbackattr[i]).data('overlay'); // set backgorund $(hasbackattr[i]).css({ "background-image": 'url(' + imgurl + ')' }); // set overlay if (overlay == true) { var overlay_ele = document.createElement('div'); overlay_ele.setAttribute('class', 'back-overlay'); hasbackattr[i].appendChild(overlay_ele); // console.log(overlay_ele); } // console.log(imgurl); // console.log(overlay); } } setBackground(); // user order section // var isOpened = false; function slideDownHideSec() { console.log('Running'); // var expandable_foot = document.querySelectorAll('.expandable-footer'); // for (let i = 0; i < expandable_foot.length; i++) { // expandable_foot[i].addEventListener('click', () => { // if (isOpened == false) { // $(expandable_foot[i]).find('.hidden_order_section').slideDown(); // $(expandable_foot[i]).find('.rotate').addClass("down"); // isOpened = true; // } else if (isOpened == true) { // $(expandable_foot[i]).find('.hidden_order_section').slideDown(); // $(expandable_foot[i]).find('.rotate').removeClass("down"); // } // }) // } // // if($(this).text()=== "View details"){ // $(this).text("Hide details"); // } // else{ // $(this).text("View details"); // } // $('.hidden_order_section').slideToggle(); // $('.rotate').toggleClass("down"); } slideDownHideSec(); var expandable_foot = $('.expandable-footer'); $(expandable_foot).click(function() { var el = $(this); var isOpened = el.attr('data-opened'); if (isOpened === 'false') { el.prev(".hidden_order_section").slideDown(); el.attr('data-opened', 'true'); el.find('.rotate').addClass("down"); el.find('span').text("Hide details"); } else if (isOpened === 'true') { console.log('not opened'); el.prev(".hidden_order_section").slideUp(); el.attr('data-opened', 'false'); el.find('.rotate').removeClass("down"); el.find('span').text("View details"); } }) // user address delete popup function removeAddress(_id) { $('#DeletePopup').modal('show'); $('#hidden_id').val(_id); } function removeOrderPopup() { $('#RemovePopup').modal('modal'); } // edit profile function editProfile() { $('#edit_section').css('display:block'); } // window.fbAsyncInit = function() { // // FB JavaScript SDK configuration and setup // FB.init({ // appId : '404822537388358', // FB App ID // cookie : true, // xfbml : true, // version : 'v2.8' // use graph api version 2.8 // }); // FB.AppEvents.logPageView(); // }; // Load the JavaScript SDK asynchronously // (function(d, s, id) { // var js, fjs = d.getElementsByTagName(s)[0]; // if (d.getElementById(id)) return; // js = d.createElement(s); js.id = id; // js.src = "https://connect.facebook.net/en_US/sdk.js"; // fjs.parentNode.insertBefore(js, fjs); // }(document, 'script', 'facebook-jssdk')); // Facebook login with JavaScript SDK function fbLogin() { FB.login(function(response) { if (response.authResponse) { // Get and display the user profile data getFbUserData(); } else { document.getElementById('status').innerHTML = 'User cancelled login or did not fully authorize.'; } }, { scope: 'email' }); } // Fetch the user profile data from facebook function getFbUserData() { FB.api('/me', { locale: 'en_US', fields: 'id,first_name,last_name,email,link,gender,locale,picture' }, function(response) { $.ajax({ type: 'POST', url: "https://woodlly.com/login/facebook_user_login", data: { 'fb_id': response.id, 'f_name': response.first_name, 'l_name': response.last_name, 'email': response.email, 'gender': response.gender, 'picture': response.picture, 'locale': response.locale, }, success: function(data) { setTimeout(function() { location.reload(); }, 200); } }); }); } $('.UserloginGoogle').click(function() { var actiontype = $(this).data('actiontype'); var rohanGetUrl = $('#rohanGetUrl').val(); $.ajax({ type: "POST", url: window.base_url + "login/Set_actiontype", dataType: "json", data: { 'actiontype': actiontype, 'rohanGetUrl': rohanGetUrl }, }); window.location.href = 'https://woodlly.com/login/google_login'; }); // show count in cart and wishlist icon. By:-Rohan get_count(); setInterval(get_count, 3000); function get_count() { $.ajax({ url: "https://woodlly.com/home/count_cart_wishlist", success: function(data) { var data = JSON.parse(data); if (data.cart_data == '' || data.cart_data == undefined || data.cart_data == null) { $('.cart_count').empty(); } else { $('.cart_count').empty().html('' + data.cart_data + ''); $('#chtmlshow').empty().html(data.chtml); } if (data.wishlist_data == '' || data.wishlist_data == undefined || data.wishlist_data == null) { $('.wislist_count').empty(); } else { $('.wislist_count').empty().html('' + data.wishlist_data + ''); // $('#showWishlistData').show(); $('#showWishlistData').empty().html(data.whtml); } } }); } // coupon Popup // function couponPopup(){ // $('#coupon_popup').modal('show'); // } // Facebook Pixel Code // !function(f,b,e,v,n,t,s) // {if(f.fbq)return;n=f.fbq=function(){n.callMethod? // n.callMethod.apply(n,arguments):n.queue.push(arguments)}; // if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0'; // n.queue=[];t=b.createElement(e);t.async=!0; // t.src=v;s=b.getElementsByTagName(e)[0]; // s.parentNode.insertBefore(t,s)}(window,document,'script', // 'https://connect.facebook.net/en_US/fbevents.js'); // fbq('init', '760937254518443'); // fbq('track', 'PageView'); -->