{"id":9487,"date":"2019-06-14T11:10:46","date_gmt":"2019-06-14T11:10:46","guid":{"rendered":"https:\/\/crocoblock.com\/knowledge-base\/?post_type=article&#038;p=9487"},"modified":"2025-07-24T12:44:01","modified_gmt":"2025-07-24T12:44:01","slug":"woocommerce-shopping-cart-widget-overview","status":"publish","type":"article","link":"https:\/\/crocoblock.com\/knowledge-base\/jetblocks\/woocommerce-shopping-cart-widget-overview\/","title":{"rendered":"WooCommerce Shopping Cart Widget Overview"},"content":{"rendered":"\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\"><div class=\"wp-block-group__inner-container\">\n<p><em>JetBlocks<\/em>, in cooperation with the <a href=\"https:\/\/crocoblock.com\/plugins\/jetthemecore\/\" target=\"_blank\" rel=\"noreferrer noopener\"><em>JetThemeCore<\/em><\/a> plugin, allows one to add and customize lots of important content, such as the site logo or search bar, to the header and footer of the website. A shopping cart is one of the elements that can be added when using the <em>WooCommerce <\/em>plugin.<\/p>\n\n\n\n<p>The <strong>Shopping Cart<\/strong> widget is a useful tool for any online store, making it easy to show the number of chosen items and their total price. It can be very convenient for the user to continue viewing the goods on the site and have a constant look at the total price.<\/p>\n\n\n\n<p>In this tutorial, we\u2019ll check how to quickly add a <strong>WooCommerce Shopping Cart<\/strong> to the header using <a href=\"https:\/\/crocoblock.com\/plugins\/jetblocks\/\" target=\"_blank\" rel=\"noreferrer noopener\"><em>JetBlocks<\/em><\/a>.<\/p>\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"title1\">Adding the Widget to the Header<\/h2>\n\n\n\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\"><div class=\"wp-block-group__inner-container\">\n<p>First, the <a href=\"https:\/\/crocoblock.com\/plugins\/jetthemecore\/\" target=\"_blank\" rel=\"noreferrer noopener\"><em>JetThemeCore<\/em><\/a> and <a href=\"https:\/\/woocommerce.com\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\"><em>WooCommerc<\/em>e<\/a> plugins should be installed and activated on the website. <em>JetThemeCore<\/em> allows one to edit the header, and <em>WooCommerce <\/em>is responsible for the shop functionalities.<\/p>\n\n\n\n<p>Now, one should navigate to the <strong><em>WordPress Dashboard > Crocoblock > Theme Builder<\/em><\/strong> directory and open the <strong>Header <\/strong>tab.<\/p>\n\n\n\n<p>An existing header should now be selected, or the \u201c<strong>Add New<\/strong>\u201d button should be clicked.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/12\/header-settings-tab.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/12\/header-settings-tab-1024x640.webp\" alt=\"header settings tab\" class=\"wp-image-42978\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/12\/header-settings-tab-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/12\/header-settings-tab-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/12\/header-settings-tab-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/12\/header-settings-tab-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/12\/header-settings-tab-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/12\/header-settings-tab.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>In the left-side menu of the Elementor page builder editing page, the <strong>WooCommerce Shopping Cart<\/strong> widget should be found. It can be dropped to any needed page section.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/02\/woocommerce-shopping-cart-widget-in-elementor.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/02\/woocommerce-shopping-cart-widget-in-elementor-1024x640.webp\" alt=\"woocommerce shopping cart widget in elementor\" class=\"wp-image-46979\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/02\/woocommerce-shopping-cart-widget-in-elementor-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/02\/woocommerce-shopping-cart-widget-in-elementor-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/02\/woocommerce-shopping-cart-widget-in-elementor-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/02\/woocommerce-shopping-cart-widget-in-elementor-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/02\/woocommerce-shopping-cart-widget-in-elementor-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/02\/woocommerce-shopping-cart-widget-in-elementor.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"title2\">WooCommerce Shopping Cart Settings<\/h2>\n\n\n\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\"><div class=\"wp-block-group__inner-container\">\n<p>The widget <strong>Settings <\/strong>tab fields can now be adjusted:<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/07\/woocommerce-shopping-cart-widget-settings-in-elementor.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/07\/woocommerce-shopping-cart-widget-settings-in-elementor-1024x640.webp\" alt=\"woocommerce shopping cart widget settings in elementor\" class=\"wp-image-48802\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/07\/woocommerce-shopping-cart-widget-settings-in-elementor-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/07\/woocommerce-shopping-cart-widget-settings-in-elementor-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/07\/woocommerce-shopping-cart-widget-settings-in-elementor-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/07\/woocommerce-shopping-cart-widget-settings-in-elementor-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/07\/woocommerce-shopping-cart-widget-settings-in-elementor-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/07\/woocommerce-shopping-cart-widget-settings-in-elementor.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<ul>\n<li><strong>Label<\/strong> \u2014 the title of the shopping cart that will be visible to users;<\/li>\n\n\n\n<li><strong>Icon<\/strong> \u2014 the icon displayed to the label, it can be selected from the <strong>Icon Library <\/strong>or uploaded like a custom SVG file;<\/li>\n\n\n\n<li><strong>Hide Cart When Empty <\/strong>\u2014 a toggle that should be activated to hide a cart icon when the cart is empty;<\/li>\n\n\n\n<li><strong>Show Products Count<\/strong> \u2014 a toggle that, if enabled, displays the number of items users added to the cart;&nbsp;<\/li>\n\n\n\n<li><strong>Products Count Format<\/strong> \u2014 a product count format field. Here, one can show not just the number of items, but insert that number into a phrase. One should type it here and use the %s macro code for the items number;<\/li>\n\n\n\n<li><strong>Show Cart Subtotal<\/strong> \u2014 a toggle that should be turned on if one wants to show the total price of all added items to the user;<\/li>\n\n\n\n<li><strong>Cart Subtotal Format<\/strong> \u2014a field that appears when the <strong>Show Cart Subtotal <\/strong>toggle is active. Here, one can set the look of the <strong>Cart Subtotal <\/strong>number. One should use %s macro code for the sum;<\/li>\n\n\n\n<li><strong>Show Cart Dropdown<\/strong> \u2014 a toggle that should be enabled if one wants to give the user an opportunity to see all the items added to the cart in the dropdown list;<\/li>\n\n\n\n<li><strong>Open Cart Dropdown on Product Add <\/strong>\u2014 a toggle that, when activated, opens a mini cart once a new product is added to the cart;<\/li>\n\n\n\n<li><strong>Show Trigger Type<\/strong> \u2014 the drop-down list can appear on \u201cHover\u201d or after a \u201cClick\u201d on the cart;<\/li>\n\n\n\n<li><strong>Layout Type<\/strong> \u2014 the list of items can appear as a \u201cDropdown\u201d or \u201cSlide Out\u201d from the right side of the screen.<\/li>\n<\/ul>\n\n\n\n<p>When one selects the \u201cSlide Out\u201d <strong>Layout Type<\/strong>, the <strong>Show Overlay Color <\/strong>toggle appears. Enabling this toggle allows selecting the <strong>Overlay Color <\/strong>that will cover the area of the page next to the sliding section.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/07\/slide-out-layout-type-selected.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/07\/slide-out-layout-type-selected-1024x640.webp\" alt=\"slide out layout type selected\" class=\"wp-image-48803\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/07\/slide-out-layout-type-selected-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/07\/slide-out-layout-type-selected-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/07\/slide-out-layout-type-selected-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/07\/slide-out-layout-type-selected-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/07\/slide-out-layout-type-selected-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/07\/slide-out-layout-type-selected.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<ul>\n<li><strong>Cart Dropdown Label<\/strong> \u2014 the text that will be placed on the top of the cart list.<\/li>\n<\/ul>\n\n\n\n<p>Lastly, once the <strong>Shopping Cart<\/strong> is customized and styled, the page should be updated.<\/p>\n<\/div><\/div>\n\n\n\n<p>That\u2019s it about the <strong>Shopping Cart<\/strong> widget available as a part of the <em>JetBlocks <\/em>plugin for WordPress websites.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This guide describes the settings of the WooCommerce Shopping Cart widget available with the JetBlocks plugin.<\/p>\n","protected":false},"author":11,"featured_media":0,"template":"","format":"standard","builder-category":[],"article-category":[471],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>WooCommerce Shopping Cart Widget Overview \u2014 JetBlocks | Crocoblock<\/title>\n<meta name=\"description\" content=\"Follow the guide to add a WooCommerce Shopping Cart to the header with the help of the JetBlocks plugin for WordPress websites.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/crocoblock.com\/knowledge-base\/jetblocks\/woocommerce-shopping-cart-widget-overview\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"WooCommerce Shopping Cart Widget Overview \u2014 JetBlocks | Crocoblock\" \/>\n<meta property=\"og:description\" content=\"Follow the guide to add a WooCommerce Shopping Cart to the header with the help of the JetBlocks plugin for WordPress websites.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/crocoblock.com\/knowledge-base\/jetblocks\/woocommerce-shopping-cart-widget-overview\/\" \/>\n<meta property=\"og:site_name\" content=\"Help Center\" \/>\n<meta property=\"article:modified_time\" content=\"2025-07-24T12:44:01+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/12\/header-settings-tab-1024x640.webp\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetblocks\/woocommerce-shopping-cart-widget-overview\/\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/jetblocks\/woocommerce-shopping-cart-widget-overview\/\",\"name\":\"WooCommerce Shopping Cart Widget Overview \u2014 JetBlocks | Crocoblock\",\"isPartOf\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#website\"},\"datePublished\":\"2019-06-14T11:10:46+00:00\",\"dateModified\":\"2025-07-24T12:44:01+00:00\",\"description\":\"Follow the guide to add a WooCommerce Shopping Cart to the header with the help of the JetBlocks plugin for WordPress websites.\",\"breadcrumb\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetblocks\/woocommerce-shopping-cart-widget-overview\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/crocoblock.com\/knowledge-base\/jetblocks\/woocommerce-shopping-cart-widget-overview\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetblocks\/woocommerce-shopping-cart-widget-overview\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/crocoblock.com\/knowledge-base\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Articles\",\"item\":\"https:\/\/crocoblock.com\/knowledge-base\/articles\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"WooCommerce Shopping Cart Widget Overview\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#website\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/\",\"name\":\"Help Center\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/crocoblock.com\/knowledge-base\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#organization\",\"name\":\"Help Center\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg\",\"contentUrl\":\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg\",\"caption\":\"Help Center\"},\"image\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"WooCommerce Shopping Cart Widget Overview \u2014 JetBlocks | Crocoblock","description":"Follow the guide to add a WooCommerce Shopping Cart to the header with the help of the JetBlocks plugin for WordPress websites.","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:\/\/crocoblock.com\/knowledge-base\/jetblocks\/woocommerce-shopping-cart-widget-overview\/","og_locale":"en_US","og_type":"article","og_title":"WooCommerce Shopping Cart Widget Overview \u2014 JetBlocks | Crocoblock","og_description":"Follow the guide to add a WooCommerce Shopping Cart to the header with the help of the JetBlocks plugin for WordPress websites.","og_url":"https:\/\/crocoblock.com\/knowledge-base\/jetblocks\/woocommerce-shopping-cart-widget-overview\/","og_site_name":"Help Center","article_modified_time":"2025-07-24T12:44:01+00:00","og_image":[{"url":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/12\/header-settings-tab-1024x640.webp"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/crocoblock.com\/knowledge-base\/jetblocks\/woocommerce-shopping-cart-widget-overview\/","url":"https:\/\/crocoblock.com\/knowledge-base\/jetblocks\/woocommerce-shopping-cart-widget-overview\/","name":"WooCommerce Shopping Cart Widget Overview \u2014 JetBlocks | Crocoblock","isPartOf":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#website"},"datePublished":"2019-06-14T11:10:46+00:00","dateModified":"2025-07-24T12:44:01+00:00","description":"Follow the guide to add a WooCommerce Shopping Cart to the header with the help of the JetBlocks plugin for WordPress websites.","breadcrumb":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/jetblocks\/woocommerce-shopping-cart-widget-overview\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/crocoblock.com\/knowledge-base\/jetblocks\/woocommerce-shopping-cart-widget-overview\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/crocoblock.com\/knowledge-base\/jetblocks\/woocommerce-shopping-cart-widget-overview\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/crocoblock.com\/knowledge-base\/"},{"@type":"ListItem","position":2,"name":"Articles","item":"https:\/\/crocoblock.com\/knowledge-base\/articles\/"},{"@type":"ListItem","position":3,"name":"WooCommerce Shopping Cart Widget Overview"}]},{"@type":"WebSite","@id":"https:\/\/crocoblock.com\/knowledge-base\/#website","url":"https:\/\/crocoblock.com\/knowledge-base\/","name":"Help Center","description":"","publisher":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/crocoblock.com\/knowledge-base\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/crocoblock.com\/knowledge-base\/#organization","name":"Help Center","url":"https:\/\/crocoblock.com\/knowledge-base\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/","url":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg","contentUrl":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg","caption":"Help Center"},"image":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/article\/9487"}],"collection":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/article"}],"about":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/types\/article"}],"author":[{"embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/users\/11"}],"wp:attachment":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/media?parent=9487"}],"wp:term":[{"taxonomy":"builder-category","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/builder-category?post=9487"},{"taxonomy":"article-category","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/article-category?post=9487"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}