Handmade Mens wear Tan oxford shoes, Mens fashion dress shoes, dress shoes

$163.00
const TAG = "spz-custom-product-automatic"; class SpzCustomProductAutomatic extends SPZ.BaseElement { constructor(element) { super(element); this.variant_id = '0c44c81d-9b18-4ffa-b1dc-a26d58e86b31'; this.isRTL = SPZ.win.document.dir === 'rtl'; } static deferredMount() { return false; } buildCallback() { this.action_ = SPZServices.actionServiceForDoc(this.element); this.templates_ = SPZServices.templatesForDoc(this.element); this.xhr_ = SPZServices.xhrFor(this.win); this.setupAction_(); this.viewport_ = this.getViewport(); } mountCallback() { this.init(); // 监听事件 this.bindEvent_(); } async init() { this.handleFitTheme(); const data = await this.getDiscountList(); this.renderApiData_(data); } async getDiscountList() { const productId = '26a46b86-7214-4abc-bc6f-4de04c7519ba'; const variantId = this.variant_id; const productType = 'default'; const reqBody = { product_id: productId, variant_id: variantId, discount_method: "DM_AUTOMATIC", customer: { customer_id: window.C_SETTINGS.customer.customer_id, email: window.C_SETTINGS.customer.customer_email }, product_type: productType } const url = `/api/storefront/promotion/display_setting/text/list`; const data = await this.xhr_.fetchJson(url, { method: "post", body: reqBody }).then(res => { return res; }).catch(err => { this.setContainerDisabled(false); }) return data; } async renderDiscountList() { this.setContainerDisabled(true); const data = await this.getDiscountList(); this.setContainerDisabled(false); // 重新渲染 抖动问题处理 this.renderApiData_(data); } clearDom() { const children = this.element.querySelector('*:not(template)'); children && SPZCore.Dom.removeElement(children); } async renderApiData_(data) { const parentDiv = document.querySelector('.automatic_discount_container'); const newTplDom = await this.getRenderTemplate(data); if (parentDiv) { parentDiv.innerHTML = ''; parentDiv.appendChild(newTplDom); } else { console.log('automatic_discount_container is null'); } } doRender_(data) { const renderData = data || {}; return this.templates_ .findAndRenderTemplate(this.element, renderData) .then((el) => { this.clearDom(); this.element.appendChild(el); }); } async getRenderTemplate(data) { const renderData = data || {}; return this.templates_ .findAndRenderTemplate(this.element, { ...renderData, isRTL: this.isRTL }) .then((el) => { this.clearDom(); return el; }); } setContainerDisabled(isDisable) { const automaticDiscountEl = document.querySelector('.automatic_discount_container_outer'); if(isDisable) { automaticDiscountEl.setAttribute('disabled', ''); } else { automaticDiscountEl.removeAttribute('disabled'); } } // 绑定事件 bindEvent_() { window.addEventListener('click', (e) => { let containerNodes = document.querySelectorAll(".automatic-container .panel"); let bool; Array.from(containerNodes).forEach((node) => { if(node.contains(e.target)){ bool = true; } }) // 是否popover面板点击范围 if (bool) { return; } if(e.target.classList.contains('drowdown-icon') || e.target.parentNode.classList.contains('drowdown-icon')){ return; } const nodes = document.querySelectorAll('.automatic-container'); Array.from(nodes).forEach((node) => { node.classList.remove('open-dropdown'); }) // 兼容主题 this.toggleProductSticky(true); }) // 监听变体变化 document.addEventListener('dj.variantChange', async(event) => { // 重新渲染 const variant = event.detail.selected; if (variant.product_id == '26a46b86-7214-4abc-bc6f-4de04c7519ba' && variant.id != this.variant_id) { this.variant_id = variant.id; this.renderDiscountList(); } }); } // 兼容主题 handleFitTheme() { // top 属性影响抖动 let productInfoEl = null; if (window.SHOPLAZZA.theme.merchant_theme_name === 'Wind' || window.SHOPLAZZA.theme.merchant_theme_name === 'Flash') { productInfoEl = document.querySelector('.product-info-body .product-sticky-container'); } else if (window.SHOPLAZZA.theme.merchant_theme_name === 'Hero') { productInfoEl = document.querySelector('.product__info-wrapper .properties-content'); } if(productInfoEl){ productInfoEl.classList.add('force-top-auto'); } } // 兼容 wind/flash /hero 主题 (sticky属性影响 popover 层级展示, 会被其他元素覆盖) toggleProductSticky(isSticky) { let productInfoEl = null; if (window.SHOPLAZZA.theme.merchant_theme_name === 'Wind' || window.SHOPLAZZA.theme.merchant_theme_name === 'Flash') { productInfoEl = document.querySelector('.product-info-body .product-sticky-container'); } else if (window.SHOPLAZZA.theme.merchant_theme_name === 'Hero') { productInfoEl = document.querySelector('.product__info-wrapper .properties-content'); } if(productInfoEl){ if(isSticky) { // 还原该主题原有的sticky属性值 productInfoEl.classList.remove('force-position-static'); return; } productInfoEl.classList.toggle('force-position-static'); } } setupAction_() { this.registerAction('handleDropdown', (invocation) => { const discount_id = invocation.args.discount_id; const nodes = document.querySelectorAll('.automatic-container'); Array.from(nodes).forEach((node) => { if(node.getAttribute('id') != `automatic-${discount_id}`) { node.classList.remove('open-dropdown'); } }) const $discount_item = document.querySelector(`#automatic-${discount_id}`); $discount_item && $discount_item.classList.toggle('open-dropdown'); // 兼容主题 this.toggleProductSticky(); }); } triggerEvent_(name, data) { const event = SPZUtils.Event.create(this.win, `${ TAG }.${ name }`, data || {}); this.action_.trigger(this.element, name, event); } isLayoutSupported(layout) { return layout == SPZCore.Layout.CONTAINER; } } SPZ.defineElement(TAG, SpzCustomProductAutomatic);
Color:  Tan
Size:  US 7
Quantity

Description

Product Description:Elevate your style game with these impeccably crafted Handmade Men's Tan Oxford Shoes. Designed with the modern gentleman in mind, these dress shoes are the epitome of sophistication and elegance. Made from premium genuine calf leather, these shoes exude luxury and ensure durability for long-lasting wear.The upper of these oxford shoes is meticulously handcrafted with genuine calf leather, showcasing the expert craftsmanship that goes into every pair. The soft calf leather lining provides a comfortable and breathable fit, making these shoes perfect for all-day wear. The genuine leather sole offers excellent traction and flexibility, allowing you to confidently stride through any occasion.What sets these dress shoes apart is the attention to detail in their construction. Each pair is meticulously hand-stitched, showcasing the dedication and skill of our artisans. This ensures that every seam is perfectly aligned, adding to the overall aesthetic appeal of these shoes.Whether you're attending a formal event, a business meeting, or simply want to elevate your everyday style, these Handmade Men's Tan Oxford Shoes are the perfect choice. The timeless design and classic tan color make them versatile enough to pair with a variety of outfits, from tailored suits to smart casual ensembles.Invest in these premium dress shoes and experience the difference that handmade craftsmanship can make. With their exceptional quality, exquisite design, and superior materials, these shoes are a testament to your impeccable taste and discerning style. Step out with confidence and sophistication in these Handmade Men's Tan Oxford Shoes.Key Features:1. Premium Quality: Made from genuine calf leather, these shoes are built to last and withstand the test of time.2. Handcrafted Excellence: Meticulously hand-stitched for impeccable craftsmanship and attention to detail.3. Comfortable Fit: Soft calf leather lining ensures a comfortable and breathable fit, making these shoes perfect for all-day wear.4. Superior Traction: Genuine leather sole provides excellent traction and flexibility, allowing you to walk with confidence.5. Versatile Style: The timeless tan color and classic oxford design make these shoes suitable for a wide range of occasions and outfits.6. Elevate Your Style: Add a touch of sophistication and elegance to your wardrobe with these exquisite dress shoes.7. Perfect for Formal and Business Settings: Ideal for formal events, business meetings, and any occasion that calls for a polished and refined look.8. Exceptional Durability: Crafted with the finest materials and expert craftsmanship, these shoes are designed to withstand daily wear and tear.9. Thoughtful Gift: Makes a thoughtful and stylish gift for the fashion-forward man in your life.10. Satisfaction Guaranteed: If you have any questions or concerns, our customer service team is always available to assist you.