www.drmalab.com
Open in
urlscan Pro
104.17.246.119
Public Scan
URL:
https://www.drmalab.com/
Submission: On December 14 via api from US — Scanned from DE
Submission: On December 14 via api from US — Scanned from DE
Form analysis
3 forms found in the DOM<form>
<input name="variant_id" type="hidden" value="${data.variants[0].id}">
<button type="button" class="product-snippet__quick-shop-icon" role="addToCart" data-quick-shop="${data.handle}" data-track-product-id="${data.id}" data-track="click" data-track-content="add_to_cart" data-track-source="quick_shop">
<svg class="" width="16" height="16" xmlns="http://www.w3.org/2000/svg">
<path d="M8.6 1.9a.3.3 0 0 0-.3-.3h-.6a.3.3 0 0 0-.3.3v5.5H1.9a.3.3 0 0 0-.3.3v.6a.3.3 0 0 0 .3.3h5.5v5.5a.3.3 0 0 0 .3.3h.6a.3.3 0 0 0 .3-.3V8.6h5.5a.3.3 0 0 0 .3-.3v-.6a.3.3 0 0 0-.3-.3H8.6V1.9z" fill="currentColor"></path>
</svg>
</button>
</form>
GET /search
<form class="flex items-center" action="/search" method="get">
<button type="submit" class="clear text-0 text-inherit cursor-pointer">
<svg class="" width="26" height="26" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd"
d="M17.925 20.057A9.955 9.955 0 0 1 12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10a9.968 9.968 0 0 1-2.864 7.006l4.929 4.928a.8.8 0 0 1-1.132 1.132l-5-5-.008-.01zM20.4 12a8.4 8.4 0 1 1-16.8 0 8.4 8.4 0 0 1 16.8 0z"
fill="currentColor"></path>
</svg>
</button>
<input @input-debounced="header_search_predictive_render-sidebar.rerender(data=event.value, redo=true);" class="header__search_sidebar-input flex-1 text-base leading-none type-text-font-family clear" type="text" autocomplete="off" name="q"
placeholder="Search products">
<button type="reset" class="header__search-modal-close text-0 text-inherit clear cursor-pointer" @tap="header_search_sidebar.close()">
<svg class="" width="26" height="26" xmlns="http://www.w3.org/2000/svg">
<path d="M21.502 5.732A.85.85 0 0 0 20.3 4.53l-7.32 7.32L5.734 4.6a.85.85 0 0 0-1.202 1.203l7.248 7.247L4.53 20.3A.85.85 0 0 0 5.733 21.5l7.248-7.248 7.319 7.319a.85.85 0 0 0 1.202-1.202l-7.319-7.319 7.319-7.319z" fill="currentColor"></path>
</svg>
</button>
</form>
<form>
<div class="quick-shop-content rounded-global-small">
<div class="quick-shop-inner-content">
<spz-variants name="quick-shop-variant" id="quick-shop-variants" class="pointer-events-none" layout="container" template="quick-shop-variant-template" spz-if="${product_options && product_options.length > 0}" interact="hover"
interference="" ${mouse_out_event}="" ${mouse_over_event}=""></spz-variants>
<button class="relative mt-5 lg:mt-6 button-primary flex items-center justify-center body-plus-2 type-text-font-family rounded-btn quick-shop_atc_btn" type="button" role="addToCart" data-track="click" data-track-content="add_to_cart"
data-track-source="add_to_cart">
<span role="content">${statusLan}</span>
<spz-render id="quick-shop-btn-price" layout="container" template="quick-shop-button-price-template" manual=""></spz-render>
<div class="loading items-center justify-center absolute inset-0" role="loading" show="">
<div class="loading-bounce"></div>
</div>
</button>
</div>
</div>
</form>
Text Content
${(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; }; 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} ` })()} ✈ FREE SHIPPING ON ORDERS OVER $49.99 2024 Christmas Deals, Up to 70% Off ✈ FREE SHIPPING ON ORDERS OVER $49.99 2024 Christmas Deals, Up to 70% Off 2024 Christmas Deals, Up to 70% Off ✈ FREE SHIPPING ON ORDERS OVER $49.99 NATURE WEAVER NATURE WEAVER * Log in * Create an account ${data.data && data.data.count} * Home * Hot Sale * Daily Nutrition * Basic Nutrition * Bone & Joint * Cardiovascular * Infant Nutrition * Email: drmalab1112@gmail.com * More links ${(function(){ const formatLinks = (links) => { return links.map(link => { link.tag = tags[link.title.toUpperCase()] || {}; link.target_attr = link.target == '_blank' ? 'target="_blank"' : ''; link.href_attr = link.url ? `href="${link.url}"` : ''; if(link.children && link.children.length){ link.children = formatLinks(link.children); } return link; }) }; const tags = "{}"; let linkList = [ { id: 70680723, title: "Home", url: "\/", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 70680725, title: "Hot Sale", url: "\/collections\/hot-sale", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 70680727, title: "Daily Nutrition", url: "\/collections\/daily-nutrition", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 70680729, title: "Basic Nutrition", url: "\/collections\/basic-nutrition", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 70680731, title: "Bone & Joint", url: "\/collections\/bone-joint", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 70680733, title: "Cardiovascular", url: "\/collections\/cardiovascular", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 70680735, title: "Infant Nutrition", url: "\/collections\/infant-nutrition", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 70680737, title: "Email: drmalab1112@gmail.com", url: "", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, ].slice(offset); linkList = formatLinks(linkList); const hasChild = linkList.some(link => !!(link.children && link.children.length || link.product0.id)); return ` * ${link.title} ${link.tag.label} * ${second_link.title} ${second_link.tag.label} ${third_links.title} ${third_links.tag.label} * ${link.title} ${link.tag.label} ` })()} * Home * Hot Sale * Daily Nutrition * Basic Nutrition * Bone & Joint * Cardiovascular * Infant Nutrition * Email: drmalab1112@gmail.com * More links ${(function(){ const formatLinks = (links) => { return links.map(link => { link.tag = tags[link.title.toUpperCase()] || {}; link.target_attr = link.target == '_blank' ? 'target="_blank"' : ''; link.href_attr = link.url ? `href="${link.url}"` : ''; if(link.children && link.children.length){ link.children = formatLinks(link.children); } return link; }) }; const tags = "{}"; let linkList = [ { id: 70680723, title: "Home", url: "\/", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 70680725, title: "Hot Sale", url: "\/collections\/hot-sale", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 70680727, title: "Daily Nutrition", url: "\/collections\/daily-nutrition", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 70680729, title: "Basic Nutrition", url: "\/collections\/basic-nutrition", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 70680731, title: "Bone & Joint", url: "\/collections\/bone-joint", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 70680733, title: "Cardiovascular", url: "\/collections\/cardiovascular", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 70680735, title: "Infant Nutrition", url: "\/collections\/infant-nutrition", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 70680737, title: "Email: drmalab1112@gmail.com", url: "", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, ].slice(offset); linkList = formatLinks(linkList); const hasChild = linkList.some(link => !!(link.children && link.children.length || link.product0.id)); return ` * ${link.title} ${link.tag.label} * ${second_link.title} ${second_link.tag.label} ${third_links.title} ${third_links.tag.label} * ${link.title} ${link.tag.label} ` })()} NATURE WEAVER NATURE WEAVER * Log in * Create an account ${data.data && data.data.count} ${(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 Sale * Daily Nutrition * Basic Nutrition * Bone & Joint * Cardiovascular * Infant Nutrition * Email: drmalab1112@gmail.com 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(); })(); ${function() { return ` ` }()} NEW ARRIVALS Save $67.00 Save $67.00 SHILAJIT PURE HIMALAYAN 9000MG, ENERGY BOOSTER ASHWAGANDHA 2000MG, RHODIOLA ROSEA 1000MG, PANAX GINSENG 1500MG, TURMERIC 500MG, GINGKO BILOBA 500MG, STINGING NETTLE 250MG, CORDYCEPS MUSHROOM 500MG&SEA MOSS MULTIVITAMIN .SHILAJIT POWER COMBO(2PCS) from $32.99 $99.99 Save $20.00 Save $20.00 15 DAY GUT CLEANSE & DETOX FOR WASTE LOSS TO FEEL LIGHTER OR BREAK THE PLATEAU | NATURAL CLEANSE FOR MEN & WOMEN-ZH from $19.90 $39.90 Save $30.00 Save $30.00 NEW ORGANIC MUSHROOM COFFEE FOR FOCUS & GUT HEALTH SUPPORT from $29.90 $59.90 Save $30.00 Save $30.00 SUPRACALM DRINK MIX, RASPBERRY LEMONADE, L THEANINE, KSM-66 ASHWAGANDHA, MAGNESIUM GLYCINATE, VITAMIN D 3, FOR RELAXATION & FOCUS, NO SUGAR, NON GMO, ON THE GO, 20 CT-X from $29.90 $59.90 Save $70.00 Save $70.00 ASHWAGANDHA & VITAMIN D GUMMY-MIXED BERRY, KSM-66, VEGAN, PLANT BASED, NON-GMO, GLUTEN-FREE & GELATIN FREE.AMERICA'S #1 ASHWAGANDHA BRAND - XDX from $29.90 $99.90 Save $26.00 Save $26.00 LIVER RENEW CLEANSE DETOX, REPAIR & SUPPORT |70 CAPSULES| 1 MONTH+ SUPPLY (PACK OF 1)| HERBAL SUPPLEMENT FOR LIVER HEALTH| MILK THISTLE DANDELION ROOT WITH 9 MINERALS from $23.90 $49.90 Save $40.00 Save $40.00 LIPOSOMAL NICOTINAMIDE RIBOSIDE, RESVERATROL, HIGH PURITY NAD FOR ANTI-AGING, ENERGY, FOCUS from $29.99 $69.99 Save $57.00 Save $57.00 EXCLUSIVE SET KOREAN HOME AESTHETIC DUO L EXPERIENCE GLASS GLOW EFFECT WITH ZERO EXOSOME SPICULE SERUM + COLLAGEN NIACINAMIDE JELLY CREAM COMBINATION from $32.99 $89.99 Save $30.00 Save $30.00 BIO SUN STICK PRO from $19.99 $49.99 Save $57.00 Save $57.00 [70%OFF] PURE HIMALAYAN SHILAJIT GUMMIES GOLD 100% NATURAL & ORGANIC 60 GUMMY from $32.99 $89.99 Save $26.00 Save $26.00 DANDELION WOLFBERRY TEA - A NATURAL BLEND OF SIX HERBAL INGREDIENTS 120G PER PACK from $23.99 $49.99 Save $20.00 Save $20.00 WHITE DELUXE, WHITENING POWDER - REMOVES STAINS, NO SENSITIVITY - ENAMEL-SAFE TOOTHPASTE WHITENING POWDER FOR COFFEE, TEA, FOOD, WINE, AND TOBACCO STAINS. from $19.99 $39.99 Save $30.00 Save $30.00 VANILLA SKIN - TRAVEL SIZE - BODY & HAIR FRAGRANCE MIST from $29.99 $59.99 Save $35.00 Save $35.00 INSTANT FIRMX NO-FILTER PRIMER, INSTANT SKIN TIGHTENER, INSTANT SKIN FIRMER, MAKEUP PRIMER FOR FACE, BLURRING FACE PRIMER from $24.99 $59.99 Save $30.00 Save $30.00 VAGINAL PROBIOTICS FOR WOMEN PH BALANCE WITH PREBIOTICS & LACTOBACILLUS PROBIOTIC BLEND from $29.99 $59.99 Save $60.09 Save $60.09 (🔥CHRISTMAS DEALS ) PURE HIMALAYAN SHILAJIT GUMMIES | WITH ASHWAGANDHA,GOKSHURA | DOCTOR RECOMMENDED from $29.90 $89.99 Save $60.00 Save $60.00 (🔥CHRISTMAS DEALS ) PURE HIMALAYAN SHILAJIT GUMMIES | WITH ASHWAGANDHA,GOKSHURA | DOCTOR RECOMMENDED from $29.90 $89.90 Save $70.09 Save $70.09 (🔥LAST DAY SALE-70% OFF🔥) PURE HIMALAYAN SHILAJIT GUMMIES | WITH ASHWAGANDHA,GOKSHURA | DOCTOR RECOMMENDED from $29.90 $99.99 Save $60.09 Save $60.09 (🔥CHRISTMAS DEALS ) PURE HIMALAYAN SHILAJIT GUMMIES | WITH ASHWAGANDHA,GOKSHURA | DOCTOR RECOMMENDED from $29.90 $89.99 Save $67.00 Save $67.00 SHILAJIT PURE HIMALAYAN 9000MG, ENERGY BOOSTER ASHWAGANDHA 2000MG, RHODIOLA ROSEA 1000MG, PANAX GINSENG 1500MG, TURMERIC 500MG, GINGKO BILOBA 500MG, STINGING NETTLE 250MG, CORDYCEPS MUSHROOM 500MG&SEA MOSS MULTIVITAMIN .SHILAJIT POWER COMBO(2PCS) from $32.99 $99.99 Save $20.00 Save $20.00 15 DAY GUT CLEANSE & DETOX FOR WASTE LOSS TO FEEL LIGHTER OR BREAK THE PLATEAU | NATURAL CLEANSE FOR MEN & WOMEN-ZH from $19.90 $39.90 Save $30.00 Save $30.00 NEW ORGANIC MUSHROOM COFFEE FOR FOCUS & GUT HEALTH SUPPORT from $29.90 $59.90 Save $30.00 Save $30.00 SUPRACALM DRINK MIX, RASPBERRY LEMONADE, L THEANINE, KSM-66 ASHWAGANDHA, MAGNESIUM GLYCINATE, VITAMIN D 3, FOR RELAXATION & FOCUS, NO SUGAR, NON GMO, ON THE GO, 20 CT-X from $29.90 $59.90 Save $70.00 Save $70.00 ASHWAGANDHA & VITAMIN D GUMMY-MIXED BERRY, KSM-66, VEGAN, PLANT BASED, NON-GMO, GLUTEN-FREE & GELATIN FREE.AMERICA'S #1 ASHWAGANDHA BRAND - XDX from $29.90 $99.90 Save $26.00 Save $26.00 LIVER RENEW CLEANSE DETOX, REPAIR & SUPPORT |70 CAPSULES| 1 MONTH+ SUPPLY (PACK OF 1)| HERBAL SUPPLEMENT FOR LIVER HEALTH| MILK THISTLE DANDELION ROOT WITH 9 MINERALS from $23.90 $49.90 Save $40.00 Save $40.00 LIPOSOMAL NICOTINAMIDE RIBOSIDE, RESVERATROL, HIGH PURITY NAD FOR ANTI-AGING, ENERGY, FOCUS from $29.99 $69.99 Save $57.00 Save $57.00 EXCLUSIVE SET KOREAN HOME AESTHETIC DUO L EXPERIENCE GLASS GLOW EFFECT WITH ZERO EXOSOME SPICULE SERUM + COLLAGEN NIACINAMIDE JELLY CREAM COMBINATION from $32.99 $89.99 Save $30.00 Save $30.00 BIO SUN STICK PRO from $19.99 $49.99 Save $57.00 Save $57.00 [70%OFF] PURE HIMALAYAN SHILAJIT GUMMIES GOLD 100% NATURAL & ORGANIC 60 GUMMY from $32.99 $89.99 Save $26.00 Save $26.00 DANDELION WOLFBERRY TEA - A NATURAL BLEND OF SIX HERBAL INGREDIENTS 120G PER PACK from $23.99 $49.99 Save $20.00 Save $20.00 WHITE DELUXE, WHITENING POWDER - REMOVES STAINS, NO SENSITIVITY - ENAMEL-SAFE TOOTHPASTE WHITENING POWDER FOR COFFEE, TEA, FOOD, WINE, AND TOBACCO STAINS. from $19.99 $39.99 Save $30.00 Save $30.00 VANILLA SKIN - TRAVEL SIZE - BODY & HAIR FRAGRANCE MIST from $29.99 $59.99 Save $35.00 Save $35.00 INSTANT FIRMX NO-FILTER PRIMER, INSTANT SKIN TIGHTENER, INSTANT SKIN FIRMER, MAKEUP PRIMER FOR FACE, BLURRING FACE PRIMER from $24.99 $59.99 Save $30.00 Save $30.00 VAGINAL PROBIOTICS FOR WOMEN PH BALANCE WITH PREBIOTICS & LACTOBACILLUS PROBIOTIC BLEND from $29.99 $59.99 Limit discounts Short content about your store Contact us Short content about your store Secure payment Short content about your store We accept * American Express * Apple Pay * Mastercard * PayPal * Visa We accept * American Express * Apple Pay * Mastercard * PayPal * Visa © 2024 Nature Weaver Track your order About US Returns & Refund Policy Privacy Statement Terms of Service Shipping Policy 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 /** @private {string} */ class SpzCustomAnchorScroll extends SPZ.BaseElement { static deferredMount() { return false; } constructor(element) { super(element); /** @private {Element} */ this.scrollableContainer_ = null; } isLayoutSupported(layout) { return layout == SPZCore.Layout.LOGIC; } buildCallback() { this.viewport_ = this.getViewport(); this.initActions_(); } setTarget(containerId, targetId) { this.containerId = '#' + containerId; this.targetId = '#' + targetId; } scrollToTarget() { const container = document.querySelector(this.containerId); const target = container.querySelector(this.targetId); const {scrollTop} = container; const eleOffsetTop = this.getOffsetTop_(target, container); this.viewport_ .interpolateScrollIntoView_( container, scrollTop, scrollTop + eleOffsetTop ); } initActions_() { this.registerAction( 'scrollToTarget', (invocation) => this.scrollToTarget(invocation?.caller) ); this.registerAction( 'setTarget', (invocation) => this.setTarget(invocation?.args?.containerId, invocation?.args?.targetId) ); } /** * @param {Element} element * @param {Element} container * @return {number} * @private */ getOffsetTop_(element, container) { if (!element./*OK*/ getClientRects().length) { return 0; } const rect = element./*OK*/ getBoundingClientRect(); if (rect.width || rect.height) { return rect.top - container./*OK*/ getBoundingClientRect().top; } return rect.top; } } SPZ.defineElement('spz-custom-anchor-scroll', SpzCustomAnchorScroll); const STRENGTHEN_TRUST_URL = "/api/strengthen_trust/settings"; class SpzCustomStrengthenTrust extends SPZ.BaseElement { constructor(element) { super(element); this.renderElement_ = null; } isLayoutSupported(layout) { return layout == SPZCore.Layout.CONTAINER; } buildCallback() { this.xhr_ = SPZServices.xhrFor(this.win); const renderId = this.element.getAttribute('render-id'); SPZCore.Dom.waitForChild( document.body, () => !!document.getElementById(renderId), () => { this.renderElement_ = SPZCore.Dom.scopedQuerySelector( document.body, `#${renderId}` ); if (this.renderElement_) { this.render_(); } this.registerAction('track', (invocation) => { this.track_(invocation.args); }); } ); } render_() { this.fetchData_().then((data) => { if (!data) { return; } SPZ.whenApiDefined(this.renderElement_).then((apis) => { apis?.render(data); document.querySelector('#strengthen-trust-render-cart_drawer').addEventListener('click',(event)=>{ if(event.target.nodeName == 'A'){ this.track_({type: 'trust_content_click'}); } }) }); }); } track_(data = {}) { const track = window.sa && window.sa.track; if (!track) { return; } track('trust_enhancement_event', data); } parseJSON_(string) { let result = {}; try { result = JSON.parse(string); } catch (e) {} return result; } fetchData_() { return this.xhr_ .fetchJson(STRENGTHEN_TRUST_URL) .then((responseData) => { if (!responseData || !responseData.data) { return null; } const data = responseData.data; const moduleSettings = (data.module_settings || []).reduce((result, moduleSetting) => { return result.concat(Object.assign(moduleSetting, { logos: (moduleSetting.logos || []).map((item) => { return moduleSetting.logos_type == 'custom' ? this.parseJSON_(item) : item; }) })); }, []); return Object.assign(data, { module_settings: moduleSettings, isEditor: window.self !== window.top, }); }); } } SPZ.defineElement('spz-custom-strengthen-trust', SpzCustomStrengthenTrust); ${data.module_title} To display this card to customers, you need to go to "Booster & Store Conversion" to turn on the trust enhancement feature. ${data.module_title} ${item.title} ${item.title} ${item.content.replaceAll("{store_name}","Nature Weaver")} To display this card to customers, you need to go to "Booster & Store Conversion" to turn on the trust enhancement feature. ${data.module_title} ${item.title} ${data.module_title} ${item.title} ${item.content.replaceAll("{store_name}","Nature Weaver")} ${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(){ const productData = data.product; let product_change_event = '', mouse_over_event = ' '; mouse_out_event = ''; const product_options = productData.options.filter(Boolean) || []; for (let opt of product_options) { const nameEscape = opt.name.replace(/\/|\\|\s|\'|\"|`|\<|\>/g, '') product_change_event = product_change_event + `quick-shop-selected-variant-${opt.id}.rerender(data=event.selectedValues.${opt.name});`; mouse_out_event = mouse_out_event + `@${nameEscape}Mouseout="quick-shop-selected-variant-${opt.id}.rerender(data=event.selectData.${opt.name}, redo=true);"`; mouse_over_event = mouse_over_event + `@${nameEscape}Mouseover="quick-shop-selected-variant-${opt.id}.rerender(data=event, redo=true);"`; } 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() { let variantImageShowed = false; const currentProduct = data.product; return (currentProduct.options || []).map((option, index) => { const optionName = option.name || ''; const optionId = option.id || ''; const position = `option${index + 1}`; let isThumbImage = false; if (currentProduct.need_variant_image && !variantImageShowed) { const variantNames = ["color"] || []; for (let i = 0, len = variantNames.length; i < len; i++) { const name = variantNames[i].toLowerCase(); if (name === optionName.toLowerCase()) { isThumbImage = true; variantImageShowed = true; } } } const variantType = "button"; const thumbStyle = "image_with_text"; return ` ${optionName}: ${option.values.map((value, idx) => { const selected = data.selectedValues[optionName] == value ? 'checked' : ''; let thumbImage = null; if (isThumbImage) { const variants = currentProduct.variants; for (let i = 0, len = variants.length; i < len; i++) { const variant = variants[i]; if (variant[position] == value && thumbImage == null) { thumbImage = variant.image; break; } } } return ` ${value} ` }).join('')} ${optionName} ${option.values.map(value => { const selected = data.selectedValues[optionName] == value ? 'selected' : ''; return `${value}` }).join('')} ` }).join(''); }()} ${data.originData && data.originData.value || data.value} 111 GIFTS POINTS