${(function(){ const get_random_six_digits = () => { return Math.random().toString().slice(-6) }; const wholesale_enabled = false; const setting_product_image_display = "133.33%"; const product_image = data.image; const secondary_image = data.secondImage; const image_width = product_image.width; let image_height = product_image.height; if(setting_product_image_display == '100%'){ image_height = image_width }else if(setting_product_image_display == '133.33%'){ image_height = image_width * 1.3333; }else if(setting_product_image_display == '75%'){ image_height = image_width * 0.75; }; const product_image_hover_on = true && !!secondary_image.src; const has_save_label = true && ((+data.compare_at_price) > (+data.price)); const is_single_variant = data.variants.length == 1; const min_price_variant_href = (data.min_price_variant && data.min_price_variant.available) ? data.min_price_variant.withinUrl : data.withinUrl; const retail_price_max = data.retail_price_max || data.compare_at_price_max; const THUMBNAILS_MAX_SIZE = 3; const thumbnails = data.thumbVariants.slice(0, THUMBNAILS_MAX_SIZE); const image_wrap_id = 'image_wrap_' + get_random_six_digits(); const image_carousel_id = 'image_carousel_' + get_random_six_digits(); const thumbnails_selector_id = 'thumbnails_selector_' + get_random_six_digits(); const form_id = 'form_' + get_random_six_digits(); const mixed_wholesale = data.mixed_wholesale; return `
${ data.available ? `${ (+data.compare_at_price > +data.price) ? `Save
` : '' }` : "Sold out" }
Mixed Lot
${data.title}
${ data.price_min != data.price_max ? `from
` : `
` }
+${data.remainInvisibleThumbCount}
` })()}
ArticLight
ArticLight
Search
Log in
Create an account
${data.data && data.data.count}
Home
Hot Recommendations
Lighting
Pendant Lamp
Table lamp
Floor lamp
Wall lamp
Ceiling Lamp
All Rooms
Living Room
Bedroom
Dining Room
Hallway
Island Counter
Commercial Interior Customize
Custom Lighting
Contact US
ABOUT US
BLOG
More links
${(function(){ var linkList =[false,false,true,true,false,false,false,false].slice(offset); var hasChild = linkList.some(v => v); if(!hasChild){ return `
Home
Hot Recommendations
Lighting
All Rooms
Custom Lighting
Contact US
ABOUT US
BLOG
` } return `
Home
Hot Recommendations
Lighting
All Rooms
Custom Lighting
Contact US
ABOUT US
BLOG
Pendant Lamp
Table lamp
Floor lamp
Wall lamp
Ceiling Lamp
Living Room
Bedroom
Dining Room
Hallway
Island Counter
Commercial Interior Customize
` })()}
Home
Hot Recommendations
Lighting
Pendant Lamp
Table lamp
Floor lamp
Wall lamp
Ceiling Lamp
All Rooms
Living Room
Bedroom
Dining Room
Hallway
Island Counter
Commercial Interior Customize
Custom Lighting
Contact US
ABOUT US
BLOG
More links
${(function(){ var linkList =[false,false,true,true,false,false,false,false].slice(offset); var hasChild = linkList.some(v => v); if(!hasChild){ return `
Home
Hot Recommendations
Lighting
All Rooms
Custom Lighting
Contact US
ABOUT US
BLOG
` } return `
Home
Hot Recommendations
Lighting
All Rooms
Custom Lighting
Contact US
ABOUT US
BLOG
Pendant Lamp
Table lamp
Floor lamp
Wall lamp
Ceiling Lamp
Living Room
Bedroom
Dining Room
Hallway
Island Counter
Commercial Interior Customize
` })()}
ArticLight
ArticLight
Log in
Create an account
${data.data && data.data.count}
Search
${(function(){ if (data === undefined || typeof data !== 'string' || data == '') return ''; const keyword = encodeURIComponent(data); return `
View more
Your search for '${data}' did not yield any results.
` })()}
${(function(){ if (data === undefined || typeof data !== 'string' || data == '') return ''; const keyword = encodeURIComponent(data); return `
View more
Your search for '${data}' did not yield any results.
` })()}
Home
Hot Recommendations
Lighting
Lighting
Pendant Lamp
Table lamp
Floor lamp
Wall lamp
Ceiling Lamp
All Rooms
All Rooms
Living Room
Bedroom
Dining Room
Hallway
Island Counter
Commercial Interior Customize
Custom Lighting
Contact US
ABOUT US
BLOG
Log in
Create an account
(function(){ let w = window.innerWidth; function setHeaderCssVar() { const headerEle = document.getElementById('shoplaza-section-header'); if(!headerEle){ return }; document.body.style.setProperty('--window-height', `${window.innerHeight}px`); document.body.style.setProperty('--header-height', `${headerEle.clientHeight}px`); const mdScorllHideEle = headerEle.querySelector('.header__mobile .header__scroll_hide'); if (mdScorllHideEle) { document.body.style.setProperty('--header-scroll-hide-height-md', `${mdScorllHideEle.clientHeight}px`); } const pcScorllHideEle = headerEle.querySelector('.header__desktop .header__scroll_hide'); if (pcScorllHideEle) { document.body.style.setProperty('--header-scroll-hide-height-pc', `${pcScorllHideEle.clientHeight}px`); } } function handlResize() { if(w == window.innerWidth){return}; w = window.innerWidth; setHeaderCssVar(); }; function init(){ setHeaderCssVar(); window.removeEventListener('resize', window._theme_header_listener) window._theme_header_listener = handlResize; window.addEventListener('resize', window._theme_header_listener); } init(); })();
One Lamp, One Lifestyle
Search
Crystal Building Lamp: Condensing the Romance of Skyscrapers into a Desk Light
by ArticLight
Amber Glow: This Vintage Glass Chandelier Suspends Retro Romance in Your Space
by ArticLight
Yarn-Lit Rhythm: This Wrapped Lamp Collection Weaves Warmth into Your Space
by ArticLight
Branching Light: This "Growing" Lighting Collection Brings Natural Poetry into Your Home
by ArticLight
IRIS Lighting Collection: Crafting Spatial Poetry with Light
by ArticLight
${data.title}
by ${data.author}
Your search for '${ data.query.keyword }' did not yield any results.
Cart
Your shopping bag is empty
Continue shopping
${item.product_title}
${item.options.map(option => option.value).join('/')}
${propertie.name}/${propertie.isImage ? `
View image
` : propertie.value}
Free gift
Mixed Lot
*${item.quantity}
${item.item_text}
${discount_item.title}
(-
)
Total:
${function() { const textArray = ("Save {{save_amount}}").split(/\{\{\s*save_amount\}\}/); if (textArray.length > 0 && textArray.length < 2) { textArray.push(''); } return textArray.map((text, index) => { if (index == 0) { return `
${text}
`; } return `
${text}
`; }).join(''); }()}
${function() { const textArray = ("Save {{save_amount}}").split(/\{\{\s*save_amount\}\}/); if (textArray.length > 0 && textArray.length < 2) { textArray.push(''); } return textArray.map((text, index) => { if (index == 0) { return `
${text}
`; } return `
${text}
`; }).join(''); }()}
${discount_application.title}:
-
${data.invalid_msg}
Check out
Taxes and shipping calculated at checkout
${data.invalid_msg}
Total:
${function() { const textArray = ("Save {{save_amount}}").split(/\{\{\s*save_amount\}\}/); if (textArray.length > 0 && textArray.length < 2) { textArray.push(''); } return textArray.map((text, index) => { if (index == 0) { return `
${text}
`; } return `
${text}
`; }).join(''); }()}
${function() { const textArray = ("Save {{save_amount}}").split(/\{\{\s*save_amount\}\}/); if (textArray.length > 0 && textArray.length < 2) { textArray.push(''); } return textArray.map((text, index) => { if (index == 0) { return `
${text}
`; } return `
${text}
`; }).join(''); }()}
${function() { const textArray = ("Save {{save_amount}}").split(/\{\{\s*save_amount\}\}/); if (textArray.length > 0 && textArray.length < 2) { textArray.push(''); } return textArray.map((text, index) => { if (index == 0) { return `
${text}
`; } return `
${text}
`; }).join(''); }()}
${discount_application.title}:
-
Check out
${data.invalid_msg}
Check out
Taxes and shipping calculated at checkout
Subtotal:
${discount_application.title}:
-
Total:
Check out
Taxes and shipping calculated at checkout
const summaryStickyRender = document.querySelector('#cart-drawer-summary-sticky-render'); if (summaryStickyRender) { document.body.style.setProperty('--cart-drawer-summary-sticky-height', summaryStickyRender.clientHeight + 'px'); }
View Cart
${function(){ console.log('quick-shop-render',data); const productData = data.product; let product_change_event = '', mouse_over_event = ' '; mouse_out_event = ''; const product_options = productData.options.filter(Boolean) || []; const selectedVariant = productData.variants.find(v => v.available) || productData.variants[0]; const statusLan = ((selectedVariant && !selectedVariant.available) || (!selectedVariant && !productData.available)) ? "Sold out" : "Add to cart"; return `
${statusLan}
` }()}
${function(){ const currentSelectVariant = data.variant; const defaultVariant = (data.product && data.product.variants && data.product.variants[0]); const variantData = currentSelectVariant || defaultVariant || data; const retail_price = variantData.retail_price || 0; return `
Retail
` }()}
${function(){ const wholesale_enabled = false; const qty = data.quantity || 1; const currentSelectVariant = data.variant; const defaultVariant = (data.product && data.product.variants && data.product.variants[0]); const productVariant = null; const variantData = currentSelectVariant || defaultVariant || productVariant; const wholesale_price = variantData.wholesale_price || []; if(wholesale_enabled && wholesale_price.length > 0) { let wholesaleIndex = wholesale_price.findIndex(item => { return item.min_quantity > qty; }); if(wholesaleIndex < 0){ wholesaleIndex = wholesale_price.length - 1; }else if(wholesaleIndex > 0){ wholesaleIndex = wholesaleIndex - 1; } const wholesalePrice = wholesale_price[wholesaleIndex] || ''; return `
` }else { const price = variantData && variantData.price; return price != undefined ? `
` : '
'; } }()}
${function(){ const optionName = option.name || ''; const optionId = option.id || ''; let isThumbImage = !!option.showThumbImage; const thumbStyle = "image_with_text"; const variantType = "button"; const isSelected = (value) => { const selected = (data.selectedOptions || []).find(v => v.name === optionName); return selected && selected.value.length && selected.value[0] == value; }; const getThumbImage = (value) => { const options = data.product.options || []; const option = options.find(o => o.name === optionName); if (option.thumbImages) { const thumbImage = option.thumbImages.find(t => t.value === value); if (thumbImage && thumbImage.image) { return { src: thumbImage.image.src, alt: thumbImage.image.alt }; } } return {src: '', alt: ''}; }; return `
${optionName}:
${data.selectedOptions && data.selectedOptions.length && data.selectedOptions.find(v => v.name === optionName).value[0]}
${value}
${optionName}
${value}
${value}
` }()}
${data.value}
${function () { const renderData = data.data; const position_bottom = renderData.height; const model_style = renderData.subwindow_style == "model1" ? "model-type-icon" : "model-type-icon-with-text"; const filterSubwindow = renderData.subwindow.filter(item => renderData.subwindow_style == "model1" && item.image || (renderData.subwindow_style == "model2" && (item.image || item.title)) ); const initFoldStyle = renderData.hover_display === 'foldable' && 'fold'; const initShowStyle = renderData.hover_mode != 'permanent' && 'app-floating-hidden'; const is_model_style_follow_theme = renderData.template_style == "follow_theme" && renderData.subwindow_style == "model2"; const is_model_style_custom = renderData.template_style == "custom" && renderData.subwindow_style == "model2" let isShowApp = false; let isCustomPage = false; const current_page_url = 'https://articlight.myshoplaza.com/blogs/one-lamp-one-lifestyle'; const current_page_type = 'blog'; if(renderData.effective_pages.type === 'specify' && renderData.effective_pages.specify_page.includes('custom') && renderData.effective_pages.custom_page.length > 0) { renderData.effective_pages.custom_page.forEach(item => { const custom_url = item?.split('?')[0]; if(current_page_url === decodeURI(custom_url)) { isCustomPage = true; return; } }) } if(renderData.effective_pages.type === 'all' || (renderData.effective_pages.type === 'specify' && renderData.effective_pages.specify_page.includes(current_page_type)) || isCustomPage) { isShowApp = true; } if(isShowApp && filterSubwindow.length > 0) { return `
${function() { if(renderData.hover_mode === "scroll") { return `
` } else if (renderData.hover_mode === "threshold_scroll") { return `
` } else { return `` } }()}
${function() { const [firstIem, ...restItems] = filterSubwindow const item = firstIem; return `${firstIem ? `
${item.title}
`: ''} ${restItems.length > 0 ? `
${restItems.map(item => `
${item.title}
`).join('') }
`: '' }` }()}
` } else { return `` } }()}