CINXE.COM
Seller Community - US - The Seller Community
<!DOCTYPE html><html prefix="og: http://ogp.me/ns#" dir="ltr" lang="en" class="no-js"> <head> <title> Seller Community - US - The Seller Community </title> <script src="https://static.ada.support/embed.97968904.min.js" charset="utf-8"></script> <link rel="stylesheet" href="/html/assets/jquery-ui.css"> <link rel="alternate" hreflang="x-default" href="https://www.sellercommunity.com/t5/Seller-Community-Global/ct-p/Seller_Community_Global"> <link rel="alternate" hreflang="en-us" href="https://www.sellercommunity.com/t5/Seller-Community-US/ct-p/Seller_Community_US"> <link rel="alternate" hreflang="es-us" href="https://www.sellercommunity.com/t5/Seller-Community-US-ES/ct-p/Seller_Community_US-ES"> <link rel="alternate" hreflang="en-ca" href="https://www.sellercommunity.com/t5/Seller-Community-Canada/ct-p/Seller_Community_CA"> <link rel="alternate" hreflang="en-gb" href="https://www.sellercommunity.com/t5/Seller-Community-UK/ct-p/Seller_Community_UK"> <link rel="alternate" hreflang="es-es" href="https://www.sellercommunity.com/t5/Comunidad-Square/ct-p/comunidad-square"> <link rel="alternate" hreflang="ja-jp" href="https://www.sellercommunity.com/t5/Seller-Community-Japan/ct-p/Seller_Community_JA"> <link rel="alternate" hreflang="en-au" href="https://www.sellercommunity.com/t5/Seller-Community-Australia/ct-p/Seller_Community_AU"> <link rel="alternate" hreflang="fr-fr" href="https://www.sellercommunity.com/t5/La-Communaute-Square/ct-p/Communaute-Square"> <link rel="alternate" hreflang="en-ie" href="https://www.sellercommunity.com/t5/Square-Ireland-Seller-Community/ct-p/Seller_Community_IE"> <script src="https://cdn.cookielaw.org/scripttemplates/otSDKStub.js" type="text/javascript" charset="UTF-8" data-domain-script="7e77cb5e-a78b-422d-847e-a15abc23935e"></script> <script src="https://xms-production-f.squarecdn.com/static/cookie-compliance/SqOneTrust.js"></script> <script type="text/javascript"> function OptanonWrapper() { globalThis.OneTrust.OnConsentChanged(function() { console.log(OnetrustActiveGroups) if(!OnetrustActiveGroups.split(',').includes('C0004')){ location.reload(); } }); } </script> <script src="https://martech-production-c.squarecdn.com/data-api.js" type="text/javascript" async></script> <meta content="width=device-width, initial-scale=1.0" name="viewport"/><meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/><link href="https://www.sellercommunity.com/t5/Seller-Community-US/ct-p/Seller_Community_US" rel="canonical"/> <meta content="Square Seller Community" property="og:site_name"/><meta content="website" property="og:type"/><meta content="https://www.sellercommunity.com/t5/Seller-Community-US/ct-p/Seller_Community_US" property="og:url"/><meta content="" property="og:description"/><meta content="Seller Community - US" property="og:title"/> <link class="lia-link-navigation hidden live-links" title="New board topics in Seller Community - US" type="application/rss+xml" rel="alternate" id="link" href="/imgfg46729/rss/Category?category.id=Seller_Community_US&interaction.style=forum"></link> <link class="lia-link-navigation hidden live-links" title="All board posts in Seller Community - US" type="application/rss+xml" rel="alternate" id="link_0" href="/imgfg46729/rss/Category?category.id=Seller_Community_US&interaction.style=forum&feeds.replies=true"></link> <link class="lia-link-navigation hidden live-links" title="New knowledge base articles in Seller Community - US" type="application/rss+xml" rel="alternate" id="link_1" href="/imgfg46729/rss/Category?category.id=Seller_Community_US&interaction.style=tkb"></link> <link class="lia-link-navigation hidden live-links" title="All knowledge base posts in Seller Community - US" type="application/rss+xml" rel="alternate" id="link_2" href="/imgfg46729/rss/Category?category.id=Seller_Community_US&interaction.style=tkb&feeds.replies=true"></link> <link class="lia-link-navigation hidden live-links" title="New blog articles in Seller Community - US" type="application/rss+xml" rel="alternate" id="link_3" href="/imgfg46729/rss/Category?category.id=Seller_Community_US&interaction.style=blog"></link> <link class="lia-link-navigation hidden live-links" title="All blog posts in Seller Community - US" type="application/rss+xml" rel="alternate" id="link_4" href="/imgfg46729/rss/Category?category.id=Seller_Community_US&interaction.style=blog&feeds.replies=true"></link> <link class="lia-link-navigation hidden live-links" title="New idea exchange ideas in Seller Community - US" type="application/rss+xml" rel="alternate" id="link_5" href="/imgfg46729/rss/Category?category.id=Seller_Community_US&interaction.style=idea"></link> <link class="lia-link-navigation hidden live-links" title="All idea exchange posts in Seller Community - US" type="application/rss+xml" rel="alternate" id="link_6" href="/imgfg46729/rss/Category?category.id=Seller_Community_US&interaction.style=idea&feeds.replies=true"></link> <link class="lia-link-navigation hidden live-links" title="New contest entry in Seller Community - US" type="application/rss+xml" rel="alternate" id="link_7" href="/imgfg46729/rss/Category?category.id=Seller_Community_US&interaction.style=contest"></link> <link class="lia-link-navigation hidden live-links" title="All contest posts in Seller Community - US" type="application/rss+xml" rel="alternate" id="link_8" href="/imgfg46729/rss/Category?category.id=Seller_Community_US&interaction.style=contest&feeds.replies=true"></link> <link class="lia-link-navigation hidden live-links" title="New Products" type="application/rss+xml" rel="alternate" id="link_9" href="/imgfg46729/rss/Category?category.id=Seller_Community_US&interaction.style=review"></link> <link class="lia-link-navigation hidden live-links" title="All Reviews and Comments" type="application/rss+xml" rel="alternate" id="link_10" href="/imgfg46729/rss/Category?category.id=Seller_Community_US&interaction.style=review&feeds.replies=true"></link> <link class="lia-link-navigation hidden live-links" title="rss.livelink.threads-in-node@place:occasion" type="application/rss+xml" rel="alternate" id="link_11" href="/imgfg46729/rss/Category?category.id=Seller_Community_US&interaction.style=occasion"></link> <link class="lia-link-navigation hidden live-links" title="rss.livelink.posts-in-node@place:occasion" type="application/rss+xml" rel="alternate" id="link_12" href="/imgfg46729/rss/Category?category.id=Seller_Community_US&interaction.style=occasion&feeds.replies=true"></link> <link class="lia-link-navigation hidden live-links" title="New media posts in Seller Community - US" type="application/rss+xml" rel="alternate" id="link_13" href="/imgfg46729/rss/Category?category.id=Seller_Community_US&interaction.style=media"></link> <link class="lia-link-navigation hidden live-links" title="All media posts in Seller Community - US" type="application/rss+xml" rel="alternate" id="link_14" href="/imgfg46729/rss/Category?category.id=Seller_Community_US&interaction.style=media&feeds.replies=true"></link> <link href="/skins/6578909/932ccc81f07c01ac32bc01213a6aa1cf/square_responsive_2021.css" rel="stylesheet" type="text/css"/> <link rel="shortcut icon" href="https://www.sellercommunity.com/html/@64E716F57FD4C02603089B77B61F1E30/assets/favicon-latest.ico"> <style> .Message--is-owned-by-user .Message__body { background-color: #e8e8eb !important; } #lia-body button.ada-chat-button { background-image: url(/html/assets/avatar.svg) !important; background-color: #fff !important; background-size: 40px !important; width: 156px !important; height: 50px !important; border-radius: 50px !important; padding: 5px 15px 5px 6px!important; background-position: 5px 4.25px !important; box-shadow: 0px 1px 8px rgba(0,0,0,.18) !important; } .ada-chat-button:before { content: "Questions\003f"; position: absolute; top: 8px; left: 51px; font-size: 16px; color: #3B4759 !important; font-weight:500; line-height:32px; } .ada-chat-button:hover:after { background-color: transparent !important; border: 0px solid rgba(0,0,0,0.05) !important; } #lia-body button.ada-chat-button:hover, #lia-body button.ada-chat-button:focus{ box-shadow:0px 1px 8px rgba(0,0,0,.30) !important; } body .ada-chat-button:after{ border: 0px solid rgba(0,0,0,0.05) !important; background-color:transparent !important; } #lia-body button.ada-chat-button:hover, #lia-body button.ada-chat-button:focus{outline:0 !important;} #lia-body.SearchPage .lia-summary-view-statistic-post-date::before { content: "Posted"; font-family:"Square Market",Helvetica,Arial,sans-serif; width:auto; color:#b8b8b8; } #lia-body.SearchPage .lia-summary-view-statistic-registration-date::before { content: "Joined"; font-family:"Square Market",Helvetica,Arial,sans-serif; width:auto; color:#b8b8b8; } </style> <!-- Facebook Pixel Code --> <script type="text/plain" class="optanon-category-C0004"> !function(f,b,e,v,n,t,s) {if(f.fbq)return;n=f.fbq=function(){n.callMethod? n.callMethod.apply(n,arguments):n.queue.push(arguments)}; if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0'; n.queue=[];t=b.createElement(e);t.async=!0; t.src=v;s=b.getElementsByTagName(e)[0]; s.parentNode.insertBefore(t,s)}(window, document,'script', 'https://connect.facebook.net/en_US/fbevents.js'); fbq('init', '816297701715444'); fbq('track', 'PageView'); </script> <noscript><img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=816297701715444&ev=PageView&noscript=1" /></noscript> <!-- End Facebook Pixel Code --> <!-- Google Tag Manager --> <script type="text/plain" class="optanon-category-C0004">(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-5FRXX9P');</script> <!-- End Google Tag Manager --> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.css" /> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js"></script> <div class="locale-check-modal"> </div> <script type="text/javascript" src="/t5/scripts/9D1BFA511D5C858CFD8C4215C53E4C07/lia-scripts-head-min.js"></script><script language="javascript" type="text/javascript"> <!-- LITHIUM.PrefetchData = {"Components":{},"commonResults":{}}; LITHIUM.DEBUG = false; LITHIUM.CommunityJsonObject = { "Validation" : { "image.description" : { "min" : 0, "max" : 1000, "isoneof" : [ ], "type" : "string" }, "tkb.toc_maximum_heading_level" : { "min" : 1, "max" : 6, "isoneof" : [ ], "type" : "integer" }, "tkb.toc_heading_list_style" : { "min" : 0, "max" : 50, "isoneof" : [ "disc", "circle", "square", "none" ], "type" : "string" }, "blog.toc_maximum_heading_level" : { "min" : 1, "max" : 6, "isoneof" : [ ], "type" : "integer" }, "tkb.toc_heading_indent" : { "min" : 5, "max" : 50, "isoneof" : [ ], "type" : "integer" }, "blog.toc_heading_indent" : { "min" : 5, "max" : 50, "isoneof" : [ ], "type" : "integer" }, "blog.toc_heading_list_style" : { "min" : 0, "max" : 50, "isoneof" : [ "disc", "circle", "square", "none" ], "type" : "string" } }, "User" : { "settings" : { "imageupload.legal_file_extensions" : "*.jpg;*.JPG;*.jpeg;*.JPEG;*.gif;*.GIF;*.png;*.PNG;*.bmp;*.tiff", "config.enable_avatar" : true, "integratedprofile.show_klout_score" : true, "layout.sort_view_by_last_post_date" : true, "layout.friendly_dates_enabled" : true, "profileplus.allow.anonymous.scorebox" : false, "tkb.message_sort_default" : "topicPublishDate", "layout.format_pattern_date" : "MM-dd-yyyy", "config.require_search_before_post" : "off", "isUserLinked" : false, "integratedprofile.cta_add_topics_dismissal_timestamp" : -1, "layout.message_body_image_max_size" : 1000, "profileplus.everyone" : false, "integratedprofile.cta_connect_wide_dismissal_timestamp" : -1, "blog.toc_maximum_heading_level" : "", "integratedprofile.hide_social_networks" : false, "blog.toc_heading_indent" : "", "contest.entries_per_page_num" : 20, "layout.messages_per_page_linear" : 10, "integratedprofile.cta_manage_topics_dismissal_timestamp" : -1, "profile.shared_profile_test_group" : false, "integratedprofile.cta_personalized_feed_dismissal_timestamp" : -1, "integratedprofile.curated_feed_size" : 10, "contest.one_kudo_per_contest" : false, "integratedprofile.enable_social_networks" : false, "integratedprofile.my_interests_dismissal_timestamp" : -1, "profile.language" : "en", "layout.friendly_dates_max_age_days" : 31, "layout.threading_order" : "thread_ascending", "blog.toc_heading_list_style" : "disc", "useRecService" : false, "layout.module_welcome" : "", "imageupload.max_uploaded_images_per_upload" : 6, "imageupload.max_uploaded_images_per_user" : 1000, "integratedprofile.connect_mode" : "", "tkb.toc_maximum_heading_level" : "", "tkb.toc_heading_list_style" : "disc", "sharedprofile.show_hovercard_score" : true, "config.search_before_post_scope" : "community", "tkb.toc_heading_indent" : "", "p13n.cta.recommendations_feed_dismissal_timestamp" : -1, "imageupload.max_file_size" : 10024, "layout.show_batch_checkboxes" : false, "integratedprofile.cta_connect_slim_dismissal_timestamp" : -1 }, "isAnonymous" : true, "policies" : { "image-upload.process-and-remove-exif-metadata" : true }, "registered" : false, "emailRef" : "", "id" : -1, "login" : "Anonymous" }, "Server" : { "communityPrefix" : "/imgfg46729", "nodeChangeTimeStamp" : 1732580531834, "tapestryPrefix" : "/t5", "deviceMode" : "DESKTOP", "responsiveDeviceMode" : "DESKTOP", "membershipChangeTimeStamp" : "0", "version" : "24.8", "branch" : "24.8-release", "showTextKeys" : false }, "Config" : { "phase" : "prod", "integratedprofile.cta.reprompt.delay" : 30, "profileplus.tracking" : { "profileplus.tracking.enable" : false, "profileplus.tracking.click.enable" : false, "profileplus.tracking.impression.enable" : false }, "app.revision" : "2410251442-s96644fcabc-b95", "navigation.manager.community.structure.limit" : "1000" }, "Activity" : { "Results" : [ { "name" : "UserUpdated", "user" : { "uid" : -1, "login" : "Anonymous" } } ] }, "NodeContainer" : { "viewHref" : "https://www.sellercommunity.com/t5/Seller-Community-US/ct-p/Seller_Community_US", "description" : "", "id" : "Seller_Community_US", "shortTitle" : "US Seller Community", "title" : "Seller Community - US", "nodeType" : "category" }, "Page" : { "skins" : [ "square_responsive_2021", "responsive_peak" ], "authUrls" : { "loginUrl" : "/plugins/common/feature/oauth2sso/sso_login_redirect?referer=https%3A%2F%2Fwww.sellercommunity.com%2Ft5%2FSeller-Community-US%2Fct-p%2FSeller_Community_US", "loginUrlNotRegistered" : "/plugins/common/feature/oauth2sso/sso_login_redirect?redirectreason=notregistered&referer=https%3A%2F%2Fwww.sellercommunity.com%2Ft5%2FSeller-Community-US%2Fct-p%2FSeller_Community_US", "loginUrlNotRegisteredDestTpl" : "/plugins/common/feature/oauth2sso/sso_login_redirect?redirectreason=notregistered&referer=%7B%7BdestUrl%7D%7D" }, "name" : "CategoryPage", "rtl" : false, "object" : { "viewHref" : "/t5/Seller-Community-US/ct-p/Seller_Community_US", "id" : "Seller_Community_US", "page" : "CategoryPage", "type" : "Category" } }, "WebTracking" : { "Activities" : { }, "path" : "Community:Home/Category:US Seller Community" }, "Feedback" : { "targeted" : { } }, "Seo" : { "markerEscaping" : { "pathElement" : { "prefix" : "@", "match" : "^[0-9][0-9]$" }, "enabled" : false } }, "TopLevelNode" : { "viewHref" : "https://www.sellercommunity.com/", "description" : "", "id" : "imgfg46729", "shortTitle" : "Home", "title" : "The Seller Community", "nodeType" : "Community" }, "Community" : { "viewHref" : "https://www.sellercommunity.com/", "integratedprofile.lang_code" : "en", "integratedprofile.country_code" : "US", "id" : "imgfg46729", "shortTitle" : "Home", "title" : "The Seller Community" }, "CoreNode" : { "viewHref" : "https://www.sellercommunity.com/t5/Seller-Community-US/ct-p/Seller_Community_US", "settings" : { }, "description" : "", "id" : "Seller_Community_US", "shortTitle" : "US Seller Community", "title" : "Seller Community - US", "nodeType" : "category", "ancestors" : [ { "viewHref" : "https://www.sellercommunity.com/", "description" : "", "id" : "imgfg46729", "shortTitle" : "Home", "title" : "The Seller Community", "nodeType" : "Community" } ] } }; LITHIUM.Components.RENDER_URL = "/t5/util/componentrenderpage/component-id/#{component-id}?render_behavior=raw"; LITHIUM.Components.ORIGINAL_PAGE_NAME = 'community/CategoryPage'; LITHIUM.Components.ORIGINAL_PAGE_ID = 'CategoryPage'; LITHIUM.Components.ORIGINAL_PAGE_CONTEXT = 'hfTETmmHhSxj9VBYhDmPkK5mPK_F6j_0qm-a5KQadFcGuOpP5HEa7xa85r7x6Vh6O31m_mzkm2fKkIT4rmvpww-9sxfavKYAIg3IBLTVYoQp_IE8L1gtjCCUK-aR5BrnbWE5XNwGtWt-l5KRRghqVNKI7-DZICVsl2VZ6sR1Jqs7XDyQU2Y3RTcb9IDJ9yvsIgZhSAdF33hpWf_aAGS6kSen6JMwVfb1XXtw0OtiBaBPAKhRYvOSqIL5_xkUYQ7ABvEcsQqJj4KqZqD9cj5nMuZb1Pk131CrEmEuyVkmyIqnN-I1H-f5sYdYJYti5d1iMNYRnce1kUWgksF5Cx7Ai1SI31Vcm21sJwfFMiSQJTQ.'; LITHIUM.Css = { "BASE_DEFERRED_IMAGE" : "lia-deferred-image", "BASE_BUTTON" : "lia-button", "BASE_SPOILER_CONTAINER" : "lia-spoiler-container", "BASE_TABS_INACTIVE" : "lia-tabs-inactive", "BASE_TABS_ACTIVE" : "lia-tabs-active", "BASE_AJAX_REMOVE_HIGHLIGHT" : "lia-ajax-remove-highlight", "BASE_FEEDBACK_SCROLL_TO" : "lia-feedback-scroll-to", "BASE_FORM_FIELD_VALIDATING" : "lia-form-field-validating", "BASE_FORM_ERROR_TEXT" : "lia-form-error-text", "BASE_FEEDBACK_INLINE_ALERT" : "lia-panel-feedback-inline-alert", "BASE_BUTTON_OVERLAY" : "lia-button-overlay", "BASE_TABS_STANDARD" : "lia-tabs-standard", "BASE_AJAX_INDETERMINATE_LOADER_BAR" : "lia-ajax-indeterminate-loader-bar", "BASE_AJAX_SUCCESS_HIGHLIGHT" : "lia-ajax-success-highlight", "BASE_CONTENT" : "lia-content", "BASE_JS_HIDDEN" : "lia-js-hidden", "BASE_AJAX_LOADER_CONTENT_OVERLAY" : "lia-ajax-loader-content-overlay", "BASE_FORM_FIELD_SUCCESS" : "lia-form-field-success", "BASE_FORM_WARNING_TEXT" : "lia-form-warning-text", "BASE_FORM_FIELDSET_CONTENT_WRAPPER" : "lia-form-fieldset-content-wrapper", "BASE_AJAX_LOADER_OVERLAY_TYPE" : "lia-ajax-overlay-loader", "BASE_FORM_FIELD_ERROR" : "lia-form-field-error", "BASE_SPOILER_CONTENT" : "lia-spoiler-content", "BASE_FORM_SUBMITTING" : "lia-form-submitting", "BASE_EFFECT_HIGHLIGHT_START" : "lia-effect-highlight-start", "BASE_FORM_FIELD_ERROR_NO_FOCUS" : "lia-form-field-error-no-focus", "BASE_EFFECT_HIGHLIGHT_END" : "lia-effect-highlight-end", "BASE_SPOILER_LINK" : "lia-spoiler-link", "FACEBOOK_LOGOUT" : "lia-component-users-action-logout", "BASE_DISABLED" : "lia-link-disabled", "FACEBOOK_SWITCH_USER" : "lia-component-admin-action-switch-user", "BASE_FORM_FIELD_WARNING" : "lia-form-field-warning", "BASE_AJAX_LOADER_FEEDBACK" : "lia-ajax-loader-feedback", "BASE_AJAX_LOADER_OVERLAY" : "lia-ajax-loader-overlay", "BASE_LAZY_LOAD" : "lia-lazy-load" }; LITHIUM.noConflict = true; LITHIUM.useCheckOnline = false; LITHIUM.RenderedScripts = [ "OoyalaPlayer.js", "jquery.ui.widget.js", "Sandbox.js", "PolyfillsAll.js", "DataHandler.js", "ForceLithiumJQuery.js", "jquery.fileupload.js", "jquery.position-toggle-1.0.js", "jquery.ui.draggable.js", "jquery.ajax-cache-response-1.0.js", "jquery.ui.core.js", "Cache.js", "jquery.js", "Lithium.js", "jquery.hoverIntent-r6.js", "jquery.iframe-transport.js", "jquery.delayToggle-1.0.js", "jquery.viewport-1.0.js", "jquery.ui.mouse.js", "jquery.json-2.6.0.js", "jquery.css-data-1.0.js", "jquery.appear-1.1.1.js", "Forms.js", "InformationBox.js", "LiModernizr.js", "jquery.function-utils-1.0.js", "NoConflict.js", "Loader.js", "jquery.scrollTo.js", "Components.js", "Auth.js", "prism.js", "PolyfillsOld.js", "json2.js", "jquery.effects.slide.js", "ElementMethods.js", "jquery.ui.position.js", "Link.js", "jquery.effects.core.js", "Globals.js", "jquery.tmpl-1.1.1.js", "jquery.blockui.js", "Text.js", "ActiveCast3.js", "DeferredImages.js", "UserNavigation2.js", "SpoilerToggle.js", "Events.js", "Video.js", "PartialRenderProxy.js", "Namespace.js", "jquery.iframe-shim-1.0.js", "AjaxSupport.js", "UserListActual.js", "Throttle.js", "jquery.clone-position-1.0.js", "ResizeSensor.js", "jquery.lithium-selector-extensions.js", "jquery.ui.dialog.js", "ElementQueries.js", "jquery.ui.resizable.js" ];// --> </script><script type="text/javascript" src="/t5/scripts/D60EB96AE5FF670ED274F16ABB044ABD/lia-scripts-head-min.js"></script></head> <body class="lia-user-status-anonymous CategoryPage lia-body" id="lia-body"> <div id="518-188-7" class="ServiceNodeInfoHeader"> </div> <div class="lia-page"> <center> <!-- Google Tag Manager (noscript) --> <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-5FRXX9P" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> <!-- End Google Tag Manager (noscript) --> <script src="https://code.jquery.com/jquery-3.5.1.min.js"></script> <meta name="twitter:card" content="summary" /> <meta name="twitter:image" content="https://www.sellercommunity.com/html/@BB2D50D43AB3AC438D7DEF7A218EA920/assets/social_media_preview.png" /> <script> if (!String.prototype.includes) { String.prototype.includes = function (str) { return this.indexOf(str) !== -1; } } /* Paginnation Script */ window.pagination_var = function(totalResults, show_per_page, PagerNumber, Classname){ var paginationHtml = ''; var number_of_pages = Math.ceil(totalResults/show_per_page); var _pagesCurrent = parseInt(PagerNumber); var current_link = 0; if(number_of_pages>1 && _pagesCurrent>1){ var activeClass= "page_link actArrow "+Classname+"_page"; }else{ var activeClass= "deactArrow"; } if(number_of_pages>1){ var PreLink = _pagesCurrent-1; paginationHtml += '<a class="jp-previous arrow '+activeClass+'" data="'+ PreLink +'" id="jp-previous" href="javascript:void(0)">Previous</a>'; } while(number_of_pages > current_link){ var pageNumActive = current_link + 1; paginationHtml += '<a class="page_link '+Classname+'_page" data="'+ pageNumActive +'" id="'+ Classname +'_'+ pageNumActive +'" href="javascript:void(0)">'+ pageNumActive +'</a>'; current_link++; } if(number_of_pages>1 && _pagesCurrent<(number_of_pages)){ var activeClass= "page_link actArrow "+Classname+"_page"; }else{ var activeClass= "deactArrow"; } if(number_of_pages>1){ var NextLink = _pagesCurrent+1; paginationHtml += '<a class="jp-next arrow '+activeClass+'" data="'+ NextLink +'" id="jp-next" href="javascript:void(0)">Next</a>'; } $('.'+Classname).html(paginationHtml); $('#'+Classname+'_'+parseInt(PagerNumber)).addClass( 'active' ); if(number_of_pages == 1){ $('.'+Classname).hide() } else{ $('.'+Classname).show() } var _bulletsCenter = 3; var _bulletsSide = 2; var _bullets = $('.'+Classname).children(); _bullets.removeClass( 'hidden' ).remove( 'ellipsis' ); //console.log("working"); if (number_of_pages > _bulletsCenter + (_bulletsSide * 2) + 2) { console.log("bworking"); if (_pagesCurrent < Math.floor(_bulletsCenter / 2) + _bulletsSide + 2) { var start = _bulletsSide + _bulletsCenter + 1; var end = number_of_pages - _bulletsSide - 1; hideBullets( _bullets, start, end ); _bullets.eq( end ).before('<span class="ellipsis_before">...</span>'); //console.log("working1"); } else if (_pagesCurrent > number_of_pages - (Math.ceil(_bulletsCenter / 2) + _bulletsSide) - 2) { var start = _bulletsSide + 1; var end = number_of_pages - (_bulletsSide + _bulletsCenter + 1); hideBullets( _bullets, start, end ); _bullets.eq( start - 1 ).after('<span class="ellipsis">...</span>'); //console.log("working2"); } else { var start = _bulletsSide + 1; var end = _pagesCurrent - Math.floor(_bulletsCenter / 2); hideBullets( _bullets, start, end ); _bullets.eq( start - 1 ).after('<span class="ellipsis">...</span>'); var _pagesCurrent = parseInt(_pagesCurrent); var math_start = parseInt(Math.ceil(_bulletsCenter / 2)); var start = _pagesCurrent + math_start; var end = number_of_pages - (_bulletsSide - 1); hideBullets( _bullets, start, end ); _bullets.eq( start - 1 ).after('<span class="ellipsis">...</span>'); console.log("working3"); } } //console.log("retunhtml"); return paginationHtml; } window.hideBullets = function( bullets, start, end ) { for ( var a = start; a < end; a++ ) { bullets.eq( a ).addClass( 'hidden' ); } } </script> <style> #lia-body .lia-quilt-idea-page .lia-message-view-idea-message .lia-byline-wrapper, #lia-body .lia-quilt-idea-page .lia-idea-page-status-change, #lia-body .lia-quilt-idea-page .lia-component-status-change-form { display: none; } </style> <div class="MinimumWidthContainer"> <div class="min-width-wrapper"> <div class="min-width"> <div class="lia-content"> <div class="lia-browser-support-alert"> <div class="lia-browser-support-alert-text"> We no longer support Internet Explorer v10 and older, or you have compatibility view enabled. Disable Compatibility view, upgrade to a newer version, or use a different browser. </div> <div class="lia-browser-support-alert-close"> <a class="lia-link-navigation lia-link-ticket-post-action" data-lia-action-token="1kqZL5Hy5ZJmpMyBgk00nYgULrkj6U_a2B8eQd-ZLbE." rel="nofollow" id="dismissAlert" href="https://www.sellercommunity.com/t5/community/categorypage.liabase.basebody.browsersupportalert.dismissalert:dismissalert?t:ac=category-id/Seller_Community_US"><span class="lia-img-close-small lia-fa-close lia-fa-small lia-fa" title="Dismiss this alert" alt="Dismiss this alert" aria-label="Dismiss this alert" role="img" id="display"></span></a> </div> </div> <div class="lia-quilt lia-quilt-category-page-country-home lia-quilt-layout-one-column lia-top-quilt"> <div class="lia-quilt-row lia-quilt-row-header"> <div class="lia-quilt-column lia-quilt-column-24 lia-quilt-column-single lia-quilt-column-common-header"> <div class="lia-quilt-column-alley lia-quilt-column-alley-single"> <div class="lia-quilt lia-quilt-header lia-quilt-layout-header lia-component-quilt-header"> <div class="lia-quilt-row lia-quilt-row-top-nav"> <div class="lia-quilt-column lia-quilt-column-24 lia-quilt-column-single lia-quilt-column-top-nav"> <div class="lia-quilt-column-alley lia-quilt-column-alley-single"> <script type="application/javascript" src="/html/assets/jquery_cookie.js"></script> <script> if(!Cookies.get('_savt')){ // set new cookie with a big random number var ck_str= Math.random().toString(36).slice(2); Cookies.set('_savt', ck_str); } </script> <script type="application/javascript" src="/html/assets/eventstreamV2.js"></script> <script> var env = 'production'; var host_name= 'api.squareup.com'; if ((window.location.hostname).includes("staging")){ env = 'staging'; host_name = 'api.squareupstaging.com'; } EventstreamLogger = new EventstreamClient({ applicationName: 'seller-community', environment : env, host: host_name, }); </script> <!-- New Community Header --> <style> @media screen and (max-width: 1210px) and (min-width:769px) { #lia-body .new-community-header .new-header-container .header-section-center ul.header-navigation-list .slider-div li.top-header-nav-list.home { display:none; } } </style> <header role="banner" class="new-community-header"> <div class="new-header-container"> <div class="header-section-left"> <a class="logo" data-link-action="Home" data-link-label="Banner" href="https://squareup.com"> <img src="https://www.sellercommunity.com/html/@AF0CD65727670587987A847630197935/assets/Square_logo_2024.svg" height="24" width="24" /> </a> <p><a href="/"><span class="logo-title" >Seller Community</span></a></p> </div> <div class="hamburger-icon"></div> <div class="header-section-right"> <div class="signUp-btn"> <a href="https://squareup.com/signup" class="signUp-link">Sign Up</a> </div> <style> #lia-body.lia-user-status-anonymous .header-section-right ul.lia-component-common-widget-user-navigation-modern li a:before, #lia-body.lia-user-status-anonymous .header-navigation-list ul.lia-component-common-widget-user-navigation-modern li a:before { content: "Sign In"; } </style> <ul role='list' id='list_243c850d4fe390' class='lia-list-standard-inline UserNavigation lia-component-common-widget-user-navigation-modern'> <li role='listitem'><a class='lia-link-navigation registration-link lia-component-users-action-registration' rel='nofollow' id='registrationPageV2_243c850d4fe390' href='/plugins/common/feature/oauth2sso/sso_login_redirect?referer=https%3A%2F%2Fwww.sellercommunity.com%2Ft5%2FSeller-Community-US%2Fct-p%2FSeller_Community_US'>Register</a></li> <li aria-hidden='true'><span class='separator lia-component-common-widget-user-nav-separator-character'>·</span></li> <li role='listitem'><a class='lia-link-navigation login-link lia-authentication-link lia-component-users-action-login' rel='nofollow' id='loginPageV2_243c850d4fe390' href='/plugins/common/feature/oauth2sso/sso_login_redirect?referer=https%3A%2F%2Fwww.sellercommunity.com%2Ft5%2FSeller-Community-US%2Fct-p%2FSeller_Community_US'>Sign In</a></li> <li aria-hidden='true'><span class='separator lia-component-common-widget-user-nav-separator-character'>·</span></li> <li role='listitem'><a class='lia-link-navigation faq-link lia-component-help-action-faq' id='faqPage_243c850d4fe390' href='/t5/help/faqpage'>Help</a></li> </ul> </div> <div class="header-section-center"> <ul class="header-navigation-list"> <div class="slider-div"> <div class="slider-wrapper"> <li class="top-header-nav-list home "> <a href="/" class="top-nav-link home-link">Home</a> </li> <li class="top-header-nav-list help top-header-dropdown-lists"> <a href="javascript:void(0)" class="top-nav-link help-link show-dropdown-icon">Help</a> <div class="help-categories nav-dropdownlist "> <ul class="categories-list"> <li class="categories-list-item"> <a class="lia-link-navigation" href="/t5/Help/ct-p/Help" >Product Forums</a> </li> <li class="categories-list-item"> <a class="lia-link-navigation" href="https://squareup.com/help" target="_blank">Support Center</a> </li> <li class="categories-list-item"> <a class="lia-link-navigation" href="https://issquareup.com" target="_blank">Status Page</a> </li> <span class="load contract">Show Less</span> </ul> </div> </li> <li class="top-header-nav-list connect top-header-dropdown-lists"> <a href="javascript:void(0)" class="top-nav-link connect-link show-dropdown-icon">Connect</a> <div class="connect-categories nav-dropdownlist "> <ul class="categories-list"> <li class="categories-list-item"> <a class="lia-link-navigation" href="/t5/Question-of-the-Week/bd-p/Question-of-the-Week" >Question of the Week</a> </li> <li class="categories-list-item"> <a class="lia-link-navigation" href="/t5/Seller-Groups/ct-p/SellerGroups" >Seller Groups</a> </li> <li class="categories-list-item"> <a class="lia-link-navigation" href="/t5/Events/ct-p/Events" >Events</a> </li> <li class="categories-list-item"> <a class="lia-link-navigation" href="/t5/Seller-Community-Blog/Announcing-the-Seller-Community-Mentorship-Program-2024-Become-a/ba-p/707137" >Mentorship</a> </li> <li class="categories-list-item"> <a class="lia-link-navigation" href="/t5/Square-Champions-Program/ct-p/SquareChampionsProgram" >Square Champions</a> </li> <span class="load contract">Show Less</span> </ul> </div> </li> <li class="top-header-nav-list ideate top-header-dropdown-lists"> <a href="javascript:void(0)" class="top-nav-link ideate-link show-dropdown-icon">Ideate</a> <div class="ideate-categories nav-dropdownlist "> <ul class="categories-list"> <li class="categories-list-item"> <a class="lia-link-navigation" href="/t5/Feature-Requests/ct-p/Beta-Feature-Requests" >Feature Requests</a> </li> <span class="load contract">Show Less</span> </ul> </div> </li> <li class="top-header-nav-list beta "> <a href="/t5/Beta-Seller-Community/ct-p/Beta-Seller-community-global" class="top-nav-link beta-link ">Beta</a> </li> <li class="top-header-nav-list learn top-header-dropdown-lists"> <a href="javascript:void(0)" class="top-nav-link learn-link show-dropdown-icon">Learn</a> <div class="learn-categories nav-dropdownlist "> <ul class="categories-list"> <li class="categories-list-item"> <a class="lia-link-navigation" href="/t5/Community-Hub/ct-p/CommunityHub" >Community Hub</a> </li> <li class="categories-list-item"> <a class="lia-link-navigation" href="/t5/Video-Library/tkb-p/VideoLibrary" >Video Library</a> </li> <li class="categories-list-item"> <a class="lia-link-navigation" href="/t5/Product-Updates/bg-p/AllProductUpdates" >Product Updates</a> </li> <li class="categories-list-item"> <a class="lia-link-navigation" href="/t5/Seller-Community-Blog/bg-p/SellerCommunityBlog" >Seller Community Blog</a> </li> <li class="categories-list-item"> <a class="lia-link-navigation" href="https://squareup.com/academy" target="_blank">Square Academy</a> </li> <span class="load contract">Show Less</span> </ul> </div> </li> </div> </div> <li class="top-header-nav-list home"> <a href="/" class="top-nav-link home-link">Home</a> </li> <li class="top-header-nav-list top-header-dropdown-lists explore"> <a href="javascript:void(0);" class="top-nav-link">Explore</a> </li> <li class="top-header-nav-list beta extra"> <a href="/t5/Beta-Seller-Community/ct-p/Beta-Seller-community-global" class="top-nav-link beta-link">Beta</a> </li> <li class="top-header-nav-list header-nav-item languageselect top-header-dropdown-lists"> <a href="javascript:void(0)" class="currentlang top-nav-link">Español</a> <div class="languageoptions nav-dropdownlist" style="display: none;"> <ul> <li class="setlang" id="es"><a href="/t5/Seller-Community-US-ES/ct-p/Seller_Community_US-ES?profile.language=es-mx">Español</a></li> <li class="setlang" id="en"><a href="/t5/Seller-Community-US/ct-p/Seller_Community_US?profile.language=en">English</a></li> </ul> </div> </li> </ul> </div> </div> </header> </div> </div> </div><div class="lia-quilt-row lia-quilt-row-main-header"> <div class="lia-quilt-column lia-quilt-column-24 lia-quilt-column-single lia-quilt-column-header"> <div class="lia-quilt-column-alley lia-quilt-column-alley-single"> <!--Survey Component--> <div class="survey_modal"> <div class="close_button_container"> <span class="close_button">x</span></div> <div class="modal_sub_container"> <div class="top_container"> <div class="user_avatar"><img src="/t5/image/serverpage/avatar-name/Seller-d3/avatar-theme/candy/avatar-collection/Humans/avatar-display-size/profile/version/2" /></div> <div class="opinion">Your opinion in 1 minute.</div> </div> <div class="inner-text">Help us improve by answering 4 quick questions.</div> <div class="approve_button_container"> <span class="approve_button">Take Survey Now</span> </div> </div> </div> <div class="getstarted-container" style="display:none;"></div> <div class="header-text"> <h2>Find solutions and connect with your peers.</h2> </div> </div> </div> </div><div class="lia-quilt-row lia-quilt-row-hero"> <div class="lia-quilt-column lia-quilt-column-24 lia-quilt-column-single lia-quilt-column-hero-content lia-mark-empty"> </div> </div><div class="lia-quilt-row lia-quilt-row-sub-header"> <div class="lia-quilt-column lia-quilt-column-22 lia-quilt-column-left lia-quilt-column-sub-header-left lia-mark-empty"> </div><div class="lia-quilt-column lia-quilt-column-02 lia-quilt-column-right lia-quilt-column-sub-header-right lia-mark-empty"> </div> </div><div class="lia-quilt-row lia-quilt-row-search"> <div class="lia-quilt-column lia-quilt-column-24 lia-quilt-column-single lia-quilt-column-search-content"> <div class="lia-quilt-column-alley lia-quilt-column-alley-single"> <!-- Check if the logged in in user has the Beta-test role --> <!-- Production --> <div class="beta-search-v2"> <!-- custom.grz.search --> <div style="display:none;">8.222.208.146</div> <div style="display:none;">8.222.208.146</div> <div style="display:none;"></div> <script src="/html/assets/jquery2.1.3.min.js"></script> <script src="/html/assets/moment-with-locales.js"></script> <script src="/html/assets/angular.min.js"></script> <script src="/html/assets/angular-animate.min.js"></script> <script src="/html/assets/angular-route.min.js"></script> <script src="/html/assets/angular-moment.min.js"></script> <script src="/html/assets/paging.min.js"></script> <script src="/html/assets/clickoutside.directive.js"></script> <script> var localUserPreference = {} localUserPreference["us"] = {'country_code':'US','language_code':'en-us'} localUserPreference["United States"] = {'country_code':'US','language_code':'en-us'} localUserPreference["United States of America"] = {'country_code':'US','language_code':'en-us'} localUserPreference["ca"] = {'country_code':'CA','language_code':'en-ca'} localUserPreference["Canada"] = {'country_code':'CA','language_code':'en-ca'} localUserPreference["ja"] = {'country_code':'JP','language_code':'ja-jp'} localUserPreference["Japan"] = {'country_code':'JP','language_code':'ja-jp'} localUserPreference["au"] = {'country_code':'AU','language_code':'en-au'} localUserPreference["Australia"] = {'country_code':'AU','language_code':'en-au'} localUserPreference["fr"] = {'country_code':'FR','language_code':'fr-fr'} localUserPreference["France"] = {'country_code':'FR','language_code':'fr-fr'} localUserPreference["ie"] = {'country_code':'IE','language_code':'en-ie'} localUserPreference["Ireland"] = {'country_code':'IE','language_code':'en-ie'} localUserPreference["en-gb"] = {'country_code':'GB','language_code':'en-GB'} localUserPreference["Spain"] = {'country_code':'ES','language_code':'es-es'} localUserPreference["es"] = {'country_code':'ES','language_code':'es-es'} localUserPreference["United Kingdom of Great Britain and Northern"] = {'country_code':'GB','language_code':'en-GB'} localUserPreference["United Kingdom"] = {'country_code':'GB','language_code':'en-GB'} localUserPreference["United Kingdom of Great Britain and Northern Ireland"] = {'country_code':'GB','language_code':'en-GB'} localUserPreference["es-us"] = {'country_code':'US','language_code':'es-us'} localUserPreference["en-gl"] = {'country_code':'ZZ','language_code':'en-us'} var referrer = document.referrer; console.log("last url",referrer); if(referrer.includes('US-ES')){ var setActiveLocale = localUserPreference["es-us"]; } else{ var setActiveLocale = localUserPreference["en-gl"]; } console.log('hello',setActiveLocale); var isCookieSet = "true"; var cname = "searchResults"; if(isCookieSet=="true"){ var cvalue = "en-us"; if(cvalue!=''){ localStorage.storageLocal=cvalue; }else{ localStorage.storageLocal="en-us"; } }else{ /*-- Do Nothing --*/ } var checkAnonymous = "true"; var runGlobalSearch = "true"; console.log("Cookie Val: "+cvalue); var searchLocale = localStorage.storageLocal; console.log("custom.grz.search - Search Locale: ",searchLocale); if(searchLocale!='' || searchLocale!=undefined || searchLocale!="undefined"){ if(searchLocale=="es-us"){ var setActiveLocale = localUserPreference["es-us"]; }else if(searchLocale=="en-us"){ var setActiveLocale = localUserPreference["us"]; }else if(searchLocale=="es-es"){ var setActiveLocale = localUserPreference["es"]; }else if(searchLocale=="en-ca"){ var setActiveLocale = localUserPreference["ca"]; }else if(searchLocale=="en-gb"){ var setActiveLocale = localUserPreference["en-gb"]; }else if(searchLocale=="ja-jp"){ var setActiveLocale = localUserPreference["ja"]; }else if(searchLocale=="en-au"){ var setActiveLocale = localUserPreference["au"]; }else if(searchLocale=="fr-fr"){ var setActiveLocale = localUserPreference["fr"]; }else if(searchLocale=="en-ie"){ var setActiveLocale = localUserPreference["ie"]; }else if(searchLocale=="en-zz"){ var setActiveLocale = localUserPreference["en-gl"]; }else{ if(checkAnonymous!="true"){ if (runGlobalSearch == "true"){ var setActiveLocale = localUserPreference["en-gl"]; }else{ var setActiveLocale = {'country_code':'US','language_code':'en-us'}; } }else{ var setActiveLocale = {'country_code':'US','language_code':'en-us'}; } } }else{ if(checkAnonymous!="true"){ if (runGlobalSearch == "true"){ var setActiveLocale = localUserPreference["en-gl"]; }else{ var setActiveLocale = {'country_code':'US','language_code':'en-us'}; } }else{ var setActiveLocale = {'country_code':'US','language_code':'en-us'}; } } window.getActiveLocale = function(){ return setActiveLocale; } if(checkAnonymous=="true" && (searchLocale=='' || searchLocale==undefined || searchLocale=="undefined")){ var getLocale = {'country_code':'US','language_code':'en-us'}; }else{ var getLocale = setActiveLocale; } console.log('getlocale',getLocale); </script> <script> angular.module('swiftType', []) .filter('fromNow', function() { return function(x){ var diff = moment().diff(moment(x), 'months', true); if(diff < 1) return moment(x).fromNow(); else return moment(x).format("MM-DD-YYYY"); } }) .filter('filterField', function() { return function(x,fieldType){ var selected = x.filter(function(e){ if(e.name == fieldType){ return e; } }); try{ var result = selected[0]["value"]; if(selected[0]["name"] == "author_rank_color"){ result = '#' + result; } }catch(e){ var result = "--"; } return result; } }) .filter('truncate', function() { return function (value, setting ) { var setting = setting || {} var wordwise = setting.wordwise || false; var max = setting.truncateLength || 100 var tail = setting.truncateTail || " ..." if (!value) return ''; max = parseInt(max, 10); if (!max) return value; if (value.length <= max) return value; value = value.substr(0, max); if (wordwise) { var lastspace = value.lastIndexOf(' '); if (lastspace !== -1) { if (value.charAt(lastspace-1) === '.' || value.charAt(lastspace-1) === ',') { lastspace = lastspace - 1; } value = value.substr(0, lastspace); } } return value + (tail || ' …'); }; }) .filter('fetchEventType', function(filterFieldFilter) { return function(x,type,fields){ var EventTypeMapping = { getThreadType : function(x){ return this[x]; }, outside:{ "EventType" : "Help Articles", "ImgSrc" : "", "className" : "help" }, solved : { "EventType" : "Community Answer", "ImgSrc" : "", "className" : "solved" }, unsolved : { "EventType" : "Open Discussions", "ImgSrc" : "", "className" : "open" } }; var value = '' var selectedNode = null ; if( x == 4 ){ var is_solved = filterFieldFilter(fields,'is_solution'); if(is_solved === "true"){ selectedNode = EventTypeMapping.getThreadType("solved"); }else{ selectedNode = EventTypeMapping.getThreadType("unsolved") ; } }else{ selectedNode = EventTypeMapping.getThreadType("outside") ; } if(selectedNode.hasOwnProperty(type)){ value = selectedNode[type] ; } //} return value; } }) .animation('.slide-toggle', function(){ return { enter: function(element, done) { $(element).hide().slideDown(function(){ done(); }); }, leave: function(element, done) { $(element).slideUp(function(){ done(); }); } }; }) .factory('SharedService', function() { return null; }); </script> <script> var app = angular.module('grz-search', ['angular-click-outside','ngAnimate','swiftType']); app.config(['$locationProvider', function($locationProvider) { $locationProvider.html5Mode({ enabled: true, requireBase: false }); }]); app.controller('search-module',['$scope', '$http','$location', 'SharedService' , '$window' ,function($scope , $http , $location , SharedService , $window ) { var searchText = $location.search().q; $scope.isStartThreadDispaly = true; if(searchText){ $scope.search_text = searchText; } $scope.renderSetting = { "truncateLength" : 75, "wordwise" : false, "truncateTail" : " ..." }; var localeSetup = {'country_code':'US','language_code':'en-us'}; if(angular.equals(localeSetup, {})){ localeSetup = $window.getActiveLocale(); } $scope.threadUrl = '/t5/forums/postpage/category-id/Seller_Community_Global/choose-node/true'; if(cvalue == 'en-ca'){ $scope.threadUrl = '/t5/forums/postpage/category-id/Seller_Community_CA/choose-node/true'; } if(cvalue == 'en-us'){ $scope.threadUrl = '/t5/forums/postpage/category-id/Seller_Community_US/choose-node/true'; } if(cvalue == 'es-es'){ $scope.threadUrl = '/t5/forums/postpage/category-id/comunidad-square/choose-node/true'; } if(cvalue == 'ja-jp'){ $scope.threadUrl = '/t5/forums/postpage/category-id/Seller_Community_JA/choose-node/true' } if(cvalue == 'en-au'){ $scope.threadUrl = '/t5/forums/postpage/category-id/Seller_Community_AU/choose-node/true' } if(cvalue == 'es-us'){ $scope.threadUrl = '/t5/forums/postpage/category-id/Seller_Community_US-ES/choose-node/true'; } if(cvalue == 'en-ie'){ $scope.threadUrl = '/t5/forums/postpage/category-id/Seller_Community_IE/choose-node/true'; } if(cvalue == 'en-gb'){ $scope.threadUrl = '/t5/forums/postpage/category-id/Seller_Community_UK/choose-node/true'; } if(cvalue == 'fr-fr'){ $scope.threadUrl = '/t5/forums/postpage/category-id/Communaute-Square/choose-node/true'; } var corebeta = 'Seller_Community_US'; if(corebeta == 'Beta-Seller-community-global' || corebeta == 'Beta-Seller-Community-Global'){ $scope.threadUrl = '/t5/forums/postpage/category-id/'+corebeta+'/choose-node/true'; } /* Default Setting */ var tempSearchSetting = {}; tempSearchSetting.source = "SELLER_COMMUNITY"; tempSearchSetting.search_text = "test"; tempSearchSetting.search_type = "SUGGEST"; tempSearchSetting.document_kinds = ["COMMUNITY_POST","HELP_CENTER_ARTICLE","WEEBLY_HELP_ARTICLE"]; tempSearchSetting.locale = localeSetup; tempSearchSetting.page = 1; tempSearchSetting.per_page = 6; var timeout = null; var setTimeInteraval = 300; $scope.seachSetting = tempSearchSetting; $scope.searchResult = {}; $scope.searching = false; $scope.closeThis = function () { $scope.searchResult = []; $scope.IsVisible = false; } var retry = 0; var callApi = function(apiUrl){ // console.log("Last Searching Par",$scope.search_text) $scope.searching = true; $http({ method : "GET", url : apiUrl, params:{data: angular.toJson($scope.seachSetting)} }).then( function(response){ console.log("API response",response) if(response.data.success){ $scope.searchResult = response.data.document_results; // Call the conversion function again after a short delay to ensure it captures all dynamically loaded content function boldText(){ // Event delegation to handle dynamically loaded content $(document).find('.search-result .search .result-wrapper .ng-binding').each(function() { // Call the conversion function for the newly added element console.log("convert"); var htmlContent = $(this).html(); var modifiedHtml = htmlContent.replace(/<b>/g, '<b>').replace(/<\/b>/g, '</b>').replace('<b>', '<b>').replace('</b>', '</b>'); $(this).html(modifiedHtml); //convertBTagsToBold(); }); } setTimeout(boldText, 100); } else{ if(retry < 2){ callApi(apiUrl) retry ++; return; } } $scope.IsVisible = true; $scope.searching = false; }, function(error){ console.log('I am in error ERROR FUNCTION CALLA',error); if(retry < 2){ callApi(apiUrl) retry ++; return; } $scope.closeThis(); $scope.searching = false; } ); } $scope.goToSearchPage = function (){ var searchPageTab = '--'; var redirctionUrl = "/t5/forums/searchpage/tab/message?q=" + $scope.search_text; if($scope.search_text.length == 0) return; if(searchPageTab == "message"){ history.pushState(null, null, redirctionUrl) angular.element(document.getElementById('search-detail-controller')).scope().$emit('search.update', $scope.search_text); return; } window.location.href = redirctionUrl; } /* Function Fetching Result Against Searh Result */ $scope.fetchSearch = function(e) { var searchText = $scope.search_text; if(e.keyCode == 13){ $scope.goToSearchPage(); $scope.closeThis(); clearTimeout(timeout); return; } if(searchText.length < 3){ $scope.closeThis(); clearTimeout(timeout); return; } var searchUrl = '/imgfg46729/plugins/custom/squareinc/squareinc/swifttype.ep'; clearTimeout(timeout); timeout = setTimeout(function () { $scope.seachSetting.search_text = searchText; callApi(searchUrl); }, setTimeInteraval || 300); }; $scope.IsVisible = false; }]); </script> <div ng-app="grz-search" class="search-wrapper" id="grz-search-suggustion"> <div class="grz-search search-suggestion lia-top-quilt"> <div class='search-module lia-quilt-row-main' ng-controller="search-module" ng-cloak> <div class='search-wrapper' ng-class="{'loading': searching }"> <span class="loader" ng-if="searching"><img src="/html/assets/page-loader.gif"></span> <div class="search-input-wrapper"> <input type="text" class="input-value" ng-model="search_text" ng-keyup="fetchSearch($event)" placeholder="Search questions, keywords, community members"> </div> <span class="close-btn" ng-hide="searchResult.length" ng-click="goToSearchPage()"> <svg xmlns="//www.w3.org/2000/svg" viewBox="0 0 20 20" width="20" height="20" class="search-icon"> <path fill="none" stroke="#969799" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" d="M1.2,16.2c-0.7,0.7-0.7,1.7,0,2.4l0.1,0.1c0.7,0.7,1.7,0.7,2.4,0l2.7-2.7c0.7-0.7,0.7-1.7,0-2.4l-0.1-0.1 c-0.7-0.7-1.7-0.7-2.4,0L1.2,16.2z"></path> <path fill="none" stroke="#969799" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" d="M5.8,7.3c0,3.7,3.2,6.9,6.9,6.9c3.7,0,6.6-3.2,6.6-6.9c0-3.7-2.9-6.6-6.6-6.6C9,0.8,5.8,3.6,5.8,7.3z"></path> <line fill="none" stroke="#969799" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" x1="6.4" y1="13.6" x2="7.8" y2="12.2"></line> </svg> </span> <span class="close-btn" ng-show="searchResult.length" ng-click="closeThis()"> <svg xmlns="//www.w3.org/2000/svg" viewBox="0 0 20 20" width="20" height="20"> <path fill="#969799" d="M11.414,10l6.293-6.293c0.391-0.391,0.391-1.023,0-1.414s-1.023-0.391-1.414,0L10,8.586L3.707,2.293 c-0.391-0.391-1.023-0.391-1.414,0s-0.391,1.023,0,1.414L8.586,10l-6.293,6.293c-0.391,0.391-0.391,1.023,0,1.414 s1.023,0.391,1.414,0L10,11.414l6.293,6.293c0.391,0.391,1.023,0.391,1.414,0s0.391-1.023,0-1.414L11.414,10z"></path> </svg> </span> <div class="start-thread search-start-thread search-bar" ng-if="!isStartThreadDispaly"> <a target="_self" href="{{threadUrl}}?message-subject={{search_text}}"> Start Thread </a> </div> </div> <div class='response slide-toggle' ng-class="IsVisible?'open':'close'" ng-if="IsVisible" click-outside="closeThis()"> <ul class='search-result' ng-class="searchResult.length > 0?'has-result':'no-result'"> <li class='search' ng-repeat="result in searchResult"> <span class="result-wrapper result-logo {{result.document.document_kind | fetchEventType: 'className' : result.document.fields }}" > <span class="img-wrapper"> </span> </span> <span class="result-wrapper result-detail"> <a href="{{result.document.url}}" class = "search-title" >{{result.document.title | truncate: renderSetting }}</a> </span> </li> <li class='search' ng-hide="searchResult.length > 0"> <span class="result-wrapper result-detail no-result-found"> <span class="no-result-found page.search.revereseRequired">No Result found for this keyword <b>{{search_text}}</b> </span> </span> </li> </ul> <div class="start-thread search-start-thread"> <span class="message"> Can't find what you're searching for? </span> <a target="_self" href="{{threadUrl}}?message-subject={{search_text}}"> Start Thread </a> </div> </div> </div> </div> </div> </div> <div class="lia-panel lia-panel-standard StringDisplayTaplet Chrome lia-component-common-widget-announcement"><div class="lia-decoration-border"><div class="lia-decoration-border-top"><div> </div></div><div class="lia-decoration-border-content"><div><div class="lia-panel-heading-bar-wrapper"><div class="lia-panel-heading-bar"><span aria-level="3" role="heading" class="lia-panel-heading-bar-title">Announcements</span></div></div><div class="lia-panel-content-wrapper"><div class="lia-panel-content"><div class="StringDisplayTaplet"> 🌟<a href="https://www.sellercommunity.com/t5/Community-Corner/What-s-the-biggest-thing-you-want-to-achieve-for-your-business/td-p/761597" target="_blank"> What's the biggest thing you want to achieve for your business in 2025?</a> </div></div></div></div></div><div class="lia-decoration-border-bottom"><div> </div></div></div></div> </div> </div> </div><div class="lia-quilt-row lia-quilt-row-feedback"> <div class="lia-quilt-column lia-quilt-column-24 lia-quilt-column-single lia-quilt-column-feedback"> <div class="lia-quilt-column-alley lia-quilt-column-alley-single"> </div> </div> </div> </div> </div> </div> </div><div class="lia-quilt-row lia-quilt-row-main"> <div class="lia-quilt-column lia-quilt-column-24 lia-quilt-column-single lia-quilt-column-main-content"> <div class="lia-quilt-column-alley lia-quilt-column-alley-single"> <span class="lia-welcome lia-component-common-widget-welcome"></span> <div class="community-buttons"> <div class="ask-community"> <a href="/t5/forums/postpage/category-id/Seller_Community_US/choose-node/true" target="_blank" class="ask-community-link">Ask the Community</a> </div> <div class="help-community"> <a href="/t5/forums/unansweredtopicspage/node-id/category:37?uid=37" target="_blank" class="lia-link-navigation help-community-link">Help the Community</a> </div> </div> <!-- custom-HomeTilesV2 --> <div class="lia-panel lia-panel-standard Chrome home-tiles-v2"> <div class="lia-decoration-border"> <div class="lia-decoration-border-top"> <div> </div> </div> <div class="lia-decoration-border-content"> <div> <div class="lia-panel-content-wrapper"> <div class="lia-panel-content"> <div class="tiles-v2"> <a href="/t5/Help/ct-p/Help" class="tile-link-v2"> <div class="home-tile"> <div class="icon-v2"> <img src="/html/assets/tools-hammer-screwdriver.png"> </div> <div class="title-v2">Help</div> </div> </a> <a href="/t5/Connect/ct-p/Connect" class="tile-link-v2"> <div class="home-tile"> <div class="icon-v2"> <img src="/html/assets/speech-bubbles.png"> </div> <div class="title-v2">Connect</div> </div> </a> <a href="/t5/Ideate/ct-p/Ideate" class="tile-link-v2"> <div class="home-tile"> <div class="icon-v2"> <img src="/html/assets/light-bulb.png"> </div> <div class="title-v2">Ideate</div> </div> </a> <a href="/t5/Seller-Groups/ct-p/SellerGroups" class="tile-link-v2"> <div class="home-tile"> <div class="icon-v2"> <img src="/html/assets/ui-website.png"> </div> <div class="title-v2">Seller Groups</div> </div> </a> </div> </div> </div> </div> </div> </div> </div> <!-- Home Tabs Discussions --> <div class="homepage-discussions"> <div class="community-tab-container"> <ul class="community-tabs"> <li> <a class="community-tab-link active" data-id="featuredtab" data-target="featured-posts">Featured</a> </li> <li> <a class="community-tab-link" data-id="recenttab" data-target="recent-posts">Recent</a> </li> <li> <a class="community-tab-link" data-id="frequenttab" data-target="frequent-posts">Popular</a> </li> </ul> <div class="community-common-loader"><div class="loader"></div><span>Loading Content</span></div> <div class="community-tab-content current" id="featured-posts"></div> <div class="community-tab-content" id="recent-posts"></div> <div class="community-tab-content" id="frequent-posts"></div> </div> </div> <div class="bottom-tiles"> <div class="latestNews-wrapper"> <div class="latestNews-section"> <div class="heading"> <a href="/t5/Product-Updates/bg-p/AllProductUpdates"><h3>Product Updates</h3></a> </div> <div class="latestNews-list"> <ul> <li> <a href="/t5/Product-Updates/Improvement-Enhanced-Payroll-Experience/ba-p/762576">[Improvement] Enhanced Payroll Experience</a> <span class="reply-count">0</span> </li> <li> <a href="/t5/Product-Updates/Roundup-October-2024-Product-Updates-and-New-Features/ba-p/761641">[Roundup] 🦇 October 2024 🦇 Product Updates and New Features</a> <span class="reply-count">5</span> </li> <li> <a href="/t5/Product-Updates/Improvement-Manager-approval-workflow-now-available-on-Team-app/ba-p/758100">[Improvement] Manager approval workflow now available on Team app and Dashboard app</a> <span class="reply-count">1</span> </li> <li> <a href="/t5/Product-Updates/Improved-Brand-Editor/ba-p/758078">[Improved] Brand Editor</a> <span class="reply-count">5</span> </li> </ul> </div> </div> </div> <div class="EventsDiscussions w-50 "> <div class="EventsDiscussions-heading"> <h3><a href="/t5/Community-Events/eb-p/Community-Events-US">Events</a></h3> </div> <div class="eventsListWrapper"> <div class="eventsList"> <div class="eventsItem" id="760307"> <div class="eventsData"> <div class="eventDetails"> <p class="startMonth">Dec</p> <p class="startDate">04</p> </div> <div class="eventSubject"> <a href="/t5/Community-Events/Cheers-to-You-The-2024-Community-Celebration/ev-p/760307" class="subject-link"> <span> Cheers to You: The 2024 Community Celebration </span> </a> </div> </div> </div> </div> </div> </div> <!-- The following has evaluated to null or missing: ==> userData.rank.color [in template "grz.custom-homeSellers-Spotlight" at line 9, column 69] ---- Tip: It's the step after the last dot that caused this error, not those before it. ---- Tip: If the failing expression is known to be legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: ${userData.rank.color} [in template "grz.custom-homeSellers-Spotlight" at line 9, column 67] ---- --> <div class="lia-panel lia-panel-standard KudoedAuthorsLeaderboardTaplet Chrome lia-component-kudos-widget-authors-leaderboard"><div class="lia-decoration-border"><div class="lia-decoration-border-top"><div> </div></div><div class="lia-decoration-border-content"><div><div class="lia-panel-heading-bar-wrapper"><div class="lia-panel-heading-bar"><span aria-level="3" role="heading" class="lia-panel-heading-bar-title">Top Kudos Members</span></div></div><div class="lia-panel-content-wrapper"><div class="lia-panel-content"> <div class="UserList lia-component-users-widget-user-list"> <span id="user-listuserList"> </span> <div class="t-data-grid" id="grid"> <table role="presentation" class="lia-list-slim"> <thead class="lia-table-head" id="columns"><tr><th scope="col" class="userColumn lia-data-cell-primary lia-data-cell-text t-first"> <span class="lia-view-filter lia-link-disabled" aria-disabled="true" id="link_15">User</span> </th><th scope="col" class="kudosCountColumn lia-data-cell-tertiary lia-data-cell-integer t-last"> Count </th></tr></thead> <tbody> <tr class="lia-list-row lia-row-odd t-first"><td class="userColumn lia-data-cell-primary lia-data-cell-text"> <div class="UserProfileSummary lia-user-item lia-js-data-userId-116553 lia-user-info-group"> <!-- Fetch rank info --> <div class="avatar-wrapper new" id="116553" style="background-color: #006AFF"> <div class="UserAvatar lia-user-avatar lia-component-common-widget-user-avatar"> <a href="/t5/user/viewprofilepage/user-id/116553" target="_self" tabindex="-1" class="UserAvatar lia-link-navigation"> <img src="https://www.sellercommunity.com/t5/image/serverpage/avatar-name/Seller-a10/avatar-theme/candy/avatar-collection/Humans/avatar-display-size/profile/version/2?xdesc=1.0" alt="Twpchair" title="Twpchair" class="lia-user-avatar-message"> </a> </div> <div class="rank-icon-right"><img src="https://www.sellercommunity.com/html/@0FD2CC837607C8A5FEFCEAABDC3DAA9C/rank_icons/SquareChampions-RankIcon.png" /></div> </div> <div class="lia-user-attributes"> <div class="lia-user-name"> <span class="UserName lia-user-name lia-user-rank-Square-Champion"> <a class="lia-link-navigation lia-page-link lia-user-name-link" style="color:#006AFF" target="_self" aria-label="View Profile of Twpchair" itemprop="url" id="link_16" href="https://www.sellercommunity.com/t5/user/viewprofilepage/user-id/116553"><span class="login-bold">Twpchair</span></a> <img class="lia-user-rank-icon lia-user-rank-icon-right" title="Square Champion" alt="Square Champion" id="display_0" src="/html/@0FD2CC837607C8A5FEFCEAABDC3DAA9C/rank_icons/SquareChampions-RankIcon.png"/> </span> </div> </div> </div> </td><td class="kudosCountColumn lia-data-cell-tertiary lia-data-cell-integer" aria-label="Number of kudos: 5"> 5 </td></tr><tr class="lia-list-row lia-row-even"><td class="userColumn lia-data-cell-primary lia-data-cell-text"> <div class="UserProfileSummary lia-user-item lia-js-data-userId-283181 lia-user-info-group"> <!-- Fetch rank info --> <div class="avatar-wrapper new" id="283181" style="background-color: #006AFF"> <div class="UserAvatar lia-user-avatar lia-component-common-widget-user-avatar"> <a href="/t5/user/viewprofilepage/user-id/283181" target="_self" tabindex="-1" class="UserAvatar lia-link-navigation"> <img src="https://www.sellercommunity.com/t5/image/serverpage/avatar-name/bot-2/avatar-theme/candy/avatar-collection/Robots/avatar-display-size/profile/version/2?xdesc=1.0" alt="TheRealChipA" title="TheRealChipA" class="lia-user-avatar-message"> </a> </div> <div class="rank-icon-right"><img src="https://www.sellercommunity.com/html/@0FD2CC837607C8A5FEFCEAABDC3DAA9C/rank_icons/SquareChampions-RankIcon.png" /></div> </div> <div class="lia-user-attributes"> <div class="lia-user-name"> <span class="UserName lia-user-name lia-user-rank-Square-Champion"> <a class="lia-link-navigation lia-page-link lia-user-name-link" style="color:#006AFF" target="_self" aria-label="View Profile of TheRealChipA" itemprop="url" id="link_17" href="https://www.sellercommunity.com/t5/user/viewprofilepage/user-id/283181"><span class="login-bold">TheRealChipA</span></a> <img class="lia-user-rank-icon lia-user-rank-icon-right" title="Square Champion" alt="Square Champion" id="display_0_0" src="/html/@0FD2CC837607C8A5FEFCEAABDC3DAA9C/rank_icons/SquareChampions-RankIcon.png"/> </span> </div> </div> </div> </td><td class="kudosCountColumn lia-data-cell-tertiary lia-data-cell-integer" aria-label="Number of kudos: 5"> 5 </td></tr><tr class="lia-list-row lia-row-odd"><td class="userColumn lia-data-cell-primary lia-data-cell-text"> <div class="UserProfileSummary lia-user-item lia-js-data-userId-201716 lia-user-info-group"> <!-- Fetch rank info --> <div class="avatar-wrapper new" id="201716" style="background-color: #006AFF"> <div class="UserAvatar lia-user-avatar lia-component-common-widget-user-avatar"> <a href="/t5/user/viewprofilepage/user-id/201716" target="_self" tabindex="-1" class="UserAvatar lia-link-navigation"> <img src="https://www.sellercommunity.com/t5/image/serverpage/avatar-name/Gorilla/avatar-theme/candy/avatar-collection/Administrator__Animals/avatar-display-size/profile/version/2?xdesc=1.0" alt="rtfulk" title="rtfulk" class="lia-user-avatar-message"> </a> </div> <div class="rank-icon-right"><img src="https://www.sellercommunity.com/html/@0FD2CC837607C8A5FEFCEAABDC3DAA9C/rank_icons/SquareChampions-RankIcon.png" /></div> </div> <div class="lia-user-attributes"> <div class="lia-user-name"> <span class="UserName lia-user-name lia-user-rank-Square-Champion"> <a class="lia-link-navigation lia-page-link lia-user-name-link" style="color:#006AFF" target="_self" aria-label="View Profile of rtfulk" itemprop="url" id="link_18" href="https://www.sellercommunity.com/t5/user/viewprofilepage/user-id/201716"><span class="login-bold">rtfulk</span></a> <img class="lia-user-rank-icon lia-user-rank-icon-right" title="Square Champion" alt="Square Champion" id="display_0_1" src="/html/@0FD2CC837607C8A5FEFCEAABDC3DAA9C/rank_icons/SquareChampions-RankIcon.png"/> </span> </div> </div> </div> </td><td class="kudosCountColumn lia-data-cell-tertiary lia-data-cell-integer" aria-label="Number of kudos: 5"> 5 </td></tr><tr class="lia-list-row lia-row-even t-last"><td class="userColumn lia-data-cell-primary lia-data-cell-text"> <div class="UserProfileSummary lia-user-item lia-js-data-userId-695772 lia-user-info-group"> <!-- Fetch rank info --> <div class="avatar-wrapper new" id="695772" style="background-color: #E3C9F8"> <div class="UserAvatar lia-user-avatar lia-component-common-widget-user-avatar"> <a href="/t5/user/viewprofilepage/user-id/695772" target="_self" tabindex="-1" class="UserAvatar lia-link-navigation"> <img src="https://www.sellercommunity.com/t5/image/serverpage/avatar-name/bot-3/avatar-theme/candy/avatar-collection/Robots/avatar-display-size/profile/version/2?xdesc=1.0" alt="Jerrysbar" title="Jerrysbar" class="lia-user-avatar-message"> </a> </div> </div> <div class="lia-user-attributes"> <div class="lia-user-name"> <span class="UserName lia-user-name lia-user-rank-6---Contributor"> <a class="lia-link-navigation lia-page-link lia-user-name-link" style="color:#E3C9F8" target="_self" aria-label="View Profile of Jerrysbar" itemprop="url" id="link_19" href="https://www.sellercommunity.com/t5/user/viewprofilepage/user-id/695772"><span class="">Jerrysbar</span></a> </span> </div> </div> </div> </td><td class="kudosCountColumn lia-data-cell-tertiary lia-data-cell-integer" aria-label="Number of kudos: 4"> 4 </td></tr> </tbody> </table> </div> </div> <div class="lia-view-all"><a class="lia-link-navigation view-all-link" id="link_20" href="/t5/forums/kudosleaderboardpage/category-id/Seller_Community_US/timerange/one_week/page/1/tab/authors">View more</a></div> </div></div></div></div><div class="lia-decoration-border-bottom"><div> </div></div></div></div> <div class="custom-home-blog-posts"> <h3 class="heading"><a href="/t5/Seller-Community-Blog/bg-p/SellerCommunityBlog">Seller Community Blog</a></h3> <ul> <li> <a href="/t5/Seller-Community-Blog/Webinar-Recap-Mastering-Square-Invoices-for-Services/ba-p/762926">Webinar Recap: Mastering Square Invoices for Services Professionals</a> <span class="reply-count">1</span> </li> <li> <a href="/t5/Seller-Community-Blog/Members-of-the-Month-Recognizing-Top-Contributors-in-the/ba-p/760140">Members of the Month: Recognizing Top Contributors in the Community, November 2024</a> <span class="reply-count">7</span> </li> <li> <a href="/t5/Seller-Community-Blog/Square-Community-Gift-Guide-2024/ba-p/762452">Square Community Gift Guide 2024</a> <span class="reply-count">6</span> </li> <li> <a href="/t5/Seller-Community-Blog/Behind-the-Beta-Meet-Beta-Manager-Michelle-Chan/ba-p/761617">Behind the Beta: Meet Beta Manager, Michelle Chan</a> <span class="reply-count">2</span> </li> </ul> </div> </div> </div> </div> </div><div class="lia-quilt-row lia-quilt-row-footer"> <div class="lia-quilt-column lia-quilt-column-24 lia-quilt-column-single lia-quilt-column-common-footer"> <div class="lia-quilt-column-alley lia-quilt-column-alley-single"> <!-- New Community Footer --> <div class="beta-footer-new"> <div class="container"> <div class="FooterNew"> <div data-id="seller-community" class="sellerCommunity"> <p class="toggleFooter">Seller Community<span><i class="lia-fa lia-fa-angle-down"></i></span></p> <ul class="footerContent"> <li><a href="https://www.sellercommunity.com/t5/Help/ct-p/Help">Help</a></li> <li><a href="https://www.sellercommunity.com/t5/Connect/ct-p/Connect">Connect</a></li> <li><a href="https://www.sellercommunity.com/t5/Seller-Groups/ct-p/SellerGroups">Seller Groups</a></li> <li><a href="https://www.sellercommunity.com/t5/Events/ct-p/Events">Events</a></li> <li><a href="https://www.sellercommunity.com/t5/Video-Library/tkb-p/VideoLibrary">Video Library</a></li> <li><a href="https://www.sellercommunity.com/t5/Product-Updates/bd-p/productUpdates">Product Updates</a></li> <li><a href="https://www.sellercommunity.com/t5/Beta-Seller-Community/ct-p/Beta-Seller-Community-Global">Beta Community</a></li> <li><a href="https://www.sellercommunity.com/t5/Community-Hub/ct-p/CommunityHub">About Seller Community</a></li> <li><a href="https://www.sellercommunity.com/t5/Seller-Community-Blog/bg-p/SellerCommunityBlog">Seller Community Blog</a></li> </ul> </div> <div data-id="square-products" class="sellerCommunity"> <p class="toggleFooter">Square Products<span><i class="lia-fa lia-fa-angle-down"></i></span></p> <ul class="footerContent"> <li><a href="https://squareup.com/payments">Payments</a></li> <li><a href="https://squareup.com/point-of-sale">Point of Sale</a></li> <li><a href="https://squareup.com/ecommerce">eCommerce</a></li> <li><a href="https://squareup.com/hardware">Hardware</a></li> <li><a href="https://squareup.com/banking">Banking</a></li> <li><a href="https://squareup.com/point-of-sale/restaurants/kitchen-display-system">Square KDS</a></li> <li><a href="https://squareup.com/payroll">Payroll</a></li> <li><a href="https://squareup.com/appointments">Appointments</a></li> <li><a href="https://squareup.com/invoices">Invoices</a></li> </ul> </div> <div data-id="resources" class="sellerCommunity"> <p class="toggleFooter">Resources<span><i class="lia-fa lia-fa-angle-down"></i></span></p> <ul class="footerContent"> <li><a href="https://squareup.com">About Square</a></li> <li><a href="https://squareup.com/signup?country_code=us">Create a Square Account</a></li> <li><a href="https://squareup.com/help/?show_sq_bot=true">Get Help</a></li> <li><a href="https://squareup.com/sales">Contact Sales</a></li> </ul> </div> <div data-id="more" class="sellerCommunity"> <p class="toggleFooter">More<span><i class="lia-fa lia-fa-angle-down"></i></span></p> <ul class="footerContent"> <li><a href="https://www.sellercommunity.com/t5/Square-Champions-Program/ct-p/SquareChampionsProgram">Square Champions</a></li> <li><a href="https://www.sellercommunity.com/t5/Question-of-the-Week/bd-p/Question-of-the-Week">Question of the Week</a></li> <li><a href="https://www.sellercommunity.com/t5/forums/postpage/category-id/Seller_Community_US/choose-node/true">Ask the Community</a></li> <li><a href="https://www.sellercommunity.com/t5/forums/unansweredtopicspage/node-id/category:37?uid=37">Help the Community</a></li> </ul> </div> </div> <div class="empty-div"></div> <div class="beta-footer-nav"> <ul class="beta-footer-nav-list"> <li class="beta-footer-nav-item languageselect"> <span class="currentlang en-us">English</span> </li> <li class="beta-footer-nav-item social-icons"> <div class="column"> <a href="https://twitter.com/square" data-link-label="Footer Section" data-link-action="Twitter"> <svg height="20" width="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"> <path d="M16.4,6.6c0,0.2,0,0.3,0,0.5c0,4.8-3.3,10.1-9.3,10.1c-1.9,0-3.6-0.4-5-1.4c0.3,0,0.5,0.1,0.8,0.1 c1.5,0,3-0.6,4.1-1.6c-1.4,0-2.6-1.1-3.1-2.5c0.2,0,0.4,0.1,0.6,0.1c0.3,0,0.7,0,1-0.1C3.9,11.4,3,9.9,3,8.1c0,0,0,0,0,0 c0,0.3,0.7,0.4,1.2,0.5c-0.9-0.7-1.4-1.8-1.4-3c0-0.7,0.1-1.3,0.4-1.8c1.6,2.2,3.9,3.6,6.6,3.8C9.8,7.2,9.8,6.9,9.8,6.7 c0-2,1.5-3.9,3.3-3.9c0.9,0,1.8,0.7,2.4,1.4c0.7-0.2,1.4-0.5,2.1-0.9c-0.2,0.8-0.8,1.6-1.4,2C16.8,5.2,17.4,5,18,4.7 C17.6,5.5,17,6.1,16.4,6.6z" fill="#fff" /> </svg> </a> </div> <div class="column"> <a href="https://www.facebook.com/square" data-link-label="Footer Section" data-link-action="Facebook"> <svg height="20" width="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"> <path d="M14.2,11l0.4-3H11V6.3C11,5.4,11.9,5,13.1,5H14V2.1c0,0-1.3-0.1-2.4-0.1 C9.3,2,8,3.4,8,6v2H5v3h3v7h3v-7H14.2z" fill="#fff" /> </svg> </a> </div> <div class="column"> <a href="https://instagram.com/square" data-link-label="Footer Section" data-link-action="Instagram"> <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 17 16" fill="none"> <path fill-rule="evenodd" clip-rule="evenodd" d="M16.749 4.69997C16.749 3.79997 16.5495 3.29997 16.3501 2.79997C16.1506 2.19997 15.8514 1.79997 15.3528 1.39997C14.9269 0.972919 14.5738 0.764715 14.1691 0.526135L14.169 0.526092C14.0999 0.485351 14.0293 0.443724 13.9566 0.399969C13.458 0.199969 12.8596 0.0999695 12.0618 -3.05176e-05H8.9703C6.87604 -3.05176e-05 6.47714 -3.05176e-05 5.67933 0.0999695C4.78179 0.0999695 4.28316 0.299969 3.78453 0.499969C3.18617 0.699969 2.78726 0.899969 2.38836 1.39997C1.99917 1.71218 1.79224 2.0853 1.5779 2.4718C1.51762 2.58048 1.45676 2.69023 1.39109 2.79997C1.19164 3.39997 1.09191 3.89997 1.09191 4.79997C0.992188 5.49997 0.992188 5.79997 0.992188 7.99997C0.992188 10.2 0.992188 10.5 1.09191 11.3C1.09191 12.2 1.29137 12.7 1.49082 13.2C1.69027 13.8 1.98945 14.2 2.48808 14.6C2.98672 15 3.38562 15.3 3.88425 15.6C4.28316 15.8 4.98124 15.9 5.77905 16H8.9703C11.0646 16 11.3637 16 12.1615 15.9C13.0591 15.9 13.5577 15.7 14.0563 15.5C14.6547 15.3 15.0536 15 15.4525 14.5C15.8784 14.0729 16.086 13.7188 16.324 13.3131L16.324 13.313L16.324 13.3129L16.3243 13.3124C16.3648 13.2433 16.4063 13.1727 16.4498 13.1C16.6492 12.6 16.749 12 16.8487 11.2C16.8487 10.8489 16.8639 10.6195 16.8824 10.3398C16.9113 9.90238 16.9484 9.34176 16.9484 7.99997C16.9264 7.53669 16.9093 7.15614 16.8948 6.83579L16.8948 6.83574C16.8438 5.704 16.8267 5.32347 16.749 4.69997ZM15.3564 11.1999C15.3564 11.6961 15.2797 12.0384 15.2214 12.2984C15.1857 12.4576 15.1569 12.586 15.1569 12.6999C14.9575 13.0999 14.8578 13.2999 14.5586 13.5999C14.3591 13.7999 13.9602 14.0999 13.661 14.1999C13.3619 14.2999 12.963 14.3999 12.1652 14.3999C11.81 14.3999 11.5642 14.4156 11.2671 14.4345H11.2671H11.2671C10.8132 14.4634 10.2396 14.4999 8.97391 14.4999C6.87965 14.4999 6.58047 14.4999 5.78266 14.3999C5.28785 14.3999 4.94649 14.323 4.68719 14.2646C4.5284 14.2288 4.40039 14.1999 4.28676 14.1999C3.78813 14.0999 3.58868 13.9999 3.2895 13.5999C3.09005 13.3999 2.79087 12.9999 2.69114 12.6999C2.49169 12.3999 2.39196 11.9999 2.39196 11.1999C2.39196 10.8439 2.37635 10.5973 2.35748 10.2994C2.32866 9.84426 2.29224 9.26908 2.29224 7.99993C2.29224 5.79993 2.29224 5.59993 2.39196 4.79993C2.39196 4.30377 2.46868 3.96147 2.52696 3.70146C2.56265 3.54223 2.59142 3.41387 2.59142 3.29993C2.79087 2.89993 2.89059 2.69993 3.18977 2.39993C3.38923 2.19993 3.78813 1.89993 4.08731 1.79993C4.23266 1.77078 4.36954 1.73313 4.5103 1.69442C4.8524 1.60033 5.21741 1.49993 5.78266 1.49993C6.14301 1.49993 6.40692 1.48381 6.72281 1.46452C7.19372 1.43575 7.78016 1.39993 8.97391 1.39993C10.9684 1.39993 11.2676 1.39993 12.0654 1.49993C12.5602 1.49993 12.9016 1.57686 13.1609 1.6353C13.3197 1.67108 13.4477 1.69993 13.5613 1.69993C13.9602 1.89993 14.1597 1.99993 14.4589 2.29993C14.758 2.59993 14.9575 2.99993 15.0572 3.29993C15.2567 3.59993 15.3564 3.99993 15.3564 4.79993C15.3564 5.15601 15.372 5.40251 15.3909 5.70046V5.70047V5.70048C15.4197 6.15561 15.4561 6.73079 15.4561 7.99993C15.4561 10.1999 15.4561 10.3999 15.3564 11.1999ZM4.88477 7.99987C4.88477 5.69987 6.77957 3.89987 8.97355 3.89987C11.1675 3.89987 12.9626 5.79987 12.9626 7.99987C12.9626 10.1999 11.2673 12.0999 8.97355 12.0999C6.67984 12.0999 4.88477 10.2999 4.88477 7.99987ZM8.97863 10.5999C7.58246 10.5999 6.38574 9.39993 6.38574 7.99993C6.38574 6.59993 7.48273 5.39993 8.97863 5.39993C10.4745 5.39993 11.5715 6.59993 11.5715 7.99993C11.5715 9.39993 10.3748 10.5999 8.97863 10.5999ZM13.0666 4.79984C13.665 4.79984 14.0639 4.39984 14.0639 3.79984C14.0639 3.19984 13.665 2.79984 13.0666 2.79984C12.4682 2.79984 12.0693 3.19984 12.0693 3.79984C12.0693 4.39984 12.4682 4.79984 13.0666 4.79984Z" fill="white"/> </svg> </a> </div> </li> </ul> </div> <div class="empty-div"></div> <div class="beta-footer-sub-nav"> <div class="footer-sub-nav-left"> <span class="copyright">© 2022 Square, Inc.</span> </div> <div class="footer-sub-nav-right"> <ul > <li class="privacy-links"><a href="https://squareup.com/legal/privacy" data-link-label="Footer Section" data-link-action="Privacy Policy">Privacy Policy</a></li> <li class="privacy-links"><a href="https://squareup.com/legal/ua" data-link-label="Footer Section" data-link-action="Seller Agreement"> Legal</a></li> <li class="privacy-links"><a href="https://squareup.com/legal/licenses" data-link-label="Footer Section" data-link-action="Licenses">Licenses</a></li> </ul> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> <script src="https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.21/lodash.min.js"></script> </center> </div> <meta name="google-site-verification" content="Ik5cd4-7_wS7znfoY4fZVYJF8nXnN_MB0tLADEPHy8o" /> <script type="text/plain" class="optanon-category-C0004"> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-9517040-49', 'auto'); ga('send', 'pageview'); </script> <script type="text/javascript"> new Image().src = ["/","b","e","a","c","o","n","/","1","7","9","5","7","3","1","1","5","7","2","3","_","1","7","3","2","5","8","0","8","6","6","5","1","3",".","g","i","f"].join(""); </script> <script type="text/javascript" src="/t5/scripts/8016E4FC3B23A5110FC1769E8A07C73D/lia-scripts-common-min.js"></script><script type="text/javascript" src="/t5/scripts/C46381F0DDEED103EADFB8A12CCECB45/lia-scripts-body-min.js"></script><script language="javascript" type="text/javascript"> <!-- LITHIUM.Sandbox.restore(); LITHIUM.jQuery.fn.cssData.defaults = {"dataPrefix":"lia-js-data","pairDelimeter":"-","prefixDelimeter":"-"}; (function($) { $(document).ready(function() { var getbrowser_lang = navigator.language; if(getbrowser_lang.indexOf('es') != -1) { if(window.location.href.indexOf('en#') == -1){ var url = "/t5/Seller-Community-US-ES/ct-p/Seller_Community_US-ES?profile.language=es-mx"; $(location).attr("href", url); } } }); })(LITHIUM.jQuery); (function($) { $(document).ready(function() { var currentURL = window.location.href; if (!currentURL.includes("/searchpage/tab/message?q=")) { console.log("URL does not contains '/searchpage/tab/message?q='"); let allUserIds = []; let anchorTags = $("a[href*='user/viewprofilepage/user-id']").not(".UserAvatar a").not("a:has(img)"); var thisArray = []; anchorTags.each(function() { thisEl = $(this); var userLink = thisEl.attr('href'); var thisLen = (userLink).split('/'); thisUserID = (thisLen)[thisLen.length-1]; if ( (thisEl.parent().hasClass("UserName") || thisEl.parent().hasClass("user-name") || thisEl.parent().hasClass("username-text") || thisEl.find(".login").length) && (!thisEl.siblings().hasClass("current-locale") && !thisEl.parent().siblings().hasClass("current-locale")) ) { if (!allUserIds.includes(thisUserID)) { allUserIds.push(thisUserID); thisArray.push(thisEl); } } }); $.ajax({ type: "POST", url: '/plugins/custom/squareinc/squareinc/grz.custom-location-flags-ep?tid=-4135679141143416938', data:{ allUserIds: JSON.stringify(allUserIds) }, success: function(response) { // Check if the response has the expected structure console.log("response",response) if (response && response.userData) { const userFlags = response.userData; var currentLocale = "current-locale"; var newDiv = ""; // Iterate over user IDs and update the corresponding username divs allUserIds.forEach(function(userId) { const countryFlag = userFlags[userId]; if (countryFlag) { let anchorTag = $("a[href*='user/viewprofilepage/user-id'][href*='" + userId + "']").not(".UserAvatar a").not("a:has(img)").not(".lia-component-common-widget-user-navigation-modern a").not(function() { return $(this).parent().siblings().hasClass('current-locale');}); newDiv = $(`<span class='` + currentLocale + ' ' + countryFlag + `'></span>`); anchorTag.after(newDiv); } }); } else { console.log("Unexpected response format from the server"); } }, error: function(xhr, status, error) { console.error("Error fetching country flags",error); } }); } }); })(LITHIUM.jQuery); ;(function($){ $(document).ready(function(){ $.ajax({ url: '/plugins/custom/squareinc/squareinc/grz-custom-current-country', method: "GET" }).done(function(data) { var result = JSON.parse(data); localStorage.setItem("timezone", result.timezone); }); }); })(LITHIUM.jQuery); ;(function($){ $('document').ready(function(){ function getCookie(cname) { var name = cname + "="; const decodedCookie = decodeURIComponent(document.cookie), splitCookies = decodedCookie.split(';'); for(var i = 0; i < splitCookies.length; i++) { var item = splitCookies[i]; while (item.charAt(0) == ' ') { item = item.substring(1); } if (item.indexOf(name) == 0) { return item.substring(name.length, item.length); } } return ''; return document.cookie = "switchlocale=false;path=/"; return document.cookie = "currentlocale=false;path=/"; } const flag = getCookie("switchlocale"), currentIp = getCookie("currentlocale"), localeEndpoint = '/plugins/custom/squareinc/squareinc/grz-custom.localecheck?tid=-4135679141143416938', site = "US", browserlang = getCookie("lia.anon.profile.language"), lang = navigator.language, url = '/t5/Seller-Community-US/ct-p/Seller_Community_US', pageName = 'CategoryPage', coreID = 'Seller_Community_US'; console.log('flag',flag); console.log('currentIp',currentIp, browserlang,pageName); if (currentIp != 'true'){ if (flag != 'true') { $.ajax({ type: "Get", url: localeEndpoint, data:{'corenodeID':coreID,'currentSite': site ,'currentsiteUrl':url,'userLang': lang,'browserlang':browserlang, 'ancestors':'imgfg46729','PageName': pageName}, success: function(data) { console.log("working"); $(".locale-check-modal").append(data); $( function() { $( "#localCheck" ).dialog({ height: 500, width: 600, autoOpen:true, responsive: true, open: function(event, ui) { $('body').addClass('localemodal-overlay'); $('#localCheck').parent('.ui-widget.ui-widget-content').addClass("localCheck-dialog"); $(event.target).dialog('widget').css({ position: 'fixed' }).position({ my: 'center', at: 'center', of: window }); }, close: function(event, ui) { $('body').removeClass('localemodal-overlay'); } }); $( "#localCheck" ).show(); }); } }); } } }); $('body').on('click', '#ipSite .Ip-site', function(){ document.cookie = "currentlocale=true;path=/"; }); $('body').on('click', '#current .current-site', function(){ document.cookie = "switchlocale=true;path=/"; }); $('body').on('click', '#viewPost', function(){ $('.localCheck-dialog').hide(); $('body').removeClass('localemodal-overlay'); }); })(LITHIUM.jQuery); LITHIUM.CommunityJsonObject.User.policies['forums.action.message-view.batch-messages.allow'] = false; (function($) { $(document).ready(function() { function setNavHeight() { var headerNavHeight = $('.mobile-view').height() + 25; var listHeight = $(window).innerHeight() - headerNavHeight; $('.mobile-list-item.slider-div').css('max-height', listHeight); }; setNavHeight(); $(window).resize(function() { setNavHeight(); }); }); })(LITHIUM.jQuery); (function($) { $('.lia-lightbox-close-button').on('click',function(event){ $('.modal.fade.lia-modal-window.in').hide(); $('.modal-backdrop.lia-modal-backdrop.fade.in').hide(); }); $(document).ready(function() { function setHeight() { var headerHeight = $('.lia-top-quilt > .lia-quilt-row-header').height(); var footerHeight = $('.lia-top-quilt > .lia-quilt-row-footer').height(); var totalHeight = (headerHeight + footerHeight); var windowHeight = $(window).innerHeight() - totalHeight; $('.lia-top-quilt > .lia-quilt-row-main').css('min-height', windowHeight); }; setHeight(); $(window).resize(function() { setHeight(); }); }); })(LITHIUM.jQuery); (function($) { $('.lia-lightbox-close-button').on('click',function(event){ $('.modal.fade.lia-modal-window.in').hide(); $('.modal-backdrop.lia-modal-backdrop.fade.in').hide(); }); $(document).ready(function() { function setHeight() { var headerHeight = $('.lia-top-quilt > .lia-quilt-row-header').height(); var footerHeight = $('.lia-top-quilt > .lia-quilt-row-footer').height(); var totalHeight = (headerHeight + footerHeight); var windowHeight = $(window).innerHeight() - totalHeight; $('.lia-top-quilt > .lia-quilt-row-main').css('min-height', windowHeight); }; setHeight(); $(window).resize(function() { setHeight(); }); }); })(LITHIUM.jQuery); (function($) { document.addEventListener('DOMContentLoaded', () => { const cdp = window["data-api"].js; let username = '' ; let userRegistered = LITHIUM.CommunityJsonObject.Activity.Results.find(function(result) { return result.name === "UserRegistered"; }); if (userRegistered) { username = userRegistered.user.login; } if ('production' == 'production') { // For production API_KEY = 'de3f5123-369c-4996-bdef-41a85df33b33'; ENV = 'production'; userInfo = "undefined"; entityType = userInfo != 'undefined'? 'merchant' : 'anonymous_visitor'; } else { // For stage API_KEY = '612f4d91-431f-47c2-b138-14e6a200527f'; ENV = 'staging'; if("false" == "true") { userInfo = "undefined" } else { userInfo = "-1"; } entityType = userInfo != '-1'? 'merchant' : 'anonymous_visitor'; } //entityType = cdp.user().entityType() || 'anonymous_visitor', savt = document.cookie.split('; ').find((row) => row.startsWith('_savt'))?.split('=')[1] || cdp.user().anonymousId(); entityId = entityType === 'merchant' ? userInfo : savt; cdp.load(API_KEY, ENV); cdp.identify(entityId, entityType); cdp.page( undefined, { category:'Seller Community' } ); function heartbeat() { const windowWidth = $(window).width(); const windowHeight = $(window).height(); cdp.track( 'Heartbeat', { window_width: windowWidth, window_height: windowHeight } ); } function scrollEvent(scrollValue) { return function () { const windowWidth = $(window).width(); const windowHeight = $(window).height(); cdp.track( 'Scroll Page', { window_width: windowWidth, window_height: windowHeight, scrollDepth: scrollValue } ); }; } function cdpClickLink(event) { const $link = $(event.currentTarget); var linkType = "The Seller Community"; const trackingData = { linkType: linkType, linkId: $link.attr('id'), linkParentId: $link.parent().closest('[id]').attr('id'), linkTitle: $link.attr('title'), linkUrl: $link.attr('href').startsWith('http') ? $link.attr('href') : $link.attr('href') === '#'? window.location.origin+'/'+$link.attr('href'):window.location.origin+$link.attr('href') }; if ($link.hasClass('kudos-count-link')) { trackingData.linkLikeCount = $link.find('.lia-component-kudos-widget-message-kudos-count').text().trim(); trackingData.linkText = 'Like'; } else { trackingData.linkText = $link.text(); } cdp.track( 'Click Link', trackingData ); } function createUsername(username) { cdp.track( 'Create Username', { community_username: username } ); } function startGuideIcon() { cdp.track( 'Click Start Guide Icon', { merchant_token: entityId } ); } function startGuideQuesComplete() { if (startGuideJson.askQuestionCDPTracking) { var isCompleted = localStorage.getItem("isCompleted"); console.log("question already done") if (isCompleted != "true"){ cdp.track( 'Complete Start Guide Question', { questionLink: startGuideJson.questionUrl, locale: "" } ); localStorage.setItem("isCompleted","true") } } } function startGuideComplete() { if (startGuideJson.progressCDPTracking == 100) { var isGuideCompleted = localStorage.getItem("isGuideCompleted"); console.log("already completed") if (isGuideCompleted != "true"){ cdp.track( 'Complete Start Guide', { locale: "" } ); localStorage.setItem("isGuideCompleted","true") } } } function joinGrouphub () { cdp.track( 'Click Join Group Hub button', { hubName: LITHIUM.CommunityJsonObject.CoreNode.title } ); } function productAdvisoryClick (event) { if ($(this).text().trim() == 'Browse Advisory Boards') { cdp.track( 'Click Advisory Board Button', { locale: "" } ); } } function featureRequestClick (event) { let featureRequestText = $(this).text().trim(); cdp.track( 'Posted Feature Request', { boardName: featureRequestText, locale: "" } ); } function generateuniqueQueryId(length) { const characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789'; const timestamp = new Date().getTime(); // Get current timestamp const randomPart = Math.floor(100000 + Math.random() * 900000); // Generate a 6-digit random number let key = ''; for (let i = 0; i < length; i++) { const randomIndex = Math.floor(Math.random() * characters.length); key += characters.charAt(randomIndex); } key = randomPart + '-' + key; return key; } let uniqueQueryId = generateuniqueQueryId(8); let prevSearchText = ""; const searchSuggestions = _.debounce(function (searchText) { prevSearchText = searchText; cdp.track( 'View Search Suggestions', { Query_ID: uniqueQueryId, Query: searchText } ); }, 1000); function clickSearchSuggestions () { let suggestionIndex = $('.search-result .search .result-wrapper .ng-binding').index(this); suggestionIndex += 1; const url = 'URL_of_search_page'; // Replace with the actual URL cdp.track( 'Click Search Suggestions', { Query_ID: uniqueQueryId, Search_index: suggestionIndex } ); } function conductFullSearch () { let suggestionIndex = $('.search-result .search .result-wrapper .ng-binding').index(this); suggestionIndex += 1; const url = window.location.href; cdp.track( 'Conduct Full Search', { Query_ID: uniqueQueryId, Query: $(this).text(), context_page_path: url } ); } function clickSearchResult () { let suggestionIndex = $('.search-result .search .result-wrapper .ng-binding').index(this); suggestionIndex += 1; const url = $(this).attr('href'); // Replace with the actual URL const selectedTab = $('.search-filter').val() cdp.track( 'Click Search Result', { Query_ID: uniqueQueryId, ResultsTab: selectedTab, context_page_path: url, Search_index: suggestionIndex } ); } let timer; $(document).on('mousemove', function() { clearTimeout(timer); // Clear the previous timer timer = setTimeout(heartbeat, 1000); // Set a new timer }); var percentagesTriggered = { 25: "false", 50: "false", 75: "false", 100: "false" }; $(window).scroll(function() { // Calculate scroll percentage var scrollPercentageValue = ((($(document).scrollTop() + $(window).height()) / $(document).height()) * 100); var scrollPercentage = scrollPercentageValue.toFixed(0); var scrollPercentage2Decimal = scrollPercentageValue.toFixed(2); // Output the scroll percentage based on specific intervals if (scrollPercentage == 25 && percentagesTriggered[25] == "false") { percentagesTriggered[25] = "true"; timer = setTimeout(scrollEvent(25), 1000); // Set a new timer } else if (scrollPercentage == 50 && percentagesTriggered[50] == "false") { percentagesTriggered[50] = "true"; timer = setTimeout(scrollEvent(50), 1000); // Set a new timer } else if (scrollPercentage == 75 && percentagesTriggered[75] == "false") { percentagesTriggered[75] = "true"; timer = setTimeout(scrollEvent(75), 1000); // Set a new timer } else if (scrollPercentage == 100 && percentagesTriggered[100] == "false") { percentagesTriggered[100] = "true"; timer = setTimeout(scrollEvent(100), 1000); // Set a new timer } if (scrollPercentage == 8 || scrollPercentage2Decimal == 100) { percentagesTriggered = { 25: "false", 50: "false", 75: "false", 100: "false" } } }); $(document).on('click', 'a', cdpClickLink); if(username != '' && !localStorage.getItem('usernameCreated')){ console.log("entered:") createUsername(username); localStorage.setItem('usernameCreated', 'true'); } let startGuideJson = ''; if('false' == "true") { $(document).on('click', '.get-started-icon', startGuideIcon); let intervalId = setInterval(function(){ startGuideJson = JSON.parse(localStorage.getItem(LITHIUM.CommunityJsonObject.User.id)); if(startGuideJson !=null) { clearInterval(intervalId); startGuideQuesComplete(); startGuideComplete(); } }, 1000); } let joinGrouphubBtn = document.querySelector('.lia-component-memberships-widget-request-to-join .lia-link-ticket-post-action, .lia-component-memberships-widget-join-open-node-link .lia-link-ticket-post-action'); if(joinGrouphubBtn){ joinGrouphubBtn.addEventListener('click', joinGrouphub); } $('.beta-home-tile-wrapper .tile-btn').on('click', productAdvisoryClick); $('.CustomProductsList .lia-tag').on('click', featureRequestClick); $('.input-value').on('input', function () { const searchText = $(this).val(); if (prevSearchText.length - searchText.length >= 4) { uniqueQueryId = generateuniqueQueryId(8); } searchSuggestions(searchText); }); $(document).on('click', '.search-result .search .result-wrapper .search-title.ng-binding', clickSearchSuggestions); $(document).on('click', '.search-result .search .result-wrapper .search-title.ng-binding', conductFullSearch); $(document).on('click', '.search-result .search .result-wrapper .title.ng-binding', clickSearchResult); }); })(LITHIUM.jQuery); LITHIUM.Link({"linkSelector":"a.lia-link-ticket-post-action"}); LITHIUM.Form.resetFieldForFocusFound(); LITHIUM.UserNavigation2({"selectors":{"userDropDownPanelSelectorRel":".user-navigation-settings-drop-down","userLinkSelectorRel":".user-navigation-settings-dropdown-link"},"events":{"userLinkEvent":"click"},"misc":{"toggleOnClick":false}}); ;(function($) { $(document).ready(function() { $('#lia-body .new-community-header .new-header-container .header-section-right .UserAvatar.lia-user-avatar, #lia-body .new-community-header .new-header-container .header-section-right .rank-icon-right').hide(); $('#lia-body .new-community-header .new-header-container .header-section-right .UserAvatar.lia-user-avatar').html('<div class="lia-header-nav-component-unread-count" title="19 unread notifications">'+19+'</div>'); $('#lia-body .new-community-header .new-header-container .header-section-right .UserAvatar.lia-user-avatar').show(); }); })(LITHIUM.jQuery); ;(function($) { $(document).ready(function() { var screenSize = window.innerWidth; var profileHtml = $('.header-section-right').html(); // Update HTML and content on window resize $(window).resize(function() { screenSize = window.innerWidth; $('body').removeClass('navFixed'); $('.lia-component-users-action-view-user-profile, .top-header-dropdown-lists .top-nav-link').removeClass('expand'); $('.user-navigation-settings-drop-down').hide(); if (screenSize > 1210) { $('.load').hide(); $('.home-categories, .topics-categories').find('.categories-list-item:nth-child(n+4)').css('display','list-item'); } if (screenSize >= 768) { $('.profileDropdown').remove(); $('.header-section-center').css('display','inline-block'); } if (screenSize >= 768 && screenSize <= 1210) { $('.slider-div').css('display','none'); $('.header-section-center').css({'display':'inline-block','overflow':'visible'}); $('.load').hide(); $('.load.expand').show(); $('.home-categories, .topics-categories').find('.categories-list-item:nth-child(n+4)').css('display','none'); } if(screenSize <= 768) { $('.header-section-center').hide(); $('.categories-list-item').css('display','list-item'); $('.load').hide(); } $('.nav-dropdownlist').css('display','none'); }); //User Profile link functionality $('body').on('click','.lia-component-users-action-view-user-profile',function(){ var profileOpt = $('.user-navigation-settings-drop-down'); $('.top-nav-link').removeClass('expand'); $('.nav-dropdownlist').slideUp(); if (profileOpt.is(':visible')) { profileOpt.slideUp(); $(this).removeClass('expand'); } else { profileOpt.slideDown().css('overflow','visible'); $(this).addClass('expand'); } $('.get-started-wrapper').removeClass("display-block"); }); function debounce(func, wait) { let timeout; return function(...args) { clearTimeout(timeout); timeout = setTimeout(() => func.apply(this, args), wait); }; } //Header links hover functionality function headerResize(){ const screenSize = window.innerWidth; // Remove existing event listeners $('.top-header-dropdown-lists .top-nav-link').off('mouseover click'); $('.top-header-dropdown-lists').off('mouseleave'); if(screenSize > 1210){ $('.top-header-dropdown-lists .top-nav-link').on('mouseover', function(evt) { evt.preventDefault(); evt.stopPropagation(); $(this).parent().find('.nav-dropdownlist').stop().slideDown(); $(this).parent().siblings().find('.nav-dropdownlist').stop().slideUp(); $(this).parents('.slider-div').siblings().find('.nav-dropdownlist').stop().slideUp(); }); $('.top-header-dropdown-lists').on('mouseleave', function(){ $('.nav-dropdownlist').stop().slideUp(); }); //$(document).click(function(e){ // if (e.target.className !== "nav-dropdownlist") // { // $('.nav-dropdownlist').stop().slideUp(); // } //}); } else { $('.top-header-dropdown-lists .top-nav-link').on('click', function(evt) { evt.preventDefault(); evt.stopPropagation(); $(this).toggleClass('expand'); $(this).parent().siblings().find('.top-nav-link').removeClass('expand'); $(this).parents('.slider-div').siblings().find('.top-nav-link').removeClass('expand'); $('.lia-component-users-action-view-user-profile').removeClass('expand'); $('.user-navigation-settings-drop-down').slideUp(); if ($(this).parent().hasClass('explore')) { var dropOverlay = $('.slider-div'); $('.header-navigation-list > li .nav-dropdownlist').slideUp(); dropOverlay.find('.nav-dropdownlist').show(); } else { $('.nav-dropdownlist').slideUp(); var dropOverlay = $(this).parent().find('.nav-dropdownlist'); if (screenSize >= 769 && screenSize <= 1210) { $('.slider-div').slideUp(); } } if (dropOverlay.is(':visible')) { dropOverlay.slideUp(); } else { dropOverlay.slideDown(); } }); } }; headerResize(); window.addEventListener('resize', debounce(headerResize, 150)); // See More/Less functionality for IPAD view $('.load').on('click',function() { $(this).hide(); const $parent = $(this).parent(), $target = $parent.find('.categories-list-item:nth-child(n+5)'); if ($(this).hasClass('expand')) { $target.show(); $parent.find('.contract').show(); } else { $target.hide(); $parent.find('.expand').show(); } }); //hamburger functionality for mobile view $('body').on('click','.hamburger-icon',function(){ $(this).toggleClass('close'); $(this).parent().find('.top-nav-link').removeClass('expand'); $(this).parent().find('.nav-dropdownlist').slideUp(); var sliderContainer = $('.header-section-center'); sliderContainer.animate({ width: "toggle" }); if (sliderContainer.is(':visible') && $('body').hasClass('navFixed')){ $('body').removeClass('navFixed'); } else { $('body').addClass('navFixed'); } // if (sliderContainer.is(':visible')) { // $('body').addClass('navFixed'); // } else { // $('body').removeClass('navFixed'); // } }); var ifuserlogin = 'loggedOut'; if(ifuserlogin == "loggedIn"){ var getendpointurl = ''; var getbrowser_lang = navigator.language; var getuserlang = 'en'; var getuserId = '-1'; var eslocale = 'no'; var getlogins = '2024-11-25T23:33:24+00:00'; if(getbrowser_lang.indexOf('es') != -1 && getuserlang != 'es-US' && eslocale == 'yes'){ $.ajax({ type: "POST", url: getendpointurl, data:{'newlang':'es-mx','getuser':getuserId}, async: true, success: function(data) { if ($.cookie('isLoaded') !== getlogins) { $.cookie('isLoaded', getlogins ); location.reload(); } else { } } }); } $('.setlang').click(function(){ var getlang = $(this).attr('id'); $.ajax({ type: "POST", url: getendpointurl, data:{'newlang':getlang,'getuser':getuserId}, async: true, success: function(data) { if(getlang == 'es'){ var url = "/t5/Seller-Community-US-ES/ct-p/Seller_Community_US-ES?profile.language=es-mx"; $(location).attr("href", url); } if(getlang == 'en'){ var url = "/t5/Seller-Community-US/ct-p/Seller_Community_US?profile.language=en#"; $(location).attr("href", url); } } }); }); } $('a.reply-action-link').on('click', function(evt) { EventstreamLogger.trackV2({ catalog_name: 'seller_community_reply',seller_community_reply_value:window.location.href}); }); $('input[value="Post"]').on('click', function(evt) { EventstreamLogger.trackV2({ catalog_name: 'seller_community_post',seller_community_post_value:window.location.href}); }); $('.lia-autocomplete-content ul').on('click', '[href]',function(evt){ EventstreamLogger.trackV2({ catalog_name: 'clicked_from_suggestion',clicked_from_suggestion_value: $(this).text()}); EventstreamLogger.trackV2({ catalog_name: 'thread_view',thread_view_value: $(this).text()}); }); $('#submitContext_0').on('click', function() { var query = $('#messageSearchField').val(); EventstreamLogger.trackV2({ catalog_name: 'seller_community_user_search',seller_community_user_search_query: query}); }); $('.external-search ul').on('click', '[href]',function(evt) { EventstreamLogger.trackV2({ catalog_name: 'redirect_external_search',redirect_external_search_value: $(this).attr('href')}); }); var localeValue = localStorage.getItem('storageLocal'); var ancestorslength = LITHIUM.CommunityJsonObject.CoreNode.ancestors.length; if(ancestorslength == 0 && localeValue == 'es-us'){ $('.signUp-btn a').attr("href", "https://squareup.com/signup/us?lang_code=es-us&country_code=us"); } }); })(LITHIUM.jQuery); /* Survey Modal For Seller Community*/ (function($) { var date = new Date(); date.setTime(date.getTime() + (90 * 24 * 60 * 60 * 1000)); var expires = "; expires=" + date.toGMTString(); var popUpCheck; function myTimer() { console.log("I am Check pop up cloase ever 10 sec") if(!$('body').hasClass('ada-frozen')){ $('.survey_modal').show(); clearInterval(popUpCheck); } } function openServayAfterChatFinsh(){ if($.trim(survey_cookie) == 'not_interested' || $.trim(survey_cookie) == 'survey_taken' || !third_visit){ $('.survey_modal').hide(); }else{ popUpCheck = setInterval(function(){ myTimer() }, 10000); } } function updateSurveyCustomContent(x,y){ console.log("In survey function x,y"); $.ajax({ url : "/plugins/custom/squareinc/squareinc/surveycustomcontentendpoint", data:{survey:x,servey_counter:y} }).done(function(res){ console.log("response",res); }); } function getSurveyUrl(){ var isAustrialLocale = false; var isUsLocale = false; console.log(isUsLocale) var isUsEsLocale = false; var spanishLocale = 'no'; var isUKLocale = false; var isFrLocale = false; var getCoreid = 'Seller_Community_US'; if(isAustrialLocale || getCoreid == 'Seller_Community_AU'){ return "https://www.getfeedback.com/r/DNwitDRB" } else if(isFrLocale || getCoreid == 'Communaute-Square'){ return "https://squareinsights.getfeedback.com/r/M3eswFo4/" } else if(isUKLocale || getCoreid == 'Seller_Community_UK'){ return "https://www.getfeedback.com/e/l7TElEbv" } else if(isUsEsLocale || spanishLocale == 'yes'){ return "https://www.getfeedback.com/e/pHE2PfvP/" } else if(isUsLocale || getCoreid == 'Seller_Community_US'){ try{ console.log("in try ") var customContent = "2"; console.log(customContent) var isOddUser = (customContent % 2 == 1); }catch(e){ console.log("in catch ") var isOddUser = false; } if(isOddUser){ console.log("odd ") //updateSurveyCustomContent("VwbUV42e"); updateSurveyCustomContent("VwbUV42e",2); return "https://www.getfeedback.com/r/VwbUV42e" } else{ console.log("even ") // updateSurveyCustomContent("ehIj8iSy"); updateSurveyCustomContent("ehIj8iSy",1); return "https://www.getfeedback.com/r/ehIj8iSy" } } else{ console.log("none") return "https://www.getfeedback.com/r/VwbUV42e" } } function checkForServayApplicable(){ if(false){ //console.log("DA ROLE"); return false; } if($('body').hasClass('ada-frozen')){ //console.log("ADA FROZEN"); openServayAfterChatFinsh(); return false; } return true; } /* Function To Get Cookie Value */ window.getCookie = function (name) { var value = "; " + document.cookie; var parts = value.split("; " + name + "="); if (parts.length == 2) return parts.pop().split(";").shift(); } /* Function To Get URL Parameters */ window.urlParam = function(name){ var results = new RegExp('[\?&]' + name + '=([^&#]*)').exec(window.location.href); if (results==null){ return null; } else{ return decodeURI(results[1]) || 0; } } var visit_cookie = getCookie('visit_count'); var third_visit = false; if(visit_cookie == null){ document.cookie = "visit_count=0"+ expires + "; path=/"; } visit_cookie = getCookie('visit_count'); if(parseInt(visit_cookie) >= 2){ third_visit = true; } else{ visit_cookie = parseInt(visit_cookie) + 1; third_visit = false; document.cookie = "visit_count="+visit_cookie+ expires + "; path=/"; } /* Check If Survey Has Been Taken Or Not */ var url_response = urlParam('utm_source'); if(url_response != '' && url_response == 'survey'){ document.cookie = "survey_modal=survey_taken"+ expires + "; path=/"; } /* Hide Popup If Survey is Taken Or User Is not Interested or It is not third time visit */ var survey_cookie = getCookie('survey_modal'); //console.log("Pop Up Running"); setTimeout(function(){ var httpRequestRefrer = "DirectUrlHit"; var haveYouWistedSomewhereInCommunity = httpRequestRefrer; //console.log("I will try to open pop up", haveYouWistedSomewhereInCommunity) if(haveYouWistedSomewhereInCommunity != "DirectUrlHit"){ //console.log("Not Direct Hit"); //localStorage.refrer = httpRequestRefrer; var isApplicalble = checkForServayApplicable(); //console.log("isApplicalble",isApplicalble) if(isApplicalble){ console.log("I am Opening pop up") $('.survey_modal').show(); } } if($.trim(survey_cookie) == 'not_interested' || $.trim(survey_cookie) == 'survey_taken' || !third_visit){ //console.log("Not Intrested",$.trim(survey_cookie),!third_visit); $('.survey_modal').hide(); } }, 90000); //}, 7000); /* Close Popup On The Click Of Cross Button */ $(document).on('click','.survey_modal .close_button_container .close_button', function(){ //console.log("Close "); $('.survey_modal').hide(); document.cookie = "survey_modal=not_interested"+ expires + "; path=/"; }); /* Redirect To Survey URL On Click Of Yes Button */ $(document).on('click','.survey_modal .approve_button_container .approve_button', function(){ window.open(getSurveyUrl(),"_blank"); }); })(LITHIUM.jQuery); ;(function($){ $(window).load(function(){ var decodedCookie = decodeURIComponent(document.cookie), splitCookies = decodedCookie.split(';'), cookieExist = false, node = "us"; var lang_cookie = document.cookie.split('; ').find(row => row.startsWith('custom.profile.language=')).split('=')[1]; for(let i = 0; i < splitCookies.length; i++) { let item = splitCookies[i]; while (item.charAt(0) == ' ') { item = item.substring(1); } if (item.indexOf("turn_off_tour=") == 0) { cookieExist = true; } } //console.log(cookieExist); var localStorageValue = localStorage.getItem('storageLocal'); //console.log("LSV",localStorageValue); if (cookieExist == false) { var getstartedLink, buttonLabel = 'Get Started with Square'; if (node == 'us') { getstartedLink = "https://squareup.com/signup?country_code"; } else if(node == 'australia') { getstartedLink = "https://squareup.com/signup/au?lang_code=en-AU"; } else if(node == 'japan') { getstartedLink = "https://squareup.com/signup?country_code=jp"; buttonLabel = "Squareの利用をはじめる"; } else if(node == 'uk') { getstartedLink = "https://squareup.com/signup?country_code=us&signup_token=1A024E3270"; } else if(node == 'france') { getstartedLink = "https://squareup.com/signup/fr?lang_code=fa"; buttonLabel = "Démarrer avec Square"; } else if(node == 'canada') { getstartedLink = "https://squareup.com/signup/ca?lang_code=en"; } else if(node == 'ireland') { getstartedLink = "https://squareup.com/signup/ie?lang_code=en"; } else if (node == 'spanish-us') { getstartedLink = "https://squareup.com/signup/us?lang_code=es-US"; } else if (node == 'spain') { getstartedLink = "https://squareup.com/signup/es?lang_code=es-es"; } else if (node == "global") { $.ajax({ url: '/plugins/custom/squareinc/squareinc/grz-custom-current-country', method: "GET" }).done(function(data) { var result = JSON.parse(data); var country = result.country.toLowerCase(); if (country == 'united states' || country == 'united states of america' || country == 'us' || country == 'usa') { if (lang_cookie == "es-mx") { getstartedLink = "https://squareup.com/signup/us?lang_code=es-US"; } else { getstartedLink = "https://squareup.com/signup?country_code"; } } else if(country == 'australia') { getstartedLink = "https://squareup.com/signup/au?lang_code=en-AU"; } else if(country == 'japan') { getstartedLink = "https://squareup.com/signup?country_code=jp"; buttonLabel = "Squareの利用をはじめる"; } else if(country == 'united kingdom' || country == 'united kingdom and northern ireland' || country == 'uk' || country == 'northern ireland') { getstartedLink = "https://squareup.com/signup?country_code=us&signup_token=1A024E3270"; } else if(country == 'france') { getstartedLink = "https://squareup.com/signup/fr?lang_code=fa"; buttonLabel = "Démarrer avec Square"; } else if(country == 'canada') { getstartedLink = "https://squareup.com/signup/ca?lang_code=en"; } else if(country == 'ireland') { getstartedLink = "https://squareup.com/signup/ie?lang_code=en"; } else if(country == 'spain') { getstartedLink = "https://squareup.com/signup/es?lang_code=es-es"; } else { getstartedLink = "https://squareup.com/signup?country_code"; } $('.getstarted-container').html('<div class="getstart-button"><i class="lia-fa lia-fa-times"></i><a target="_blank" href="'+ getstartedLink +'" role="button" id="'+ localStorageValue +'"><span>'+buttonLabel+'</span></a></div>').show(); }); }else { getstartedLink = "https://squareup.com/signup?country_code"; } $('.getstarted-container').html('<div class="getstart-button"><i class="lia-fa lia-fa-times"></i><a target="_blank" href="'+ getstartedLink +'" role="button" id="'+ localStorageValue +'"><span>'+buttonLabel+'</span></a></div>').show(); } }); $('body').on('click', '.getstarted-container .lia-fa-times', function(){ $('.getstarted-container').fadeOut( "slow" ); var now = new Date(); now.setMonth(now.getMonth() + 1); //now.setTime(now.getTime() + (2 * 60 * 1000)); document.cookie = 'turn_off_tour=true;expires='+now.toUTCString()+';path=/'; $('.getstarted-container').remove(); }); // var screenWidth = $(window).width(); // if (screenWidth <= 768) { // $('.getstarted-container').addClass('set-bottom'); // } let headerWidth = $(".lia-quilt-column-common-header").width(); let bodyWidth = $(window).width(); let rightValue = (bodyWidth - headerWidth)/2 + 5; $('.getstarted-container').css({right: rightValue}); $(window).resize(function() { if($(window).width() < 768) { $('.getstarted-container').css({display: "none"}); } else { headerWidth = $(".lia-quilt-column-common-header").width(); bodyWidth = $(window).width(); rightValue = (bodyWidth - headerWidth)/2 + 5; $('.getstarted-container').css({right: rightValue}); } }); $(window).scroll(function() { if($(window).scrollTop() + $(window).height() == $(document).height()) { $('.getstarted-container').fadeOut("slow"); } else{ $('.getstarted-container').fadeIn("slow"); } }); })(LITHIUM.jQuery); ;(function($) { $(document).ready(function(){ $(document).on('click','.beta-search-v2 .search-result .search .result-wrapper .ng-binding', function(){ console.log("clccccccccccccccccc"); var searchValue = $(this).html(); searchValue = searchValue.replaceAll('<b>','').replaceAll('</b>',''); console.log("searchValue",searchValue); $('.input-value').val(searchValue); var redirctionUrl = "/t5/forums/searchpage/tab/message?q=" + searchValue; window.location.href = redirctionUrl; }) }); })(LITHIUM.jQuery); LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#pageInformation","feedbackSelector":".InfoMessage"}); LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox","feedbackSelector":".InfoMessage"}); ;(function($){ var url = '/plugins/custom/squareinc/squareinc/grz-custom-getdiscussions-ep?tid=-4135679141143416938', categoryID = 'Seller_Community_US', showMore = 'true', limit = 10, count = 1, totalPosts, activeTab = $('.community-tab-link.active').data('id'), targetContainer = $('.community-tab-link.active').data('target'), screenSize; $(document).ready(function(){ screenSize = window.innerWidth; $('#'+targetContainer).show(); if(screenSize <= 640) { $('.community-tab-content').each(function(){ var placement = $(this).attr('id'); $(this).insertAfter('[data-target="'+placement+'"]'); }); } $(window).resize(function() { screenSize = window.innerWidth; if(screenSize <= 640) { $('.community-tab-content').each(function(){ var placement = $(this).attr('id'); $(this).insertAfter('[data-target="'+placement+'"]'); }); $('.community-tab-link.active').find('.community-tab-content').addClass('current'); } else { $('.community-tab-content').each(function(){ $(this).insertAfter('.community-tabs'); }); $('#'+$('.community-tab-link.active').data('target')).show(); } var isActive = false; $('.community-tab-link').each(function(){ if($(this).hasClass('active')) { isActive = true; } }); if (!isActive) { $('[data-target="featured-posts"]').addClass('active'); $('#featured-posts').show(); } }); fetchDiscussions({'tabDiscussions':activeTab,'categoryid':categoryID,'showmore':showMore,'pagesize':limit}, targetContainer); }); $('.community-tab-link').click(function(){ count = 1; targetContainer = $(this).data('target'); if (screenSize <= 640) { if ($(this).hasClass('active')){ $(this).removeClass('active'); $('.community-tab-content').removeClass('current'); } else { $('.community-tab-link').removeClass('active'); $('.community-tab-content').removeClass('current'); $(this).addClass('active'); $('#'+targetContainer).addClass('current'); $('.community-common-loader').insertAfter($(this)); } } else { $('.community-tab-container').append($('.community-common-loader')); $('.community-tab-content').removeClass('current'); $('#'+targetContainer).addClass('current'); $('.community-tab-link').removeClass('active'); $(this).addClass('active'); } activeTab = $(this).data('id'); fetchDiscussions({'tabDiscussions':activeTab,'categoryid':categoryID,'showmore':showMore,'pagesize':limit},targetContainer); if($(this).hasClass('active')) { $('#'+targetContainer).addClass('current'); } }); function fetchDiscussions(param, container, loadButton = false){ const loaderWrapper = $('.community-common-loader'); if (loadButton) { loaderWrapper.css('opacity','0.5'); loaderWrapper.find('.loader, span').hide(); } loaderWrapper.show(); $.ajax({ type: "POST", url: url, data: param, success: function(data) { if (param.hasOwnProperty('count')) { $(data).insertBefore('.load-btn'); } else { $('#'+container).html(data); } loaderWrapper.hide(); if (loadButton) { loaderWrapper.css('opacity','1'); loaderWrapper.find('.loader, span').show(); } }, complete: function (data) { totalPosts = $('#'+container).find('.total-threads').text(); var loadedPostCount = $('#'+container).find('.cards-display').length; if (loadedPostCount == parseInt(totalPosts)) { $('[data-action="load"]').html('Show Less').attr('data-type','less'); } } }); } $(document).on('click','[data-action="load"]', function() { count += 1; var activeContainer = '#'+$('.community-tab-link.active').data('target'); var loadedPostCount = $(activeContainer).find('.cards-display').length; if ($(this).attr('data-type')=='less') { count = 1; window.scrollTo({top: $(activeContainer).offset().top - 100, behavior: 'smooth'}); var removePosts = $(activeContainer).find('.cards-display:gt('+(limit-1)+')'); removePosts.fadeOut(); $(this).html('Show More').attr('data-type','more'); removePosts.remove(); loadedPostCount = limit; } else { if (loadedPostCount < parseInt(totalPosts) ) { $(this).addClass('disable'); fetchDiscussions({'tabDiscussions':activeTab,'categoryid':categoryID,'showmore':showMore,'pagesize':limit,'count':count,'page':count}, $(this).parent().attr('id'), true); $(this).removeClass('disable'); } } }); })(LITHIUM.jQuery); LITHIUM.UserListActual({"acceptedSolutionsColumnSelector":".UserList .lia-list-row .acceptedSolutionsCountColumn","kudosColumnSelector":".UserList .lia-list-row .kudosCountColumn"}); (function($){ $(document).ready(function(){ const isAnonymous = LITHIUM.CommunityJsonObject.User.isAnonymous; var locale = localStorage.getItem("storageLocal"); // if(LITHIUM.CommunityJsonObject.Config.phase == "prod") { // var timezone = localStorage.getItem("timezone"), // locale = localStorage.getItem("storageLocal"); // const ancestorsLength = LITHIUM.CommunityJsonObject.CoreNode.ancestors.length; // var firstAncestor = ""; // if (ancestorsLength == 1) { // firstAncestor = LITHIUM.CommunityJsonObject.CoreNode.ancestors[0].id; // } // if(timezone == null) { // $.ajax({ // url: '/plugins/custom/squareinc/squareinc/grz-custom-current-country', // method: "GET" // }).done(function(data) { // var result = JSON.parse(data); // timezone = result.timezone; // }); // } // if (timezone != null && timezone.includes("Europe")) { // $("[data-id='opt-out-option']").show(); // } else { // $("[data-id='opt-out-option']").remove(); // } // //console.log(4); // } if(isAnonymous && 4==0) { $.ajax({ url: '/plugins/custom/squareinc/squareinc/grz-custom-footer', method: "GET", data: {locale: locale}, }).done(function(data) { $('.FooterNew').html(data); }); } $(document).on("click",'.toggleFooter',function () { if ($(window).width() <= 375) { console.log($(this).parent().find(".footerContent").text()); $(this).parent().find(".footerContent").slideToggle(); $(this).children().find("i").toggleClass("lia-fa-angle-down").toggleClass("lia-fa-angle-up"); } }); }); })(LITHIUM.jQuery); LITHIUM.PartialRenderProxy({"limuirsComponentRenderedEvent":"LITHIUM:limuirsComponentRendered","relayEvent":"LITHIUM:partialRenderProxyRelay","listenerEvent":"LITHIUM:partialRenderProxy"}); LITHIUM.AjaxSupport.defaultAjaxFeedbackHtml = "<div class=\"lia-inline-ajax-feedback lia-component-common-widget-ajax-feedback\">\n\t\t\t<div class=\"AjaxFeedback\" id=\"ajaxFeedback_243c8517b500e0\"><\/div>\n\t\t\t\n\t\n\n\t\n\n\t\t<\/div>"; LITHIUM.AjaxSupport.defaultAjaxErrorHtml = "<span id=\"feedback-errorfeedback_243c8517c90334\"> <\/span>\n\n\t\n\t\t<div class=\"InfoMessage lia-panel-feedback-inline-alert lia-component-common-widget-feedback\" id=\"feedback_243c8517c90334\">\n\t\t\t<div role=\"alert\" class=\"lia-text\">\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t<p ng-non-bindable=\"\" tabindex=\"0\">\n\t\t\t\t\t\tSorry, unable to complete the action you requested.\n\t\t\t\t\t<\/p>\n\t\t\t\t\n\n\t\t\t\t\n\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t<\/div>\n\n\t\t\t\n\t\t<\/div>"; LITHIUM.AjaxSupport({"ajaxOptionsParam":{"event":"LITHIUM:partialRenderProxyRelay","parameters":{"javascript.ignore_combine_and_minify":"true"}},"tokenId":"ajax","elementSelector":document,"action":"partialRenderProxyRelay","feedbackSelector":false,"url":"https://www.sellercommunity.com/t5/community/categorypage.liabase.basebody.partialrenderproxy:partialrenderproxyrelay?t:ac=category-id/Seller_Community_US","ajaxErrorEventName":"LITHIUM:ajaxError","token":"HWGOsvYbd2wR2NTdGva6HSbqkKR5_Wmhbu68eK0FK2I."}); LITHIUM.Auth.API_URL = "/t5/util/authcheckpage"; LITHIUM.Auth.LOGIN_URL_TMPL = "/plugins/common/feature/oauth2sso/sso_login_redirect?referer=https%3A%2F%2FREPLACE_TEXT"; LITHIUM.Auth.KEEP_ALIVE_URL = "/t5/status/blankpage?keepalive"; LITHIUM.Auth.KEEP_ALIVE_TIME = 300000; LITHIUM.Auth.CHECK_SESSION_TOKEN = 'ydLneA94YQ3QTn-MQ1VHg4MCFx3k9WeIjzaWb5ZIyU8.'; LITHIUM.AjaxSupport.useTickets = false; LITHIUM.Loader.runJsAttached(); // --> </script><script type="text/javascript"> /* Hover cards functionality for Lithium Communities */ (function($) { //START END-USER CONFIGURATION //------------------------------ //selectors for hover card triggers var allHoverCardTriggers = '.authors a, .messageauthorusername a, a.lia-user-name-link, .js-latest-post-by-from a, .user-online-list li a, a.UserAvatar, .ViewProfilePage img.lia-user-avatar-profile, .customUsersOnline a, #authors a, .username a.view-profile-link, .user-cardheader .user-avater a, .user-cardheader .user-name a'; //unfortunately all environment paths to endpoints are different if(window.location.host=='uuotz38957.stage.lithium.com'){ var userApiUrl = '/plugins/custom/squareinc/squareinc/hovercardendpoint?user_id='; } else { var userApiUrl = '/plugins/custom/squareinc/squareinc/hovercardendpoint?user_id='; } //------------------------------ //STOP END-USER CONFIGURATION if(jQuery('.hover-card-container').length<1){ jQuery('body').append('<div class="hover-card-container"></div>'); } var cardWrapper = jQuery('.hover-card-container'); var error = false; var thisUserID = ''; var cardTimer; function mouseenter(Elem) { //console.log('mouseenter'); var thisEl = Elem; cardTimer = setTimeout(function(){ var docWidth = jQuery(document).width(); var rightSide = false; //return user id var userLink = thisEl.attr('href'); if(jQuery('.ViewProfilePage').length && jQuery('img.lia-user-avatar-profile',thisEl).length){ thisUserID = 'jQuery{userid}'; } else if(thisEl.attr('href')=='#'){ var userLink = "#"; return false; } else{ var thisLen = (userLink).split('/'); thisUserID = (thisLen)[thisLen.length-1]; } var thisCard = jQuery('.profileCard[data-user='+thisUserID+']',cardWrapper); var thisElLeftOffset = Math.round(thisEl.offset().left+(thisEl.width())); var thisElTopOffset = Math.round(thisEl.offset().top+(thisEl.height()/2)-139); if((thisElLeftOffset+387)>=docWidth){ //hover card is too far to the right of the screen var thisElLeftOffset = Math.round(thisEl.offset().left-387); rightSide = true; } if(thisCard.length && jQuery('.profileCard[data-user='+thisUserID+'] .preloader',cardWrapper).length<1){ jQuery('.profileCard',cardWrapper).hide(); rightSide?thisCard.addClass('rightArrow'):thisCard.removeClass('rightArrow'); thisCard.delay(500).css({'top':thisElTopOffset,'left':thisElLeftOffset}).stop().show(); } else { var ajaxReturn = ''; //just in case thisCard.remove(); //hover card wrapper markup var rightArrowClass = rightSide?'rightArrow':''; var profileCardHtml = '<div class="profileCard '+rightArrowClass+'" style="display:block;top:'+thisElTopOffset+'px;left:'+thisElLeftOffset+'px;" data-user="'+thisUserID+'"><div class="inner"><img src="/html/assets/loading.gif" class="preloader" style="margin:80px auto;display:block;" /></div></div>'; jQuery.when( //get the background jQuery.ajax({ type: 'GET', url: userApiUrl+thisUserID, dataType: 'html', success: function(data) { jQuery('.profileCard',cardWrapper).hide(); ajaxReturn = data; } }) ) .done(function(){ cardWrapper.append(profileCardHtml); jQuery('.profileCard[data-user='+thisUserID+']',cardWrapper).eq(0).empty().html(ajaxReturn).on({mouseleave: function() { clearTimeout(cardTimer); if(jQuery('.profileCard[data-user='+thisUserID+']',cardWrapper).length){ jQuery('.profileCard[data-user='+thisUserID+']',cardWrapper).delay(200).fadeOut('fast'); } } }); if(jQuery('.profileCard[data-user='+thisUserID+'] .preloader',cardWrapper).length){ jQuery('.profileCard[data-user='+thisUserID+'] .preloader',cardWrapper).parents('div.profileCard').remove(); } }) .fail(function(){ //uh oh - bail out! jQuery('.profileCard',cardWrapper).hide(); }); } },400); } function mouseleave() { //console.log('mouseleave'); clearTimeout(cardTimer); if(jQuery('.profileCard[data-user='+thisUserID+']',cardWrapper).length){ jQuery('.profileCard[data-user='+thisUserID+']',cardWrapper).delay(200).fadeOut('fast'); } } jQuery(document).on("mouseenter", allHoverCardTriggers, function(event) { //console.log('document-mouseenter'); if(!(jQuery(this).parents().hasClass('new-header-container'))){ mouseenter(jQuery(this)); event.stopPropagation(); } }); jQuery(document).on("mouseleave", allHoverCardTriggers, function(event) { //console.log('document-mouseleave'); mouseleave(); event.stopPropagation(); }); })(LITHIUM.jQuery); </script> <style> /* ----------------------- Profile Hover Cards (start) ------------------------------------- */ .hover-card-container{ } .hover-card-container .profileCard { display: none; padding: 0 0 0 17px; position: absolute; z-index: 200; } .hover-card-container .rightArrow { padding: 0 17px 0 0; } .hover-card-container .profileCard .inner { background: #fff; width: 420px; height: auto; border-radius:3px; border:1px solid #e0e0e0; } .hover-card-container .profileCard:hover { display: block !important; opacity: 1 !important; -ms-filter:'progid:DXImageTransform.Microsoft.Alpha(Opacity=100)' !important; filter:alpha(opacity=100) !important; } .hover-card-container .profileCard span.hover-arrow { height: 24px; left: 6px; position: absolute; top: 129px; width: 24px; background: #fafafa; transform: rotate(45deg); border: 1px solid #e8e8e8; z-index: -1111; } .hover-card-container .rightArrow span.hover-arrow { right: 4px; left: auto; background: url(/html/assets/hovercard-arrow-right.png) top right no-repeat; } .hover-card-container .profileCard .js-user-name { position: relative; padding: 15px 13px; background-size: 100%; border-top-right-radius: 3px; border-top-left-radius: 3px; display: inline-block; width: 100%; } .hover-card-container .profileCard .js-user-name .lia-badge-user-info img.lia-user-rank-icon-left { height: 12px; } .hover-card-container .profileCard .js-user-name > a { display: inline-block; float: left; width: 70px; margin-right: 20px; margin-left: 10px; border-radius: 50%; position: relative; background-color: #3B4043; } .hover-card-container .profileCard .js-user-name .lia-badge-user-info { display: inline-block; position: relative; font-size: 12px; width: 290px; } .hover-card-container .profileCard .js-user-name .lia-badge-user-info a.lia-user-name-link { font-size: 17px; font-weight:500; } .hover-card-container .profileCard .js-user-name .lia-badge-user-info a.lia-user-name-link span.login-bold { font-weight: bold; } .hover-card-container .profileCard .js-user-name .lia-badge-user-info .lia-user-rank { font-size: 12px; color: #c3c3c3; } .hover-card-container .profileCard .js-badge { background: #FAFAFA; padding: 2px 0px 2px 0px; height: auto; border-top: 1px solid #e0e0e0; border-bottom: 1px solid #e0e0e0; text-align: center; } .hover-card-container .profileCard .js-badge ul li { display: inline-block; margin: 0 9px 0px 5px; color: #acacac; font-size: 14px; width: 55px; height: 55px; } .hover-card-container .profileCard .js-badge ul li.noBadges, .hover-card-container .profileCard .js-badge ul li.badgeTotal { margin: 0; } .hover-card-container .profileCard .js-badge ul li.badgeTotal { position: relative; } .hover-card-container .profileCard .js-badge ul li.badgeTotal a { position: absolute; top: 0; border: 1px solid #acacac; display: block; border-radius: 20px; font-size: 14px; height: 39px !important; line-height: 39px; text-align: center; color: #acacac !important; font-weight: bold; width: 39px !important; } .hover-card-container .profileCard .js-badge ul li.noBadges { width: auto; height: auto; } .hover-card-container .profileCard ul.js-user-stats { padding-top: 5px; padding-bottom: 0px; padding-left: 50px; } .hover-card-container .profileCard ul.js-user-stats li { float: left; width: 30%; display: inline; margin: 5px 0 !important; } .hover-card-container .profileCard ul.js-user-stats li span { display: inline !important; } .hover-card-container .profileCard ul.js-user-stats li span.label { font-size: 14px; } .hover-card-container .profileCard ul.js-user-stats li span.value { font-size: 14px; color: #808080; } .hover-card-container .profileCard ul.js-action { padding:0px 35px; } .hover-card-container .profileCard ul.js-action li a { font-size: 14px; font-weight: bold; line-height: 12px; padding: 15px 0 15px 0; text-align: center; text-transform: uppercase; } .hover-card-container .profileCard ul.js-action li { width: 48%; text-align: center; display: inline-block !important; padding: 0px 10px 10px 10px; } .hover-card-container .profileCard ul.js-action li.send-msg { width: 48%; } .hover-card-container .profileCard ul.js-action li a { display: block; color: #fff; background: #2996CC; border-radius: 4px; font-weight: normal; font-size: 13px; } .hover-card-container .clearboth { clear: both; } /****** tb_moderntech */ .hover-card-container .profileCard .lia-badge-theme-tb_moderntech .lia-user-rank { color:#333333 !important;} /****** tb_splat */ .hover-card-container .profileCard .lia-badge-theme-tb_splat .lia-user-rank { color:#000000 !important;} /****** tb_bayfog */ /****** tb_tokyomadness */ /* Custom Css **/ .hover-card-container .lia-user-name span.userProfile a { white-space: normal; } .hover-card-container .lia-user-name span.user-role{ text-transform: uppercase; color: #9DA6B2; } .hover-card-container .profileCard .js-user-name a img.lia-user-avatar-message { height: 70px; width: 70px; border-radius: 50%; object-fit: cover; } .hover-card-container .lia-user-name span { display: block; color: #BBBDBF; } a.lia-link-navigation.lia-page-link.lia-user-name-link { color: #1B2126; } .js-badge ul li a img { width: 100%; } div.js-badge ul { margin-bottom: 0px; margin-left: 0px; margin-right: 0px; padding: 5px; } .hover-card-footer { text-align: center; } /* ----------------------- Profile Hover Cards (end) ------------------------------------- */ </style> </body> </html>