đŸ”„ă€Complete Set】1878-1921 Morgan Silver Dollar 28PC💰Free Shipping & Quality Assurance

Free shipping
Hot
Sold 0 only 999999999 item(s) left
$129.99 $259.99 Save $130.00
Years:  Complete Set 28PC (Only 8 Sets LeftđŸ”„Each Only $4.5)
Quantity
const getPluginI18nMessages = (message, replaceObj = {}) => { const lang = document.documentElement.lang || "en-US"; const [form, key] = message.split('.') let text = window.payment_plugin_message['en-US'][form][key]; if (window.payment_plugin_message[lang][form].hasOwnProperty(key)) { text = window.payment_plugin_message[lang][form][key]; } Object.keys(replaceObj).forEach(key => { text = text.replace(new RegExp(`\{${key}\}`, 'gi'), replaceObj[key]); }) return text; } const zhCN = { ec: { not_active_channel: "èŻ·ćˆ°æ”¶æŹŸèźŸçœźäž­{channelName}æˆ–ćœšă€Œćż«æ·æ”Żä»˜æŒ‰é’źă€èźŸçœźäž­é€‰æ‹©ć…¶ä»–çš„æœćŠĄæäŸ›æ–čïŒŒćŠćˆ™æŒ‰é’źć°†æ— æł•ć±•ç€ș", not_support_theme: "ćœ“ć‰äž»éą˜äžæ”ŻæŒæ·»ćŠ ă€Œćż«æ·æ”Żä»˜æŒ‰é’źă€", more_button: "æ›Žć€šæ”Żä»˜æ–čćŒ", skeleton_layer_tips_title: "ćż«æ·æ”Żä»˜æŒ‰é’ź", skeleton_layer_tips_content: "èŻ·ç‚čć‡»ć·ŠäŸ§ćˆ—èĄšäž­çš„ă€Œćż«æ·æ”Żä»˜æŒ‰é’źă€ïŒŒćœšèźŸçœźéĄ”éąćŒ€ćŻæƒłèŠçš„ć±•ç€șçš„æ”Żä»˜æŒ‰é’ź", mock_tips: "ćż«æ·æ”Żä»˜æŒ‰é’źæ˜ŻćŠć±•ç€șèż˜ć–ć†łäșŽäč°ćź¶äœżç”šçš„æ”è§ˆć™šä»„ćŠć•†ć“çš„èŽ§ćžă€é‡‘éą", not_find_form_tips: "ćż«æ·æ”Żä»˜æŒ‰é’źç»„ä»¶ä»…æ”ŻæŒé…çœźćˆ°ć•†ć“èŻŠæƒ…ćĄç‰‡ć†…", } }; const zhTW = { ec: { not_active_channel: "èŻ·ćˆ°æ”¶æŹŸèźŸçœźäž­{channelName}æˆ–ćœšă€Œćż«æ·æ”Żä»˜æŒ‰é’źă€èźŸçœźäž­é€‰æ‹©ć…¶ä»–çš„æœćŠĄæäŸ›æ–čïŒŒćŠćˆ™æŒ‰é’źć°†æ— æł•ć±•ç€ș", not_support_theme: "ćœ“ć‰äž»éą˜äžæ”ŻæŒæ·»ćŠ ă€Œćż«æ·æ”Żä»˜æŒ‰é’źă€", more_button: "æ›Žć€šä»˜æŹŸæ–čćŒ", } }; const arSA = { ec: { not_active_channel: "Please activate {channelName} on B Admin or select another provider in the「Express checkout button」 settings, otherwise it will not display.", not_support_theme: "This Theme doesn't support adding「Express checkout button」", more_button: "Ű§Ù„Ù…ŰČÙŠŰŻ من ŰźÙŠŰ§Ű±Ű§ŰȘ Ű§Ù„ŰŻÙŰč", } }; const deDE = { ec: { not_active_channel: "Please activate {channelName} on B Admin or select another provider in the「Express checkout button」 settings, otherwise it will not display.", not_support_theme: "This Theme doesn't support adding「Express checkout button」", more_button: "Weitere Bezahlmöglichkeiten", } }; const esES = { ec: { not_active_channel: "Please activate {channelName} on B Admin or select another provider in the「Express checkout button」 settings, otherwise it will not display.", not_support_theme: "This Theme doesn't support adding「Express checkout button」", more_button: "MĂĄs opciones de pago", } }; const frFR = { ec: { not_active_channel: "Please activate {channelName} on B Admin or select another provider in the「Express checkout button」 settings, otherwise it will not display.", not_support_theme: "This Theme doesn't support adding「Express checkout button」", more_button: "Plus d'options de paiement", } }; const idID = { ec: { not_active_channel: "Please activate {channelName} on B Admin or select another provider in the「Express checkout button」 settings, otherwise it will not display.", not_support_theme: "This Theme doesn't support adding「Express checkout button」", more_button: "Opsi pembayaran lainnya", } }; const itIT = { ec: { not_active_channel: "Please activate {channelName} on B Admin or select another provider in the「Express checkout button」 settings, otherwise it will not display.", not_support_theme: "This Theme doesn't support adding「Express checkout button」", more_button: "Altre opzioni di pagamento", } }; const jaJP = { ec: { not_active_channel: "Please activate {channelName} on B Admin or select another provider in the「Express checkout button」 settings, otherwise it will not display.", not_support_theme: "This Theme doesn't support adding「Express checkout button」", more_button: "ăăźä»–ăźæ”Żæ‰•ă„ă‚Șăƒ—ă‚·ăƒ§ăƒł", } }; const koKR = { ec: { not_active_channel: "Please activate {channelName} on B Admin or select another provider in the「Express checkout button」 settings, otherwise it will not display.", not_support_theme: "This Theme doesn't support adding「Express checkout button」", more_button: "더 많은 êČ°ì œ 옔션", } }; const enUS = { ec: { not_active_channel: "Please activate {channelName} on B Admin or select another provider in the「Express checkout button」 settings, otherwise it will not display.", not_support_theme: "This Theme doesn't support adding「Express checkout button」", more_button: "More payment options", skeleton_layer_tips_title: "Express Checkout Button", skeleton_layer_tips_content: "Please click the「Express checkout button」on the block listthen you could enable the payment option you want to display in settings.", mock_tips: "Whether the Express checkout button is displayed also depends on the browser used by the buyer and the currency and amount of the product.", not_find_form_tips: "Express Checkout Button could only be added to Product details block.", } }; const nlNL = { ec: { not_active_channel: "Please activate {channelName} on B Admin or select another provider in the「Express checkout button」 settings, otherwise it will not display.", not_support_theme: "This Theme doesn't support adding「Express checkout button」", more_button: "Meer betalingsmogelijkheden", } }; const plPL = { ec: { not_active_channel: "Please activate {channelName} on B Admin or select another provider in the「Express checkout button」 settings, otherwise it will not display.", not_support_theme: "This Theme doesn't support adding「Express checkout button」", more_button: "Więcej Opcji PƂatnoƛci", } }; const ptPT = { ec: { not_active_channel: "Please activate {channelName} on B Admin or select another provider in the「Express checkout button」 settings, otherwise it will not display.", not_support_theme: "This Theme doesn't support adding「Express checkout button」", more_button: "Mais opçÔes de pagamento", } }; const ruRU = { ec: { not_active_channel: "Please activate {channelName} on B Admin or select another provider in the「Express checkout button」 settings, otherwise it will not display.", not_support_theme: "This Theme doesn't support adding「Express checkout button」", more_button: "Đ”Ń€ŃƒĐłĐžĐ” ĐČĐ°Ń€ĐžĐ°ĐœŃ‚Ń‹ ĐŸĐżĐ»Đ°Ń‚Ń‹", } }; const thTH = { ec: { not_active_channel: "Please activate {channelName} on B Admin or select another provider in the「Express checkout button」 settings, otherwise it will not display.", not_support_theme: "This Theme doesn't support adding「Express checkout button」", more_button: "àž•àž±àž§àč€àž„àž·àž­àžàžàžČàžŁàžŠàžłàžŁàž°àč€àž‡àžŽàž™àč€àžžàžŽàčˆàžĄàč€àž•àžŽàžĄ", } }; window.payment_plugin_message = { getPluginI18nMessages, "zh-CN": zhCN, "zh-TW": zhTW, "ar-SA": arSA, "de-DE": deDE, "es-ES": esES, "fr-FR": frFR, "id-ID": idID, "it-IT": itIT, "ja-JP": jaJP, "ko-KR": koKR, "en-US": enUS, "nl-NL": nlNL, "pl-PL": plPL, "pt-PT": ptPT, "ru-RU": ruRU, "th-TH": thTH, } document.dispatchEvent(new CustomEvent('payment_plugin_message_reader'));
try { const dom = document.getElementById('pm-payment-express-button-1651799308132-8'); dom.i18n = window?.payment_plugin_message?.getPluginI18nMessages; if (dom.i18n) { document.dispatchEvent(new CustomEvent('payment_ec_core_ready', { detail: { i18n: true } })) } else { document.addEventListener('payment_plugin_message_reader', () => { dom.i18n = window?.payment_plugin_message?.getPluginI18nMessages; document.dispatchEvent(new CustomEvent('payment_ec_core_ready', { detail: { i18n: true } })) }, {once: true}); } } catch (e) { } // 通甚淄慷æ–čæł• try { const dom = document.getElementById('pm-payment-express-button-1651799308132-8') const ROOT_URL = (C_SETTINGS && C_SETTINGS.routes && C_SETTINGS.routes.root) || ''; const eventListeners = {}; const commonUtils = function () { return { getProduct() { const productJson = document.querySelector('#product-json'); if (productJson?.textContent) { return JSON.parse(productJson.textContent); } if (window.jQuery) { const $product = window.jQuery?.(document)?.data('djproduct'); const productData = JSON.parse(JSON.stringify($product || {})); return productData || {}; } return {}; }, isChrome() { return navigator?.userAgent?.indexOf('Chrome') > -1 || navigator?.userAgent?.indexOf('CriOS') > -1; }, isSafari() { let userAgentString = navigator.userAgent; let chromeAgent = userAgentString.indexOf('Chrome') > -1 || navigator?.userAgent?.indexOf('CriOS') > -1; let safariAgent = userAgentString.indexOf('Safari') > -1; if (chromeAgent && safariAgent) { safariAgent = false; } return safariAgent; }, isPreview() { return !!window?.C_EDITING_SETTINGS?.oseid; }, multiply(a, b) { const precision = 2; // äżç•™äž€äœć°æ•° return Number((a * b).toFixed(precision)); }, loadScript(fnReady, id, src, datasets, onError, attributeConfig = {}) { const sdkDomId = id + '-sdk'; const loadedEventName = `${id}-loaded`; if (fnReady()) { return Promise.resolve({id: true}); } const existingScript = document.getElementById(sdkDomId); if (existingScript) { return new Promise((resolve) => { const handleLoaded = () => { if (fnReady()) { resolve({id: true}); } else { resolve({id: false}); onError && onError(); } }; if (existingScript.dataset.loaded === 'true') { handleLoaded(); } else { window.addEventListener(loadedEventName, handleLoaded, {once: true}); } }); } return new Promise((resolve) => { const s = document.createElement('script'); s.id = sdkDomId; s.src = src; s.defer = true; if (datasets) { Object.keys(datasets).map((item) => { s.dataset[item] = datasets[item]; }); } s.onload = function () { s.dataset.loaded = 'true'; window.dispatchEvent(new CustomEvent(loadedEventName)); resolve({id: true}); }; s.onerror = function () { resolve({id: false}); onError && onError(); }; Object.keys(attributeConfig).forEach((key) => { s.setAttribute(key, attributeConfig[key]); }); document.head.appendChild(s); }); }, track(eventName, data) { window.sa && window?.sa?.track('pm_' + eventName, JSON.parse(JSON.stringify(data))); }, getExtUrl(name) { const url = document.cookie.match(new RegExp('\\b' + name.replace(/_/g, '-') + '-(v[s0-9]+)')); if (url && url[1]) { return `${name}.${url[1]}.js`; } else { return window?.exts?.[name]; } }, req: { post: async (url, data = {}) => { try { const response = await fetch(req.ROOT_URL + url, { method: 'POST', headers: { 'Content-Type': 'application/json', }, ...data, body: JSON.stringify(data.body), }); return await response.json() } catch (error) { throw new Error('post request error' + error); } }, get: async (url, data = {}) => { try { const response = await fetch(ROOT_URL + url); return await response.json() } catch (error) { throw new Error('get request error' + error); } } }, debounce(fn, wait) { let timeout = null; return function () { if (timeout !== null) { clearTimeout(timeout); } timeout = setTimeout(function () { fn.apply(this, arguments); }, wait); } }, delayCallback(cb) { window.requestIdleCallback ? requestIdleCallback(cb, {timeout: 50}) : setTimeout(cb, 50); }, loadFilly(tag, cb, trackEcPerfFn) { if (!tag) { return } const script = document.createElement('script'); script.type = 'text/javaScript'; script.src = `//static.staticdj.com/${tag}`; script.onload = function() { if (trackEcPerfFn && !performance.getEntriesByName('ec_filly_load_end').length) { performance.mark('ec_filly_load_end'); const fillyStart = performance.getEntriesByName('ec_filly_load_start')[0]; const channels = window?.C_SETTINGS?.payment_settings?.dynamic_config?.express_checkout_config?.express_channels || []; trackEcPerfFn({ eventName: 'ec_perf_filly_load_end', extraData: { filly_load_time: fillyStart ? performance.now() - fillyStart.startTime : null, payment_channel: channels.join(',') }, eventType: 'card_expose' }); } cb && cb(); }; document.getElementsByTagName('head')[0].appendChild(script); }, ecEvent: { on: (eventName, listener, useCapture) => { eventListeners[eventName] = listener; window.addEventListener(eventName, listener, useCapture); }, emit: (eventName, data) => window.dispatchEvent(new CustomEvent(eventName, {detail: data})), }, trackEcPerf({ eventName, extraData, eventType }) { var skeletonStart = performance.getEntriesByName('ec_skeleton_start')[0]; var sinceSkeletonStart = skeletonStart ? performance.now() - skeletonStart.startTime : null; window.sa && window.sa.track('function_expose', { function_name: 'payment_platform', plugin_name: 'payment_platform', business_type: 'product_payment', module: 'payment', module_type: 'payment_platform', event_type: eventType || 'expose', event_developer: 'cartoon', event_info: JSON.stringify( Object.assign( { process_name: eventName, process_type: 'perf', since_skeleton: sinceSkeletonStart }, extraData || {} ) ) }); } } } dom.commonUtilsFn = commonUtils; document.dispatchEvent(new CustomEvent('payment_ec_core_ready', { detail: { commonUtils: true } })) } catch (e) { } // æ žćżƒæ•°æź try { const dom = document.getElementById('pm-payment-express-button-1651799308132-8'); const coreData = function () { const {getProduct} = dom.commonUtils; let productDetail = getProduct(); let productPrice = productDetail?.selected?.price || 129.99; const shopCurrencyCode = "USD"; const expressCheckoutList = { sdkErrorList: [], paymentChannelList: [], disabledChannelList: [], showChannelList: [], blockChannelList: [], extraChannelList: [], }; const channelType = { googlepay: ['shoplazzagoogle'], applepay: ['shoplazzaapple'], credit: ['paypal'] }; const ecGlobalVarEnums = { paypal: 'pluginPaypalEC' }; const providerEnums = { SHOPLAZZA: 'shoplazza', STRIPE: 'stripe', PAYPAL: 'paypal' }; const channelEnums = { SHOPLAZZA_GOOGLE: 'shoplazzagoogle', SHOPLAZZA_APPLE: 'shoplazzaapple', STRIPE_GOOGLE: 'stripegoogle', STRIPE_APPLE: 'stripeapple', PAYPAL: 'paypal' }; const channelThemeConfig = { [channelEnums.PAYPAL]: { default: { url: 'oss/operation/f557c83808e1cd456411170286a1ea95.svg', classList: ['paypal-card'], }, }, [channelEnums.SHOPLAZZA_GOOGLE]: { light: { url: 'oss/operation/778afb93da43adf75bdc80b078e5d4fd.svg', classList: ['googlepay-light'], }, dark: { url: 'oss/operation/e53180c224f0b0af44b44663775aa930.svg', classList: ['googlepay-dark'], }, }, [channelEnums.SHOPLAZZA_APPLE]: { light: { url: 'oss/operation/dadceb884044e0a9bbfe26c15192f542.svg', classList: ['applepay-light'], }, dark: { url: 'oss/operation/6597f66eac8b0681ebfb75941e8f6f52.svg', classList: ['applepay-dark'], }, }, }; function getContainerDomId() { const domIDSuffix = '-express-button-container'; const prefix = 'pm-'; const formatId = (channel) => `${prefix}${channel}${domIDSuffix}-1651799308132-8`; return { [providerEnums.PAYPAL]: formatId(providerEnums.PAYPAL), [providerEnums.SHOPLAZZA]: formatId(channelEnums.SHOPLAZZA_GOOGLE), [channelEnums.SHOPLAZZA_GOOGLE]: formatId(channelEnums.SHOPLAZZA_GOOGLE), [channelEnums.SHOPLAZZA_APPLE]: formatId(channelEnums.SHOPLAZZA_APPLE), }; } return { ecGlobalVarEnums, providerEnums, channelEnums, productPrice, shopCurrencyCode, getChannelThemeConfig(ecName) { const themeType = window.PaymentEC?.settings?.express_theme_configs?.[ecName]?.theme_type?.toLowerCase() || 'default'; return channelThemeConfig[ecName][themeType] || channelThemeConfig[ecName]['dark']; }, getProductPrice() { return productDetail?.selected?.price; }, getProductDetail() { return productDetail; }, setProductDetail(data) { productDetail = data; }, isRequiresShipping() { return productDetail?.product?.requires_shipping }, getOpenChannelType() { const {paymentChannelList, blockChannelList} = expressCheckoutList const openList = paymentChannelList.filter(item => blockChannelList.includes(item)) || []; return { hasApplepay: openList.filter(item => channelType.applepay.includes(item))?.length > 0, hasGooglepay: openList.filter(item => channelType.googlepay.includes(item))?.length > 0, hasCredit: openList.filter(item => channelType.credit.includes(item))?.length > 0 } }, containerDomId: getContainerDomId(), channel2ProviderEnums: { [channelEnums.PAYPAL]: channelEnums.PAYPAL, [channelEnums.SHOPLAZZA_GOOGLE]: channelEnums.SHOPLAZZA_GOOGLE, [channelEnums.SHOPLAZZA_APPLE]: channelEnums.SHOPLAZZA_APPLE, [channelEnums.STRIPE_GOOGLE]: providerEnums.STRIPE, [channelEnums.STRIPE_APPLE]: providerEnums.STRIPE, }, getExpressCheckoutList() { return expressCheckoutList; }, setShowChannel(showChannelList = []) { expressCheckoutList.showChannelList = showChannelList; return expressCheckoutList; }, setBlockChannel(blockChannelList = []) { expressCheckoutList.blockChannelList = blockChannelList; return expressCheckoutList; }, setPaymentChannelList(paymentChannelList = []) { expressCheckoutList.paymentChannelList = paymentChannelList; return expressCheckoutList; }, setSdkErrorList(paymentChannelList = []) { expressCheckoutList.sdkErrorList = paymentChannelList; return expressCheckoutList; }, setExtraChannelList(extraChannelList = []) { expressCheckoutList.extraChannelList = extraChannelList; return expressCheckoutList; }, setDisabledChannelList(disabledChannelList = []) { expressCheckoutList.disabledChannelList = disabledChannelList; return expressCheckoutList; } } } dom.coreDataFn = coreData; document.dispatchEvent(new CustomEvent('payment_ec_core_ready', { detail: { coreData: true } })) } catch (e) { console.log(e); } // é€šç”šäžšćŠĄæ•°æźć€„ç†æ–čæł• try { const dom = document.getElementById('pm-payment-express-button-1651799308132-8') const businessUtils = function () { const {track, isChrome, isSafari, req, isPreview, multiply, loadScript} = dom.commonUtils; const {getProductPrice, containerDomId, ecGlobalVarEnums} = dom.coreData; const { channelEnums, shopCurrencyCode, isRequiresShipping, getProductDetail, setShowChannel, setBlockChannel, setSdkErrorList, setExtraChannelList, setDisabledChannelList, setPaymentChannelList, getExpressCheckoutList } = dom.coreData; const _businessUtils = { getECConfig: async () => { if (window.PaymentEC?.settings) { return window.PaymentEC?.settings; } // äŒ˜ć…ˆä»Ž C_SETTINGS èŽ·ć– express_checkout_config let ecConfig = window?.C_SETTINGS?.payment_settings?.dynamic_config?.express_checkout_config; // ćŠ‚æžœ C_SETTINGS äž­æČĄæœ‰ïŒŒäœżç”šæŽ„ćŁèŻ·æ±‚äœœäžș慜ćș• if (!ecConfig) { const result = await req.get('/api/payment/settings'); ecConfig = result?.settings?.express_checkout_config || {}; } const {blockChannelList} = getExpressCheckoutList(); const filteredExpressChannels = blockChannelList.filter(ecName => ecConfig?.express_channels?.includes(ecName)) || []; setPaymentChannelList(filteredExpressChannels); window.PaymentEC.settings = { ...ecConfig, express_channels: filteredExpressChannels, currencyCode: shopCurrencyCode }; return window.PaymentEC.settings; }, getAttributeConfig(channelInfo) { const {ecGlobalVar, ecName} = channelInfo; const config = { paypal: { 'data-namespace': ecGlobalVar } }; return config[ecName] || {}; }, getThemeFormData() { let themeFormData = {}; const formDOM = dom.closest("form"); if (formDOM) { themeFormData = { note: '', product_id: '', variant_id: '', quantity: 1, properties: {}, }; const formData = new FormData(formDOM); const formDataKey = formData.keys(); for (const key of formDataKey) { const value = formData.get(key); const propertiesKey = key.match(/^properties(?:\.(\w+)$|\[(\w+)\]$)/); if (!propertiesKey) { themeFormData[key] = value; continue; } const objKey = propertiesKey[1] || propertiesKey[2]; themeFormData['properties'] = {...themeFormData['properties'], [objKey]: value}; } } return themeFormData; }, getProductFormData() { const themeFormData = _businessUtils.getThemeFormData() return [{ ...themeFormData, note: themeFormData?.note || "", product_id: themeFormData?.product_id || "", variant_id: themeFormData?.variant_id || "", quantity: themeFormData?.quantity || 1, // äžŽäž»éą˜çĄźèź€ïŒŒćȘ仄䞀äžȘäžșć‡†ïŒŒé˜Čæ­ąformäžć­˜ćœšçš„æ•°æźä»èą«äŒ é€’ properties: themeFormData?.properties || {}, }] }, getOrderFetchParams(data) { if (!data) { return {}; } return { line_items: data.map((item) => ({ ...item, note: item?.note || "", quantity: item?.quantity || 1, product_id: item?.product_id, variant_id: item?.variant_id, properties: item?.properties, })), refer_info: { source: 'buy_now', }, customer_note: '', }; }, isAllowTheme() { const allowThemeList = ['Nova 2023', 'Dropshiping', 'Geek', 'Hero', 'Eva']; const currentTheme = window?.C_SETTINGS?.theme?.merchant_theme_name; return allowThemeList.includes(currentTheme); }, getSubscriptionIdInit() { let defaultID; const selectSubscriptionEnum = { CLOSE: 1, ACTIVE: 2, } const productDetail = getProductDetail(); const sellingPlan = ""; if (!sellingPlan || typeof sellingPlan !== "object") { return null; } let sellingItems; if (sellingPlan?.spu?.[productDetail?.product?.id]) { sellingItems = sellingPlan.spu[productDetail?.product?.id] } if (sellingPlan?.sku?.[productDetail?.selected?.id]) { sellingItems = sellingPlan.sku[productDetail?.product?.id] } if (sellingItems?.cycles === selectSubscriptionEnum.ACTIVE && sellingItems?.selected_selling_plan_option_id) { defaultID = sellingItems?.selected_selling_plan_option_id } return defaultID ?? null }, getSubscriptionId() { const formData = _businessUtils.getThemeFormData(); const defaultID = _businessUtils.getSubscriptionIdInit(); console.log(`[paymentEC]èźąé˜…äżĄæŻ:form-${formData?.properties?._selling_plan_option_id},é»˜èź€-${defaultID}`); if (formData?.properties) { return formData?.properties?._selling_plan_option_id } return defaultID ?? null; }, isSubscription() { return !!_businessUtils.getSubscriptionId(); }, isAllowSubscriptionPay(channel) { if (!_businessUtils.isSubscription()) { return true; } return [channelEnums.PAYPAL].includes(channel); }, blockChannelHandler() { const block_googlePay = true && "shoplazzagoogle"; const block_applePay = true && "shoplazzaapple"; const block_credit = false && "paypal"; const blockChannel = { googlepay: block_googlePay, applepay: block_applePay, credit: block_credit }; if (!isPreview()) { const expressChannels = window?.C_SETTINGS?.payment_settings?.dynamic_config?.express_checkout_config?.express_channels || []; const hasStripe = expressChannels.includes('shoplazzagoogle') || expressChannels.includes('shoplazzaapple'); if (hasStripe) { loadScript(() => window.Stripe, 'Stripe', 'https://js.stripe.com/v3/'); } } const sortList = ['credit', 'googlepay', 'applepay']; const methodSort = Object.keys(blockChannel).filter(key => blockChannel[key] && key).sort((a, b) => { const indexA = sortList.indexOf(a); const indexB = sortList.indexOf(b); return indexA - indexB; }).map(key => blockChannel[key]); const result = setBlockChannel(methodSort); track('setBlockChannel', result); return result; }, showECButtonHandler() { const { paymentChannelList, sdkErrorList, disabledChannelList, extraChannelList, } = getExpressCheckoutList(); const showChannelList = paymentChannelList.filter((ecName) => !sdkErrorList.includes(ecName) && !disabledChannelList.includes(ecName) && !extraChannelList.includes(ecName)) || []; const result = setShowChannel(showChannelList); track('showECButton', result); return result; }, filterECButtonHandler({type}, cb) { const { paymentChannelList, sdkErrorList, disabledChannelList, extraChannelList, } = getExpressCheckoutList(); const showChannelList = paymentChannelList.filter((ecName) => !sdkErrorList.includes(ecName) && !disabledChannelList.includes(ecName) && !extraChannelList.includes(ecName)) || []; const result = setShowChannel(showChannelList.filter((ecName) => ecName !== type) || []); cb && cb(); track('filterECButton', result); return result; }, loadSDKErrorHandler(type) { const {sdkErrorList} = getExpressCheckoutList(); const result = setSdkErrorList([...sdkErrorList, type]); track('loadSDKError', result); return result; }, extraFilterShowHandler(channel) { const {extraChannelList} = getExpressCheckoutList(); const result = setExtraChannelList(extraChannelList.filter(ecName => ecName !== channel)); track('extraFilterEvent_show', result); return result; }, extraFilterHideHandler(channel) { const {extraChannelList} = getExpressCheckoutList(); const result = setExtraChannelList([...extraChannelList, channel]); track('extraFilterEvent_hide', result); return result; }, disabledChannelListHandler(checkoutData = {}, cb) { const {paymentChannelList} = getExpressCheckoutList(); const productDetail = getProductDetail(); const disabledChannelList = paymentChannelList.filter(ecName => { let mustDisable = false; if (!isRequiresShipping() && ecName !== channelEnums.PAYPAL) { mustDisable = true; } if (!_businessUtils.isAllowSubscriptionPay(ecName)) { mustDisable = true; } if (!productDetail?.selected?.available) { mustDisable = true; } const {payment_due} = checkoutData?.prices; const paymentDueNum = Number(payment_due || 0) * 100; const showFlag = paymentDueNum > 0; return mustDisable || !showFlag; }) const result = setDisabledChannelList(disabledChannelList) result?.disabledChannelList?.forEach(ecName => { cb && cb(ecName); }) track('disabledChannelListEvent', result); }, async getCheckoutData() { const formData = _businessUtils.getProductFormData(); const totalPrice = multiply(getProductPrice(), formData?.[0]?.quantity || 0); return { prices: {payment_due: totalPrice, subtotal_price: totalPrice}, orderParams: _businessUtils.getOrderFetchParams(_businessUtils.getProductFormData()), containerDOMIdEnums: containerDomId, ecGlobalVarEnums } }, } return _businessUtils } dom.businessUtilsFn = businessUtils; document.dispatchEvent(new CustomEvent('payment_ec_core_ready', { detail: { businessUtils: true } })) } catch (e) { } // 通甹æžČ染æ–čæł• try { const dom = document.getElementById('pm-payment-express-button-1651799308132-8'); const containerDOM = 'pm-payment-express-button-container-1651799308132-8'; const commonRenderUtils = function () { return { addChildrenDOM(id, allowShow, options = {}) { if (!id) { return; } const paymentEl = document.getElementById(containerDOM); const childrenEL = document.getElementById(id); if (paymentEl && childrenEL) { childrenEL.style.display = allowShow ? 'block' : 'none'; return; } if (paymentEl && !childrenEL) { const dom = document.createElement('div'); dom.id = id; dom.style.display = allowShow ? 'block' : 'none'; if (options?.style) { Object.keys(options?.style).forEach(key => { dom.style[key] = options.style[key]; }) } if (Array.isArray(options?.classList)) { dom.classList.add(...options.classList) } paymentEl.appendChild(dom); } }, removeChildrenDOM(id) { if (!id) { return; } const paymentEl = document.getElementById(containerDOM); const childrenEL = document.getElementById(id); if (paymentEl && childrenEL) { // childrenEL.remove(); childrenEL.style.display = 'none'; } }, mockAddChildrenDOM(id, allowShow, options = {}) { if (!id) { return; } const paymentEl = document.getElementById(containerDOM); const childrenEL = document.getElementById(id); if (paymentEl && childrenEL) { childrenEL.style.display = allowShow ? 'flex' : 'none'; return; } if (paymentEl && !childrenEL) { const dom = document.createElement('div'); dom.id = id; dom.style.display = allowShow ? 'flex' : 'none'; if (options?.style) { Object.keys(options?.style).forEach(key => { dom.style[key] = options.style[key]; }) } if (Array.isArray(options?.classList)) { dom.classList.add(...options.classList) } dom.classList.add('mock-img'); const img = document.createElement('img'); img.src = `//static.staticdj.com/${options?.url}`; dom.appendChild(img); paymentEl.appendChild(dom); } }, resetRenderDOM() { const resetStyleList = [ "pm-payment-express-error-tips-1651799308132-8", "pm-payment-express-more-button-1651799308132-8", "pm-payment-express-mock-tips-1651799308132-8", "pm-payment-express-skeletonLayer-1651799308132-8", ] const resetHtmlList = [ "pm-payment-express-skeletonLayer-title-content-1651799308132-8", "pm-payment-express-skeletonLayer-content-1651799308132-8", "pm-payment-express-mock-tips-1651799308132-8", "pm-payment-express-error-tips-1651799308132-8", "pm-payment-express-button-container-1651799308132-8", "pm-payment-express-more-button-1651799308132-8", ] resetStyleList.forEach(domID => { const content = document.getElementById(domID); if (content) { content.style.display = 'none'; } }) resetHtmlList.forEach(domID => { const content = document.getElementById(domID); if (content) { content.innerHTML = ''; } }) } } } dom.commonRenderUtilsFn = commonRenderUtils; document.dispatchEvent(new CustomEvent('payment_ec_core_ready', { detail: { commonRenderUtils: true } })) } catch (e) { } // é”™èŻŻæç€șæžČ染 try { const dom = document.getElementById('pm-payment-express-button-1651799308132-8'); const renderTipsUtils = function () { const {i18n} = dom; const {isPreview} = dom.commonUtils; const {channelEnums} = dom.coreData; return { showChannelNotOpenTips(channelList) { const tipsDom = document.getElementById('pm-payment-express-error-tips-1651799308132-8'); if (!isPreview()) { return; } if (!tipsDom) { return; } tipsDom.style.display = channelList.length > 0 ? 'block' : 'none'; const channelName = { [channelEnums.SHOPLAZZA_GOOGLE]: "ShoplazzaPayments - GooglePay", [channelEnums.SHOPLAZZA_APPLE]: "ShoplazzaPayments - ApplePay", [channelEnums.PAYPAL]: "PayPal", } channelList.forEach(ecName => { const id = `pm-payment-express-error-tips-1651799308132-8-${ecName}`; const hasDom = document.getElementById(id) if (!hasDom) { const dom = document.createElement('div'); dom.id = id; dom.innerHTML = i18n('ec.not_active_channel', {channelName: channelName[ecName]}); tipsDom.appendChild(dom); } }) }, disabledThemTips() { const tipsDom = document.getElementById('pm-payment-express-error-tips-1651799308132-8'); if (!isPreview()) { return; } if (!tipsDom) { return; } tipsDom.style.display = 'block'; const id = 'pm-payment-express-error-tips-1651799308132-8-theme'; const hasDom = document.getElementById(id); if (!hasDom) { const dom = document.createElement('div'); dom.id = id; dom.innerHTML = i18n('ec.not_support_theme'); tipsDom.appendChild(dom); } }, notFindFormTips() { const tipsDom = document.getElementById('pm-payment-express-error-tips-1651799308132-8'); if (!isPreview()) { return; } if (!tipsDom) { return; } tipsDom.style.display = 'block'; const id = 'pm-payment-express-error-tips-1651799308132-8-theme'; const hasDom = document.getElementById(id); if (!hasDom) { const dom = document.createElement('div'); dom.id = id; dom.innerHTML = i18n('ec.not_find_form_tips'); tipsDom.appendChild(dom); } }, showSkeletonLayerTips() { const skeletonLayerDOMId = 'pm-payment-express-skeletonLayer-1651799308132-8'; const skeletonLayerDOM = document.getElementById(skeletonLayerDOMId); const titleDOM = document.getElementById('pm-payment-express-skeletonLayer-title-content-1651799308132-8'); const contentDOM = document.getElementById('pm-payment-express-skeletonLayer-content-1651799308132-8'); if (!skeletonLayerDOM || !titleDOM || !contentDOM) { return; } skeletonLayerDOM.style.display = 'block'; titleDOM.innerHTML = i18n('ec.skeleton_layer_tips_title'); contentDOM.innerHTML = i18n('ec.skeleton_layer_tips_content'); }, showMockTips() { const tipsDOM = document.getElementById('pm-payment-express-mock-tips-1651799308132-8'); if (!tipsDOM) { return; } tipsDOM.style.display = 'block'; tipsDOM.innerHTML = i18n('ec.mock_tips'); } } } dom.renderTipsUtilsFn = renderTipsUtils; document.dispatchEvent(new CustomEvent('payment_ec_core_ready', { detail: { renderTipsUtils: true } })) } catch (e) { } // æ›Žć€šäżĄæŻæžČ染 try { const dom = document.getElementById('pm-payment-express-button-1651799308132-8'); const moreDOM = document.getElementById('pm-payment-express-more-button-1651799308132-8'); const moreButtonConfig = { firstClick: true, maxSize: isNaN(1) ? 1 : 1 }; const renderMoreUtils = function () { const {i18n} = dom; const {getExpressCheckoutList, channelEnums} = dom.coreData; const isApplePayAvailable = window.ApplePaySession && window.ApplePaySession.canMakePayments(); function moreButtonEvent(cb) { if (!moreDOM) { return; } moreDOM.style.display = 'none'; moreButtonConfig.firstClick = false; cb && cb(); } return { getMoreButtonConfig() { return moreButtonConfig }, showMoreButton(cb) { if (!moreDOM) { return; } let {showChannelList} = getExpressCheckoutList(); if (!isApplePayAvailable) { showChannelList = showChannelList.filter((ecName) => ecName !== channelEnums.SHOPLAZZA_APPLE && ecName !== 'applepay'); } const showLength = showChannelList.length; const {firstClick, maxSize} = moreButtonConfig; moreDOM.style.display = (firstClick && showLength > 0 && showLength > maxSize) ? 'block' : 'none'; moreDOM.innerHTML = i18n('ec.more_button'); moreDOM.onclick = () => moreButtonEvent(cb); }, } } dom.renderMoreUtilsFn = renderMoreUtils; document.dispatchEvent(new CustomEvent('payment_ec_core_ready', { detail: { renderMoreUtils: true } })) } catch (e) { } try { const dom = document.getElementById('pm-payment-express-button-1651799308132-8'); function start() { const { getExtUrl, loadFilly, delayCallback, ecEvent, track, loadScript, debounce, trackEcPerf } = dom.commonUtils; const { blockChannelHandler, getAttributeConfig, showECButtonHandler, filterECButtonHandler, loadSDKErrorHandler, extraFilterShowHandler, extraFilterHideHandler, disabledChannelListHandler, getECConfig, isAllowTheme, getCheckoutData, getThemeFormData } = dom.businessUtils; const {addChildrenDOM, removeChildrenDOM} = dom.commonRenderUtils; const {getMoreButtonConfig, showMoreButton} = dom.renderMoreUtils; const { ecGlobalVarEnums, providerEnums, channelEnums, getExpressCheckoutList, getProductPrice, getProductDetail, setProductDetail, containerDomId, channel2ProviderEnums, getChannelThemeConfig } = dom.coreData; const expressChannels = window?.C_SETTINGS?.payment_settings?.dynamic_config?.express_checkout_config?.express_channels || []; if (!performance.getEntriesByName('ec_skeleton_start').length) { performance.mark('ec_skeleton_start'); trackEcPerf({ eventName: 'ec_perf_skeleton_start', extraData: { page_start: performance.now(), payment_channel: expressChannels.join(',') }, eventType: 'card_expose' }); } function checkApplePayAvailability() { var available = false; var reason = 'no_session'; if (window.ApplePaySession) { if (window.ApplePaySession.canMakePayments()) { available = true; reason = 'available'; } else { reason = 'cannot_make_payments'; } } trackEcPerf({ eventName: 'ec_applepay_availability_check', extraData: { available: available, reason: reason, layer: 'pike_init', payment_channel: expressChannels.join(',') }, eventType: 'card_expose' }); return available; } var isApplePayAvailable = checkApplePayAvailability(); function getFilly() { if (!performance.getEntriesByName('ec_filly_load_start').length) { performance.mark('ec_filly_load_start'); trackEcPerf({ eventName: 'ec_perf_filly_load_start', extraData: { payment_channel: expressChannels.join(',') }, eventType: 'card_expose' }); } const fillyTag = getExtUrl('filly'); if (fillyTag) { loadFilly(fillyTag, init, trackEcPerf); } } function extraFilterEvent(e) { const {channel, domId, allowShow} = e?.detail || {}; if (channel && domId) { if (allowShow) { extraFilterShowHandler(channel); const container = document.getElementById(domId); if (container) { container.style.border = 'none'; container.style.backgroundColor = 'transparent'; } } else { extraFilterHideHandler(channel); filterECButtonHandler({type: channel}, () => removeChildrenDOM(domId) ); } renderEC(); } } const renderEC = () => { showECButtonHandler(); const expressCheckoutList = getExpressCheckoutList(); var {showChannelList} = expressCheckoutList; const {firstClick, maxSize} = getMoreButtonConfig(); if (!isApplePayAvailable) { showChannelList = showChannelList.filter(function(ecName) { return ecName !== channelEnums.SHOPLAZZA_APPLE && ecName !== 'applepay'; }); } if (showChannelList.length === 0) { showMoreButton(renderEC); } showChannelList.forEach((ecName, index) => { const disableShow = firstClick && index >= maxSize; const containerId = containerDomId[channel2ProviderEnums[ecName]]; addChildrenDOM(containerId, !disableShow, getChannelThemeConfig(ecName)); showMoreButton(renderEC); }); } const loadErrorEvent = (type) => { const domID = containerDomId[type]; if (!domID) { return; } loadSDKErrorHandler(type); filterECButtonHandler({type}, () => removeChildrenDOM(domID) ); showMoreButton(renderEC); }; async function loadEC() { const themeFormData = getThemeFormData?.() || {}; if (!themeFormData?.product_id || !themeFormData?.variant_id) { return; } const ecConfig = await getECConfig(); const expressCheckoutList = getExpressCheckoutList(); track('loadEC', expressCheckoutList); if (ecConfig) { const checkoutData = await getCheckoutData(); disabledChannelListHandler(checkoutData, (ecName) => { filterECButtonHandler({type: ecName}, () => removeChildrenDOM(containerDomId[channel2ProviderEnums[ecName]]) ); }); renderEC(); window.PaymentEC.handleEcPluginsLoad = ({ channelInfos = [], loadedCbFn = () => { } }) => { const expressCheckoutLoadList = []; const hasStripeChannels = channelInfos.some(info => info.ecGlobalVar === 'Stripe'); const stripeExpressChannels = (window?.C_SETTINGS?.payment_settings?.dynamic_config?.express_checkout_config?.express_channels || []) .filter(ch => ['shoplazzagoogle', 'shoplazzaapple'].includes(ch)); if (hasStripeChannels && !performance.getEntriesByName('ec_stripe_load_start').length) { performance.mark('ec_stripe_load_start'); trackEcPerf({ eventName: 'ec_perf_stripe_load_start', extraData: { payment_channel: stripeExpressChannels.join(',') }, eventType: 'card_expose' }); } channelInfos.map((channelInfo) => { const {ecGlobalVar, ecName = '', sdkPath = '', datasets} = channelInfo; let hasContainer = false; if (ecName === providerEnums.SHOPLAZZA) { const googleContainerId = containerDomId[channelEnums.SHOPLAZZA_GOOGLE]; const appleContainerId = containerDomId[channelEnums.SHOPLAZZA_APPLE]; const oldContainerId = containerDomId[ecName]; hasContainer = document.getElementById(googleContainerId) || document.getElementById(appleContainerId) || document.getElementById(oldContainerId); } else { hasContainer = document.getElementById(containerDomId[ecName]); } if (!hasContainer) { return; } const attributeConfig = getAttributeConfig(channelInfo) || {}; const loadPromise = loadScript(() => window[ecGlobalVar], ecGlobalVar, sdkPath, datasets, () => { loadErrorEvent(ecName); }, attributeConfig).then(() => { if (ecGlobalVar === 'Stripe' && !performance.getEntriesByName('ec_stripe_load_end').length) { performance.mark('ec_stripe_load_end'); var stripeStart = performance.getEntriesByName('ec_stripe_load_start')[0]; trackEcPerf({ eventName: 'ec_perf_stripe_load_end', extraData: { stripe_load_time: stripeStart ? performance.now() - stripeStart.startTime : null, payment_channel: stripeExpressChannels.join(',') }, eventType: 'card_expose' }); } }); expressCheckoutLoadList.push(loadPromise); }); Promise.all(expressCheckoutLoadList).then(() => { loadedCbFn(checkoutData); }); }; // é€šçŸ„ć€–éƒšæ•°æźć˜æ›Ž ecEvent.emit('tc_payment_ec_data_change', { ecGlobalVarEnums, containerDOMIdEnums: containerDomId }); } } const loadECDebounce = debounce(loadEC, 300) async function refreshEC(data = {}, sources) { if (!sources) { console.warn('[paymentEC]hide: sources is null'); return; } if (data?.detail?.selected?.price) { setProductDetail(data?.detail) } loadECDebounce(); } function init() { ecEvent.on('shoplazza_express_channels_change', extraFilterEvent, false); ecEvent.on('shoplazza_express_channels_change_ready', extraFilterEvent, false); if (typeof window.PaymentEC === 'object') { window.PaymentEC.getCheckoutData = getCheckoutData; } document.addEventListener('dj.variantChange', (data) => refreshEC(data, 'variantChange')); document.addEventListener('payment_ec_refresh', (data) => refreshEC(data, data?.detail?.sources)); refreshEC({}, 'init'); } if (isAllowTheme()) { blockChannelHandler(); // æć‰ćŠ èœœ fillyïŒšćŠ‚æžœ DOM ć·Čç»ć‡†ć€‡ć„œïŒŒç«‹ćłćŠ èœœïŒ›ćŠćˆ™ćœš DOMContentLoaded æ—¶ćŠ èœœ // äœżç”š DOMContentLoaded æ›żä»Ł load äș‹ä»¶ïŒŒæć‰ćŠ èœœæ—¶æœșïŒˆæŻ” window.load 曎早 if (document.readyState === 'complete' || document.readyState === 'interactive') { getFilly(); } else if (document.readyState === 'loading') { document.addEventListener('DOMContentLoaded', getFilly, {once: true}); } else { // 慜ćș•ïŒšćŠ‚æžœ readyState æœȘçŸ„ïŒŒç«‹ćłćŠ èœœ getFilly(); } } } dom.startFn = start; document.dispatchEvent(new CustomEvent('payment_ec_core_ready', { detail: { start: true } })) } catch (e) { console.log(e); } // éą„è§ˆæšĄćŒ try { const dom = document.getElementById('pm-payment-express-button-1651799308132-8'); function start() { const {track} = dom.commonUtils; const {showMoreButton, getMoreButtonConfig} = dom.renderMoreUtils; const { showECButtonHandler, getECConfig, blockChannelHandler, isAllowTheme, getThemeFormData } = dom.businessUtils; const { disabledThemTips, showChannelNotOpenTips, showSkeletonLayerTips, showMockTips, notFindFormTips } = dom.renderTipsUtils; const {mockAddChildrenDOM, resetRenderDOM} = dom.commonRenderUtils; const { channelEnums, getChannelThemeConfig, getExpressCheckoutList, getOpenChannelType } = dom.coreData; const mockDomId = { [channelEnums.PAYPAL]: channelEnums.PAYPAL, [channelEnums.SHOPLAZZA_GOOGLE]: channelEnums.SHOPLAZZA_GOOGLE, [channelEnums.SHOPLAZZA_APPLE]: channelEnums.SHOPLAZZA_APPLE, [channelEnums.STRIPE_GOOGLE]: channelEnums.STRIPE_GOOGLE, [channelEnums.STRIPE_APPLE]: channelEnums.STRIPE_APPLE, } const renderNotOpenTips = () => { const {blockChannelList, paymentChannelList} = getExpressCheckoutList(); const notOpenChannel = blockChannelList.filter(ecName => !paymentChannelList.includes(ecName)); showChannelNotOpenTips(notOpenChannel); } const renderMockTips = () => { const {hasApplepay, hasGooglepay} = getOpenChannelType(); if (hasApplepay || hasGooglepay) { showMockTips(); } } const renderEC = () => { showECButtonHandler(); const {showChannelList} = getExpressCheckoutList(); const {firstClick, maxSize} = getMoreButtonConfig(); if (showChannelList.length === 0) { showMoreButton(renderEC); } showChannelList.forEach((ecName, index) => { const disableShow = firstClick && index >= maxSize; mockAddChildrenDOM(mockDomId[ecName], !disableShow, getChannelThemeConfig(ecName)); showMoreButton(renderEC); }); } async function loadEC() { const date = new Date().getTime(); dom.loadEC_timestamp = date const ecConfig = await getECConfig(); if (date !== dom.loadEC_timestamp) { return; } const expressCheckoutList = getExpressCheckoutList(); track('preview-loadEC', expressCheckoutList); resetRenderDOM(); // ćˆć§‹ćŒ–æ—¶æČĄæœ‰äș‹ä»¶æŽšé€ if (ecConfig) { renderNotOpenTips(); renderEC(); renderMockTips(); } } const init = () => { blockChannelHandler(); const {blockChannelList} = getExpressCheckoutList(); if (!isAllowTheme()) { disabledThemTips() return; } const themeFormData = getThemeFormData?.() || {}; if (!themeFormData?.product_id || !themeFormData?.variant_id) { notFindFormTips(); return; } if (blockChannelList.length > 0) { loadEC(); } else { showSkeletonLayerTips() } } init(); } dom.mockStartFn = start; document.dispatchEvent(new CustomEvent('payment_ec_core_ready', { detail: { start: true } })) } catch (e) { } try { const dom = document.getElementById('pm-payment-express-button-1651799308132-8'); window.PaymentEC = {} const delayCallback = (cb) => { window.requestIdleCallback ? requestIdleCallback(cb, {timeout: 50}) : setTimeout(cb, 50); } const checkReady = function (data) { const { i18n, commonUtilsFn, coreDataFn, businessUtilsFn, commonRenderUtilsFn, renderTipsUtilsFn, renderMoreUtilsFn, startFn, mockStartFn } = dom let readyData = { commonUtils: !!(commonUtilsFn) || false, coreData: !!(coreDataFn) || false, businessUtils: !!(businessUtilsFn) || false, commonRenderUtils: !!(commonRenderUtilsFn) || false, renderTipsUtils: !!(renderTipsUtilsFn) || false, renderMoreUtils: !!(renderMoreUtilsFn) || false, start: !!(startFn) || false, mockStart: !!(mockStartFn) || false, i18n: !!(i18n) || false } if (data?.detail) { Object.keys(data.detail).forEach(key => { readyData[key] = data.detail[key] }) } let isReady = true; Object.keys(readyData).forEach(key => { if (!readyData[key]) { isReady = false } }) return isReady } const readyFn = () => { if (!checkReady()) { return; } document.removeEventListener('payment_ec_core_ready', readyFn); dom.commonUtils = dom.commonUtilsFn(); dom.coreData = dom.coreDataFn(); dom.businessUtils = dom.businessUtilsFn(); dom.commonRenderUtils = dom.commonRenderUtilsFn(); dom.renderTipsUtils = dom.renderTipsUtilsFn(); dom.renderMoreUtils = dom.renderMoreUtilsFn(); const productData = dom?.commonUtils?.getProduct?.() || {}; if (JSON.stringify(productData) === '{}') { return; } if (dom?.commonUtils?.isPreview()) { dom.mockStartFn() } else { dom.startFn(); } } const init = () => { if (checkReady()) { readyFn(); } else { document.addEventListener('payment_ec_core_ready', readyFn) } } // äœżç”š DOMContentLoaded æ›żä»Ł window.loadïŒŒæć‰ćˆć§‹ćŒ–æ—¶æœș䞎 filly ćŠ èœœé€»èŸ‘äž€è‡ŽïŒ‰ if (document.readyState === 'complete' || document.readyState === 'interactive') { delayCallback(init); } else if (document.readyState === 'loading') { document.addEventListener('DOMContentLoaded', () => delayCallback(init), {once: true}); } else { // 慜ćș•ïŒšćŠ‚æžœ readyState æœȘçŸ„ïŒŒç«‹ćłæ‰§èĄŒ delayCallback(init); } } catch (e) { }
/** @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-1651799308132').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);
Free worldwide shipping
Free returns
Sustainably made
Secure payments
Share the love
Description

đŸ”„Hot sale! Only a small amount of stock left, if you want, please buy it!

COIN HIGHLIGHTS:

  • AMERICA’S MOST POPULAR COIN 
  • STRUCK IN GLEAMING AMERICAN SILVER 
  • LEGAL TENDER 
  • EXTREMELY FINE CONDITION
  • Struck from 1878 to 1921!
  • Obverse features the effigy of Liberty.
  • Reverse includes the American bald eagle.
  • THE CASE OF THE DISAPPEARING MORGANS – While millions of Morgan Silver Dollars were struck from 1878 through 1921, massive silver meltings and the ravages of time have taken their toll. Today coin experts believe that only 15% of all Morgans ever struck remain in existence.
 
The Morgan Silver Dollar is one of the most significant, historic American coins. Introduced in 1878, the Morgan Silver Dollar represented a return to silver dollar coining in the US after a brief hiatus. The design for the coin was created by a British man named George T. Morgan who had come to the US from the Royal Mint in Britain on a trial basis. Right now, Morgan Silver Dollar Coins are available to purchase online.

Each of the Morgan Silver Dollar Coins offered by us in this product listing is available to you in Mint State 66 condition from either the PCGS or NGC. Coins in Mint State 66 condition are five grades below the perfect grade of 70 on the Sheldon numeric scale. A coin with an MS66 certification has minimal, but apparent, detracting marks or hairlines.

The Morgan Silver Dollar debuted in 1878 with a design from George T. Morgan. At the time of its introduction, the Morgan Silver Dollar represented a return to silver dollar coining in the United States after it was halted in 1873. The Bland-Allison Act of 1873 brought an end to the free coining of silver in the US at the United States Mint, and a subsequent stop to silver dollars altogether.

On the obverse of the Morgan Silver Dollar is the left-profile portrait of Liberty. This design of Liberty that was created by Morgan is said to reflect the figure of Anna Willess Williams, who sat through numerous sessions with Morgan to complete the portrait of Liberty. Included on this face is the year of issue and the word “Liberty.”

The reverse of all Morgan Silver Dollar coins includes a design of the bald eagle also created by Morgan. The eagle is similar to the heraldic eagle, but lacks the shield commonly used in that design. Included in this design of the eagle is a bird with wings spread wide as it clutches the arrows of war and the olive branch of peace.


Your complete collection of Morgan Silver Dollars will include every year of issue (from 1878 through 1904 and then for one last time in 1921), with at least one coin from each of the five U.S. mints that produced them.

The coins in this complete collection are almost all now over 100 years old, and together weigh in at nearly two troy pounds of precious silver!

Each Morgan Silver Dollar is presented in circulated condition with most major design details visible, and is protected in an archival crystal-clear case that allows for easy and safe viewing of both sides.

Year: 1878 to 1921
Grade: Choice BU
Strike Type: Business
Denomination: $1.00
Mint Location: “S” – San Francisco
Metal Content: 0.7734 troy oz
Manufacturer: US Mint
Thickness: 3.1 mm
Diameter: 38.1 mm

Because the NGC Coin Rating Standard of the 1881 Morgan coin is higher than other coins, 1881 is worth collecting and investing.

Click ADD TO CART To Order Yours Now! 

100% Satisfaction Guaranteed With Every Order.

Our product is the same as these pictures. If you do not like when you get, we can give you a refund anytime.

OUR GUARANTEE

  • We truly believe we carry some of the most innovative products in the world, and we want to make sure we back that up with a risk-free ironclad 90-day guarantee.
  • If you don't have a positive experience for ANY reason, we will do WHATEVER it takes to make sure you are 100% satisfied with your purchase.
  • Buying items online can be a daunting task, so we want you to realize that there are absolute ZERO risks in buying something and trying it out. If you don't like it, no hard feelings we'll make it right.
  • We have 24/7/365 Ticket and Email Support. Please contact us if you need assistance.