{"id":3073,"date":"2014-07-03T02:13:21","date_gmt":"2014-07-03T02:13:21","guid":{"rendered":"http:\/\/www.tipsandtricks-hq.com\/ecommerce\/?p=3073"},"modified":"2024-01-19T19:50:10","modified_gmt":"2024-01-19T08:50:10","slug":"adding-shopping-cart-to-the-sidebar-of-wordpress-site","status":"publish","type":"post","link":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/adding-shopping-cart-to-the-sidebar-of-wordpress-site-3073","title":{"rendered":"Adding a Shopping Cart to The Sidebar of Your WordPress site"},"content":{"rendered":"<p>Use the following steps to add a shopping cart to the sidebar of your WordPress site. This will allow your customers to see what items they have in their cart when browsing and adding items to the cart.<\/p>\n<h2>Steps to Add a Sidebar Shopping Cart<\/h2>\n<p><strong>Step 1)<\/strong> Go to the widgets menu of your WordPress admin dashboard area.<\/p>\n<p><strong>Step 2)<\/strong> Add a standard text widget to the sidebar of your site. Your theme need to support sidebars.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3077\" src=\"http:\/\/www.tipsandtricks-hq.com\/ecommerce\/wp-content\/uploads\/2014\/07\/adding-a-sidebar-cart-widget.png\" alt=\"adding-a-sidebar-cart-widget\" width=\"350\" height=\"299\" srcset=\"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/wp-content\/uploads\/2014\/07\/adding-a-sidebar-cart-widget.png 350w, https:\/\/www.tipsandtricks-hq.com\/ecommerce\/wp-content\/uploads\/2014\/07\/adding-a-sidebar-cart-widget-300x256.png 300w\" sizes=\"auto, (max-width: 350px) 100vw, 350px\" \/><\/p>\n<p><strong>Step 3)<\/strong> Use one of the following shortcodes to add the cart in this sidebar widget:<\/p>\n<pre>[show_wp_shopping_cart]\n<\/pre>\n<p>or<\/p>\n<pre>[always_show_wp_shopping_cart]\n<\/pre>\n<p>The first shortcode will only show the cart if there are any items in the cart. The 2nd one will always show the cart (even if the cart is empty).<\/p>\n<p>Try them both and use the one that you like.<\/p>\n<p>Below is an exmaple of how the cart should look on the sidebar:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3078\" src=\"http:\/\/www.tipsandtricks-hq.com\/ecommerce\/wp-content\/uploads\/2014\/07\/how-the-cart-looks-on-the-sidebar.jpg\" alt=\"how-the-cart-looks-on-the-sidebar\" width=\"500\" height=\"381\" srcset=\"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/wp-content\/uploads\/2014\/07\/how-the-cart-looks-on-the-sidebar.jpg 500w, https:\/\/www.tipsandtricks-hq.com\/ecommerce\/wp-content\/uploads\/2014\/07\/how-the-cart-looks-on-the-sidebar-300x228.jpg 300w, https:\/\/www.tipsandtricks-hq.com\/ecommerce\/wp-content\/uploads\/2014\/07\/how-the-cart-looks-on-the-sidebar-264x200.jpg 264w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/p>\n<h2>Adding the Cart to the Sidebar via a Template File<\/h2>\n<p>If you are a developer and you are trying to add the cart to the sidebar from your theme&#8217;s template file then use the following PHP function:<\/p>\n<pre>&lt;?php echo print_wp_shopping_cart(); ?&gt;\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Use the following steps to add a shopping cart to the sidebar of your WordPress site. This will allow your customers to see what items they have in their cart when browsing and adding items to the cart. Steps to Add a Sidebar Shopping Cart Step 1) Go to the widgets menu of your WordPress [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","footnotes":""},"categories":[34],"tags":[178,173,32],"class_list":["post-3073","post","type-post","status-publish","format-standard","category-additional-guidance","tag-cart-shortcode","tag-e-commerce","tag-wp-shopping-cart","entry"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.4 - aioseo.com -->\n\t<meta name=\"description\" content=\"Use the following steps to add a shopping cart to the sidebar of your WordPress site. This will allow your customers to see what items they have in their cart when browsing and adding items to the cart. Steps to Add a Sidebar Shopping Cart Step 1) Go to the widgets menu of your WordPress\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"admin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/adding-shopping-cart-to-the-sidebar-of-wordpress-site-3073\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.4\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Tips and Tricks WP eCommerce | eCommerce Solution for WordPress Blog\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Adding a Shopping Cart on the Sidebar of Your WordPress site | Tips and Tricks WP eCommerce\" \/>\n\t\t<meta property=\"og:description\" content=\"Use the following steps to add a shopping cart to the sidebar of your WordPress site. This will allow your customers to see what items they have in their cart when browsing and adding items to the cart. Steps to Add a Sidebar Shopping Cart Step 1) Go to the widgets menu of your WordPress\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/adding-shopping-cart-to-the-sidebar-of-wordpress-site-3073\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2014-07-03T02:13:21+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2024-01-19T08:50:10+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Adding a Shopping Cart on the Sidebar of Your WordPress site | Tips and Tricks WP eCommerce\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Use the following steps to add a shopping cart to the sidebar of your WordPress site. This will allow your customers to see what items they have in their cart when browsing and adding items to the cart. Steps to Add a Sidebar Shopping Cart Step 1) Go to the widgets menu of your WordPress\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.tipsandtricks-hq.com\\\/ecommerce\\\/adding-shopping-cart-to-the-sidebar-of-wordpress-site-3073#article\",\"name\":\"Adding a Shopping Cart on the Sidebar of Your WordPress site | Tips and Tricks WP eCommerce\",\"headline\":\"Adding a Shopping Cart to The Sidebar of Your WordPress site\",\"author\":{\"@id\":\"https:\\\/\\\/www.tipsandtricks-hq.com\\\/ecommerce\\\/author\\\/admin#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.tipsandtricks-hq.com\\\/ecommerce\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.tipsandtricks-hq.com\\\/ecommerce\\\/wp-content\\\/uploads\\\/2014\\\/07\\\/adding-a-sidebar-cart-widget.png\",\"@id\":\"https:\\\/\\\/www.tipsandtricks-hq.com\\\/ecommerce\\\/adding-shopping-cart-to-the-sidebar-of-wordpress-site-3073\\\/#articleImage\",\"width\":350,\"height\":299,\"caption\":\"adding-a-sidebar-cart-widget\"},\"datePublished\":\"2014-07-03T02:13:21+10:00\",\"dateModified\":\"2024-01-19T19:50:10+11:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.tipsandtricks-hq.com\\\/ecommerce\\\/adding-shopping-cart-to-the-sidebar-of-wordpress-site-3073#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tipsandtricks-hq.com\\\/ecommerce\\\/adding-shopping-cart-to-the-sidebar-of-wordpress-site-3073#webpage\"},\"articleSection\":\"Additional Guidance, cart shortcode, e-commerce, WP Shopping Cart\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.tipsandtricks-hq.com\\\/ecommerce\\\/adding-shopping-cart-to-the-sidebar-of-wordpress-site-3073#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tipsandtricks-hq.com\\\/ecommerce\\\/#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.tipsandtricks-hq.com\\\/ecommerce\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tipsandtricks-hq.com\\\/ecommerce\\\/category\\\/wordpress-shopping-cart#listItem\",\"name\":\"WordPress Shopping Cart\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tipsandtricks-hq.com\\\/ecommerce\\\/category\\\/wordpress-shopping-cart#listItem\",\"position\":2,\"name\":\"WordPress Shopping Cart\",\"item\":\"https:\\\/\\\/www.tipsandtricks-hq.com\\\/ecommerce\\\/category\\\/wordpress-shopping-cart\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tipsandtricks-hq.com\\\/ecommerce\\\/category\\\/wordpress-shopping-cart\\\/additional-guidance#listItem\",\"name\":\"Additional Guidance\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tipsandtricks-hq.com\\\/ecommerce\\\/#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tipsandtricks-hq.com\\\/ecommerce\\\/category\\\/wordpress-shopping-cart\\\/additional-guidance#listItem\",\"position\":3,\"name\":\"Additional Guidance\",\"item\":\"https:\\\/\\\/www.tipsandtricks-hq.com\\\/ecommerce\\\/category\\\/wordpress-shopping-cart\\\/additional-guidance\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tipsandtricks-hq.com\\\/ecommerce\\\/adding-shopping-cart-to-the-sidebar-of-wordpress-site-3073#listItem\",\"name\":\"Adding a Shopping Cart to The Sidebar of Your WordPress site\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tipsandtricks-hq.com\\\/ecommerce\\\/category\\\/wordpress-shopping-cart#listItem\",\"name\":\"WordPress Shopping Cart\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tipsandtricks-hq.com\\\/ecommerce\\\/adding-shopping-cart-to-the-sidebar-of-wordpress-site-3073#listItem\",\"position\":4,\"name\":\"Adding a Shopping Cart to The Sidebar of Your WordPress site\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tipsandtricks-hq.com\\\/ecommerce\\\/category\\\/wordpress-shopping-cart\\\/additional-guidance#listItem\",\"name\":\"Additional Guidance\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.tipsandtricks-hq.com\\\/ecommerce\\\/#organization\",\"name\":\"Tips and Tricks WP eCommerce\",\"description\":\"eCommerce Solution for WordPress Blog\",\"url\":\"https:\\\/\\\/www.tipsandtricks-hq.com\\\/ecommerce\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.tipsandtricks-hq.com\\\/ecommerce\\\/author\\\/admin#author\",\"url\":\"https:\\\/\\\/www.tipsandtricks-hq.com\\\/ecommerce\\\/author\\\/admin\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.tipsandtricks-hq.com\\\/ecommerce\\\/adding-shopping-cart-to-the-sidebar-of-wordpress-site-3073#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3a21ab4072e533cf470d80fc2f0fd3639872824ade4e23709397e109b24f8857?s=96&d=identicon&r=g\",\"width\":96,\"height\":96,\"caption\":\"admin\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.tipsandtricks-hq.com\\\/ecommerce\\\/adding-shopping-cart-to-the-sidebar-of-wordpress-site-3073#webpage\",\"url\":\"https:\\\/\\\/www.tipsandtricks-hq.com\\\/ecommerce\\\/adding-shopping-cart-to-the-sidebar-of-wordpress-site-3073\",\"name\":\"Adding a Shopping Cart on the Sidebar of Your WordPress site | Tips and Tricks WP eCommerce\",\"description\":\"Use the following steps to add a shopping cart to the sidebar of your WordPress site. This will allow your customers to see what items they have in their cart when browsing and adding items to the cart. Steps to Add a Sidebar Shopping Cart Step 1) Go to the widgets menu of your WordPress\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tipsandtricks-hq.com\\\/ecommerce\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.tipsandtricks-hq.com\\\/ecommerce\\\/adding-shopping-cart-to-the-sidebar-of-wordpress-site-3073#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.tipsandtricks-hq.com\\\/ecommerce\\\/author\\\/admin#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.tipsandtricks-hq.com\\\/ecommerce\\\/author\\\/admin#author\"},\"datePublished\":\"2014-07-03T02:13:21+10:00\",\"dateModified\":\"2024-01-19T19:50:10+11:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.tipsandtricks-hq.com\\\/ecommerce\\\/#website\",\"url\":\"https:\\\/\\\/www.tipsandtricks-hq.com\\\/ecommerce\\\/\",\"name\":\"Tips and Tricks WP eCommerce\",\"description\":\"eCommerce Solution for WordPress Blog\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.tipsandtricks-hq.com\\\/ecommerce\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Adding a Shopping Cart on the Sidebar of Your WordPress site | Tips and Tricks WP eCommerce","description":"Use the following steps to add a shopping cart to the sidebar of your WordPress site. This will allow your customers to see what items they have in their cart when browsing and adding items to the cart. Steps to Add a Sidebar Shopping Cart Step 1) Go to the widgets menu of your WordPress","canonical_url":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/adding-shopping-cart-to-the-sidebar-of-wordpress-site-3073","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/adding-shopping-cart-to-the-sidebar-of-wordpress-site-3073#article","name":"Adding a Shopping Cart on the Sidebar of Your WordPress site | Tips and Tricks WP eCommerce","headline":"Adding a Shopping Cart to The Sidebar of Your WordPress site","author":{"@id":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/author\/admin#author"},"publisher":{"@id":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/wp-content\/uploads\/2014\/07\/adding-a-sidebar-cart-widget.png","@id":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/adding-shopping-cart-to-the-sidebar-of-wordpress-site-3073\/#articleImage","width":350,"height":299,"caption":"adding-a-sidebar-cart-widget"},"datePublished":"2014-07-03T02:13:21+10:00","dateModified":"2024-01-19T19:50:10+11:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/adding-shopping-cart-to-the-sidebar-of-wordpress-site-3073#webpage"},"isPartOf":{"@id":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/adding-shopping-cart-to-the-sidebar-of-wordpress-site-3073#webpage"},"articleSection":"Additional Guidance, cart shortcode, e-commerce, WP Shopping Cart"},{"@type":"BreadcrumbList","@id":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/adding-shopping-cart-to-the-sidebar-of-wordpress-site-3073#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/#listItem","position":1,"name":"Home","item":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/category\/wordpress-shopping-cart#listItem","name":"WordPress Shopping Cart"}},{"@type":"ListItem","@id":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/category\/wordpress-shopping-cart#listItem","position":2,"name":"WordPress Shopping Cart","item":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/category\/wordpress-shopping-cart","nextItem":{"@type":"ListItem","@id":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/category\/wordpress-shopping-cart\/additional-guidance#listItem","name":"Additional Guidance"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/category\/wordpress-shopping-cart\/additional-guidance#listItem","position":3,"name":"Additional Guidance","item":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/category\/wordpress-shopping-cart\/additional-guidance","nextItem":{"@type":"ListItem","@id":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/adding-shopping-cart-to-the-sidebar-of-wordpress-site-3073#listItem","name":"Adding a Shopping Cart to The Sidebar of Your WordPress site"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/category\/wordpress-shopping-cart#listItem","name":"WordPress Shopping Cart"}},{"@type":"ListItem","@id":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/adding-shopping-cart-to-the-sidebar-of-wordpress-site-3073#listItem","position":4,"name":"Adding a Shopping Cart to The Sidebar of Your WordPress site","previousItem":{"@type":"ListItem","@id":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/category\/wordpress-shopping-cart\/additional-guidance#listItem","name":"Additional Guidance"}}]},{"@type":"Organization","@id":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/#organization","name":"Tips and Tricks WP eCommerce","description":"eCommerce Solution for WordPress Blog","url":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/"},{"@type":"Person","@id":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/author\/admin#author","url":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/author\/admin","name":"admin","image":{"@type":"ImageObject","@id":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/adding-shopping-cart-to-the-sidebar-of-wordpress-site-3073#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/3a21ab4072e533cf470d80fc2f0fd3639872824ade4e23709397e109b24f8857?s=96&d=identicon&r=g","width":96,"height":96,"caption":"admin"}},{"@type":"WebPage","@id":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/adding-shopping-cart-to-the-sidebar-of-wordpress-site-3073#webpage","url":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/adding-shopping-cart-to-the-sidebar-of-wordpress-site-3073","name":"Adding a Shopping Cart on the Sidebar of Your WordPress site | Tips and Tricks WP eCommerce","description":"Use the following steps to add a shopping cart to the sidebar of your WordPress site. This will allow your customers to see what items they have in their cart when browsing and adding items to the cart. Steps to Add a Sidebar Shopping Cart Step 1) Go to the widgets menu of your WordPress","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/#website"},"breadcrumb":{"@id":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/adding-shopping-cart-to-the-sidebar-of-wordpress-site-3073#breadcrumblist"},"author":{"@id":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/author\/admin#author"},"creator":{"@id":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/author\/admin#author"},"datePublished":"2014-07-03T02:13:21+10:00","dateModified":"2024-01-19T19:50:10+11:00"},{"@type":"WebSite","@id":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/#website","url":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/","name":"Tips and Tricks WP eCommerce","description":"eCommerce Solution for WordPress Blog","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/#organization"}}]},"og:locale":"en_US","og:site_name":"Tips and Tricks WP eCommerce | eCommerce Solution for WordPress Blog","og:type":"article","og:title":"Adding a Shopping Cart on the Sidebar of Your WordPress site | Tips and Tricks WP eCommerce","og:description":"Use the following steps to add a shopping cart to the sidebar of your WordPress site. This will allow your customers to see what items they have in their cart when browsing and adding items to the cart. Steps to Add a Sidebar Shopping Cart Step 1) Go to the widgets menu of your WordPress","og:url":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/adding-shopping-cart-to-the-sidebar-of-wordpress-site-3073","article:published_time":"2014-07-03T02:13:21+00:00","article:modified_time":"2024-01-19T08:50:10+00:00","twitter:card":"summary","twitter:title":"Adding a Shopping Cart on the Sidebar of Your WordPress site | Tips and Tricks WP eCommerce","twitter:description":"Use the following steps to add a shopping cart to the sidebar of your WordPress site. This will allow your customers to see what items they have in their cart when browsing and adding items to the cart. Steps to Add a Sidebar Shopping Cart Step 1) Go to the widgets menu of your WordPress"},"aioseo_meta_data":{"post_id":"3073","title":"Adding a Shopping Cart on the Sidebar of Your WordPress site | #site_title","description":null,"keywords":[],"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":[],"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"limit_modified_date":false,"created":"2021-05-12 02:36:22","updated":"2026-08-02 12:42:31","ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null,"focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/category\/wordpress-shopping-cart\" title=\"WordPress Shopping Cart\">WordPress Shopping Cart<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/category\/wordpress-shopping-cart\/additional-guidance\" title=\"Additional Guidance\">Additional Guidance<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tAdding a Shopping Cart to The Sidebar of Your WordPress site\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/"},{"label":"WordPress Shopping Cart","link":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/category\/wordpress-shopping-cart"},{"label":"Additional Guidance","link":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/category\/wordpress-shopping-cart\/additional-guidance"},{"label":"Adding a Shopping Cart to The Sidebar of Your WordPress site","link":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/adding-shopping-cart-to-the-sidebar-of-wordpress-site-3073"}],"_links":{"self":[{"href":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/wp-json\/wp\/v2\/posts\/3073","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/wp-json\/wp\/v2\/comments?post=3073"}],"version-history":[{"count":0,"href":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/wp-json\/wp\/v2\/posts\/3073\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/wp-json\/wp\/v2\/media?parent=3073"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/wp-json\/wp\/v2\/categories?post=3073"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/wp-json\/wp\/v2\/tags?post=3073"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}