{"id":9,"date":"2022-04-06T16:37:39","date_gmt":"2022-04-06T14:37:39","guid":{"rendered":"https:\/\/bobbysdemosite.se\/cart\/"},"modified":"2026-03-14T23:43:50","modified_gmt":"2026-03-14T22:43:50","slug":"cart","status":"publish","type":"page","link":"https:\/\/bybobbys.com\/sv\/cart\/","title":{"rendered":"Varukorg"},"content":{"rendered":"\n\n\n\n<script>\ndocument.addEventListener(\"DOMContentLoaded\", function() {\n    \/\/ 1. Safely inject the CSS into the header\n    const style = document.createElement('style');\n    style.innerHTML = `\n        .floating-checkout-bar {\n            position: fixed; bottom: 0; left: 0; width: 100%;\n            background-color: #ffffff; padding: 15px 20px; box-sizing: border-box;\n            box-shadow: 0 -4px 12px rgba(0,0,0,0.08); z-index: 9999;\n            transition: opacity 0.3s ease, transform 0.3s ease; opacity: 0; transform: translateY(100%);\n            pointer-events: none;\n            \/* Flexbox makes them sit side-by-side perfectly *\/\n            display: flex; align-items: center; justify-content: space-between; gap: 24px; \n        }\n        \n        @media (min-width: 992px) {\n            .floating-checkout-bar { display: none !important; }\n        }\n        \n        \/* The Quiet Text Link (Left) *\/\n        .sticky-continue-btn {\n            color: #333333 !important; \n            text-decoration: none !important; \n            font-size: 14px !important; \n            font-weight: 500 !important; \n            margin-right: 6px;\n            white-space: nowrap; \/* Prevents text from breaking into two lines *\/\n        }\n        \n        \/* The Loud Teal Button (Right) *\/\n        .my-custom-teal-btn {\n            background-color: #008B8B !important; \n            color: #ffffff !important;\n            border-radius: 5px !important; \n            padding: 12px 0 !important; \n            font-size: 16px !important; \n            font-weight: 500 !important;\n            text-decoration: none !important; \n            display: block; \n            flex: 1; \/* Tells the button to stretch and fill all remaining space *\/\n            text-align: center; \n        }\n        \n        .floating-checkout-bar.is-visible {\n            opacity: 1; transform: translateY(0); pointer-events: auto;\n        }\n    `;\n    document.head.appendChild(style);\n\n    \/\/ 2. Build the elements\n    const floatingBar = document.createElement('div');\n    floatingBar.className = 'floating-checkout-bar';\n    \n    \/\/ Dynamically grab the correct shop URL from your existing button (failsafe to \/shop)\n    const existingContinueBtn = document.querySelector('a.button.wc-backward');\n    const shopUrl = existingContinueBtn ? existingContinueBtn.href : '\/shop\/';\n\n    \/\/ Create the Continue Shopping link\n    const continueBtn = document.createElement('a');\n    continueBtn.href = shopUrl;\n    continueBtn.className = 'sticky-continue-btn';\n    continueBtn.innerText = 'Forts\u00e4tt handla';\n    \n    \/\/ Create the Checkout button\n    const floatingBtn = document.createElement('a');\n    floatingBtn.href = '\/checkout\/';\n    floatingBtn.className = 'my-custom-teal-btn';\n    floatingBtn.innerText = 'Till kassan';\n    \n    \/\/ Add them to the bar (Left to Right)\n    floatingBar.appendChild(continueBtn);\n    floatingBar.appendChild(floatingBtn);\n    document.body.appendChild(floatingBar); \n\n    \/\/ 3. Scroll logic\n    const originalBtn = document.querySelector('.checkout-button.button.alt.wc-forward');\n    \n    if (originalBtn) {\n        const observer = new IntersectionObserver((entries) => {\n            entries.forEach(entry => {\n                const isBelowViewport = entry.boundingClientRect.top > 0;\n                if (!entry.isIntersecting && isBelowViewport) {\n                    floatingBar.classList.add('is-visible');\n                } else {\n                    floatingBar.classList.remove('is-visible');\n                }\n            });\n        }, { threshold: 0 });\n\n        observer.observe(originalBtn);\n    }\n});\n<\/script>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-9","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Varukorg &#187; Bobbys Hair Care<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/bybobbys.com\/sv\/cart\/\" \/>\n<meta property=\"og:locale\" content=\"sv_SE\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Varukorg &#187; Bobbys Hair Care\" \/>\n<meta property=\"og:url\" content=\"https:\/\/bybobbys.com\/sv\/cart\/\" \/>\n<meta property=\"og:site_name\" content=\"Bobbys Hair Care\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/bobbyoduncusweden\/\" \/>\n<meta property=\"article:modified_time\" content=\"2026-03-14T22:43:50+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Ber\u00e4knad l\u00e4stid\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minut\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/bybobbys.com\\\/sv\\\/cart\\\/\",\"url\":\"https:\\\/\\\/bybobbys.com\\\/sv\\\/cart\\\/\",\"name\":\"Varukorg &#187; Bobbys Hair Care\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/bybobbys.com\\\/sv\\\/#website\"},\"datePublished\":\"2022-04-06T14:37:39+00:00\",\"dateModified\":\"2026-03-14T22:43:50+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/bybobbys.com\\\/sv\\\/cart\\\/#breadcrumb\"},\"inLanguage\":\"sv-SE\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/bybobbys.com\\\/sv\\\/cart\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/bybobbys.com\\\/sv\\\/cart\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/bybobbys.com\\\/sv\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Varukorg\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/bybobbys.com\\\/sv\\\/#website\",\"url\":\"https:\\\/\\\/bybobbys.com\\\/sv\\\/\",\"name\":\"Bobbys Hair Care\",\"description\":\"Lyxig h\u00e5rv\u00e5rd av h\u00f6gsta salongskvalitet\",\"publisher\":{\"@id\":\"https:\\\/\\\/bybobbys.com\\\/sv\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/bybobbys.com\\\/sv\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"sv-SE\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/bybobbys.com\\\/sv\\\/#organization\",\"name\":\"Bobbys Hair Care\",\"url\":\"https:\\\/\\\/bybobbys.com\\\/sv\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"sv-SE\",\"@id\":\"https:\\\/\\\/bybobbys.com\\\/sv\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":null,\"contentUrl\":null,\"width\":1024,\"height\":1024,\"caption\":\"Bobbys Hair Care\"},\"image\":{\"@id\":\"https:\\\/\\\/bybobbys.com\\\/sv\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/bobbyoduncusweden\\\/\",\"https:\\\/\\\/www.instagram.com\\\/bobbyoduncusweden\\\/\"],\"hasMerchantReturnPolicy\":{\"@type\":\"MerchantReturnPolicy\",\"merchantReturnLink\":\"https:\\\/\\\/bybobbys.com\\\/sv\\\/villkor\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Varukorg &#187; Bobbys Hair Care","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/bybobbys.com\/sv\/cart\/","og_locale":"sv_SE","og_type":"article","og_title":"Varukorg &#187; Bobbys Hair Care","og_url":"https:\/\/bybobbys.com\/sv\/cart\/","og_site_name":"Bobbys Hair Care","article_publisher":"https:\/\/www.facebook.com\/bobbyoduncusweden\/","article_modified_time":"2026-03-14T22:43:50+00:00","twitter_card":"summary_large_image","twitter_misc":{"Ber\u00e4knad l\u00e4stid":"1 minut"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/bybobbys.com\/sv\/cart\/","url":"https:\/\/bybobbys.com\/sv\/cart\/","name":"Varukorg &#187; Bobbys Hair Care","isPartOf":{"@id":"https:\/\/bybobbys.com\/sv\/#website"},"datePublished":"2022-04-06T14:37:39+00:00","dateModified":"2026-03-14T22:43:50+00:00","breadcrumb":{"@id":"https:\/\/bybobbys.com\/sv\/cart\/#breadcrumb"},"inLanguage":"sv-SE","potentialAction":[{"@type":"ReadAction","target":["https:\/\/bybobbys.com\/sv\/cart\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/bybobbys.com\/sv\/cart\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/bybobbys.com\/sv\/"},{"@type":"ListItem","position":2,"name":"Varukorg"}]},{"@type":"WebSite","@id":"https:\/\/bybobbys.com\/sv\/#website","url":"https:\/\/bybobbys.com\/sv\/","name":"Bobbys Hair Care","description":"Lyxig h\u00e5rv\u00e5rd av h\u00f6gsta salongskvalitet","publisher":{"@id":"https:\/\/bybobbys.com\/sv\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/bybobbys.com\/sv\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"sv-SE"},{"@type":"Organization","@id":"https:\/\/bybobbys.com\/sv\/#organization","name":"Bobbys Hair Care","url":"https:\/\/bybobbys.com\/sv\/","logo":{"@type":"ImageObject","inLanguage":"sv-SE","@id":"https:\/\/bybobbys.com\/sv\/#\/schema\/logo\/image\/","url":null,"contentUrl":null,"width":1024,"height":1024,"caption":"Bobbys Hair Care"},"image":{"@id":"https:\/\/bybobbys.com\/sv\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/bobbyoduncusweden\/","https:\/\/www.instagram.com\/bobbyoduncusweden\/"],"hasMerchantReturnPolicy":{"@type":"MerchantReturnPolicy","merchantReturnLink":"https:\/\/bybobbys.com\/sv\/villkor\/"}}]}},"meta_box":{"bobby_page_custom_head_html":"","group_page":[{"bobby_page_custom_language":"en"},{"bobby_page_custom_language":"fi"},{"bobby_page_custom_language":"dk"},{"bobby_page_custom_language":"no"},{"bobby_page_custom_language":"de"},{"bobby_page_custom_language":"nl"},{"bobby_page_custom_language":"es"},{"bobby_page_custom_language":"pl"}]},"_links":{"self":[{"href":"https:\/\/bybobbys.com\/sv\/wp-json\/wp\/v2\/pages\/9","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bybobbys.com\/sv\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/bybobbys.com\/sv\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/bybobbys.com\/sv\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bybobbys.com\/sv\/wp-json\/wp\/v2\/comments?post=9"}],"version-history":[{"count":34,"href":"https:\/\/bybobbys.com\/sv\/wp-json\/wp\/v2\/pages\/9\/revisions"}],"predecessor-version":[{"id":1095525,"href":"https:\/\/bybobbys.com\/sv\/wp-json\/wp\/v2\/pages\/9\/revisions\/1095525"}],"wp:attachment":[{"href":"https:\/\/bybobbys.com\/sv\/wp-json\/wp\/v2\/media?parent=9"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}