shelf decor


shelf decor | Pottery Barn--> !function() { var frag = document.createDocumentFragment(); var innerShiv = WSI.innerShiv = frag.createElement(“div”); frag.appendChild(innerShiv); “abbr article aside audio canvas details figcaption figure footer header hgroup mark meter nav output progress section summary time video”.replace(/w+/g, function(n) { document.createElement(n); frag.createElement(n); }); }(); [%= productImageAlt %] [% } %]

[%= title %] Item: [%= catalog %]-[%= sku %] [%= quantity %] [%= price %] [% if (backorder != “”) { %] This item is available to ship on approximately [%= backorder %] [% } %] [% if (monogramLineItems != “”) { %]

    [%= monogramLineItems %] [% } %] ]]>

]]>close [%=ajaxContent%] ]]>close [%=ajaxContent%] ]]>= giftThresh) { Nojo.style(giftCardLink, { opacity: (Math.min(Math.max(0, giftScrollY – giftThresh) / giftThresh, 1)), display:”inline” }); } else { Nojo.style(giftCardLink,{ opacity: 0, display:”none” }); } }; if (Tbx.byId(“pull-down-promo”)) { var promoOffset = Nojo.position(“pull-down-promo”).h; } else { var promoOffset = 0; }; var link = Tbx.byId(“gototop”), thresh = 100; Nojo.style(link,{ opacity: 0, display:”none” }); Nojo.connect(window,”onscroll”,function(e) { var scrollY = -Nojo.position(Nojo.body()).y – promoOffset; if(scrollY >= thresh){ Nojo.style(link, { opacity: (Math.min(Math.max(0, scrollY – thresh) / thresh, 1)), display:”inline” }); } else { Nojo.style(link,{ opacity: 0, display:”none” }); } }); var overlay = wsgc.js.Overlay.getByHref(‘https://www.potterybarn.com/international/setcountry.html’); overlay.addOnShown(function() { WSI.intl.flagBasedCurrencySelector(overlay); WSI.dataLayer._addChild( { page : { pageName : “international shipping to”, pageCategory : { primaryCategory : “international” } , pageType: “overlay” , attributes : { cmPageId : “INTERNATIONAL: SHIPPING TO” , cmCategoryId : “INTERNATIONAL” } } } ); }); var overlay = wsgc.js.Overlay.getByHref(‘https://www.potterybarn.com/international/setcountry.html’); overlay.addOnShown(function() { WSI.intl.flagBasedCurrencySelector(overlay); WSI.dataLayer._addChild( { page : { pageName : “international shipping to”, pageCategory : { primaryCategory : “international” } , pageType: “overlay” , attributes : { cmPageId : “INTERNATIONAL: SHIPPING TO” , cmCategoryId : “INTERNATIONAL” } } } ); }); WSI.searchController = new wsgc.common.js.SearchController(); new wsgc.js.QuickCart(); wsgc.js.Overlay.addOnShowByHref(“#racOverlay”, function() { mboxDefine(“pb-rac-mbox”, “pb_rac”); mboxUpdate(“pb_rac”); }); wsgc.js.Overlay.addOnShowingByHref(‘#racOverlay’, function(overlay) { WSI.dataLayer._addChild( { page : { pageName : “ECOMMERCE CONFIRMATION-RICH”, pageCategory : { primaryCategory : “addItem” } , attributes : { cmPageId : “ECOMMERCE CONFIRMATION-RICH” , cmCategoryId : “RICH_ADD_TO_CART” } } } ); }); if(wsgc.js.registry) { WSI.registry = new wsgc.js.registry.Registry({ id:””, registryId:””, fromListPage:false, giftGiver:false, fromRegistryList:false, registryGiftGiver:false, cmCategoryId:’E:REGUNKNOWN’ }); WSI.registry.giftGiver = false; WSI.regData = WSI.regData || {fromrgl : 0, isRegistrant : 0, isCompletion : 0, registrantId: “”}; } wsgc.js.Overlay.addOnShowingByHref(‘#rarOverlay’, function(overlay) { var currentRegistryId = (WSI.registry ? WSI.registry.getCurrentRegistryId() : null), regPath = (currentRegistryId ? currentRegistryId+’/’ : ”); WSI.dataLayer._addChild( { page : { pageName : “REGISTRY CONFIRMATION-RICH”, pageCategory : { primaryCategory : “addItem” } , attributes : { cmPageId : “REGISTRY CONFIRMATION-RICH” , cmCategoryId : “RICH_ADD_TO_CART” } } } ); wsgc.js.registry.Registry.fireCMCustomTags(); Tbx.byId(‘rarViewMyRegistry’).href = “https://www.potterybarn.com/registry/”+regPath+’registry-list.html?showCompletionOverlay=false’; }); WSI.Init.onLoad(‘js.external.opinionlab’, function opinionlabSetup() { window.performance.mark(‘opinion_labs_desktop_setup_start’); var s = document.createElement(“script”); s.id = “opinion_labs_feedback”; s.type = “text/javascript”; s.src = “https://www.potterybarn.com/pbimgs/ab/images/s/202042/0002/js/external/opinionlab.js”; document.body.appendChild(s); window.performance.mark(‘opinion_labs_desktop_setup_end’); }, WSI.load.postload); wsgc.js.Overlay.addOnShownByHref(‘#registrySweepsOverlay’, function(overlay) { }); WSI.intl = new wsgc.js.IntlUtils(); WSI.utils.setStylesheetLoaded([ ‘https://assets.pbimgs.com/pbimgs/ab/images/i/202047/0038/css/new-core.css’, ‘https://assets.pbimgs.com/pbimgs/ab/images/i/202047/0038/css/search.css’, ‘https://assets.pbimgs.com/pbimgs/ab/images/i/202047/0038/css/search/productSearch.css’, ‘https://assets.pbimgs.com/pbimgs/ab/images/i/202047/0038/css/search/product-search.css’, ‘https://assets.pbimgs.com/pbimgs/ab/images/i/202047/0038/css/search/product-search-ab-test.css’ ]); }); WSI.designChatConfig = { brand: “WE”, contactPoint: “pottery-barn”, copy: { “title”: “Design Question?”, “label”: “Start a Free Design Chat”, “url”: “#” }, thirdPartyScript: “https://westelm.quiq-api.com/app/webchat/index.js”, designChatScript: “https://www.potterybarn.com/pbimgs/ab/images/s/202042/0002/js/dojo/wsgc/designChat.js”, designChatStyle: “https://assets.pbimgs.com/pbimgs/ab/images/i/202038/0002/css/design-chat/design-chat.css”, forceOpenDesignChat: function(arguments) { // Boilerplate for command queue // https://developers.google.com/analytics/devguides/collection/analyticsjs/command-queue-reference WSI.designChatConfig.forceOpenDesignChat.calls = WSI.designChatConfig.forceOpenDesignChat.calls || []; WSI.designChatConfig.forceOpenDesignChat.calls.push(arguments); }, showUnavailableDesignChat: function(arguments) { // Boilerplate for command queue // https://developers.google.com/analytics/devguides/collection/analyticsjs/command-queue-reference WSI.designChatConfig.showUnavailableDesignChat.calls = WSI.designChatConfig.showUnavailableDesignChat.calls || []; WSI.designChatConfig.showUnavailableDesignChat.calls.push(arguments); } }; WSI.designChatConfig.isDesignChatCtaEligible = true; WSI.designChatConfig.isMobile = false; WSI.designChatConfig.conceptCode = ”; WSI.designChatConfig.isDesignChatEnabled = true; if (!WSI.designChatConfig.isDesignChatEnabled) { WSI.designChatConfig.designChatScript = “https://www.potterybarn.com/pbimgs/ab/images/s/202042/0002/js/dojo/wsgc/unavailableDesignChat.js”; } WSI.designChatConfig.isDesignChatAbTestEnabled = false; WSI.designChatConfig.isDesignChatAbVariantTest = false; function shouldForceOpenChat() { var regex = /?(.*&)?forceOpenDesignChat=true/; return regex.test(window.location.search); } if (shouldForceOpenChat()) { WSI.designChatConfig.forceOpenDesignChat(); } ]]>

Source

Leave a Reply