{"id":6033,"date":"2022-09-30T13:44:23","date_gmt":"2022-09-30T10:44:23","guid":{"rendered":"https:\/\/creativethemes.com\/blocksy\/?post_type=documentation&#038;p=6033"},"modified":"2024-04-17T16:23:27","modified_gmt":"2024-04-17T13:23:27","slug":"cart","status":"publish","type":"documentation","link":"https:\/\/creativethemes.com\/blocksy\/docs\/header-elements\/cart\/","title":{"rendered":"Cart"},"content":{"rendered":"\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69d57ded687d2&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"69d57ded687d2\" class=\"wp-block-image size-full has-lightbox wp-lightbox-container\"><img decoding=\"async\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/creativethemes.com\/blocksy\/wp-content\/uploads\/2022\/09\/Screenshot-2022-09-30-at-13.54.18.png\" alt=\"\" class=\"wp-image-6037\"\/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><figcaption class=\"wp-element-caption\">The Cart element in action<\/figcaption><\/figure>\n\n\n\n<p>The <strong>Cart<\/strong> element is very important for your e-commerce website. It lets users see what&#8217;s in their shopping cart and make quick decisions about what to purchase from your business. It comes with a lot of customisation options which can help streamline the experience for your visitors, including some neat enhancements for our <strong>Blocksy Pro<\/strong> subscribers.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Granular Controls<\/h3>\n\n\n\n<h5 class=\"wp-block-heading\">Top Level Options<\/h5>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:35%\">\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/creativethemes.com\/blocksy\/wp-content\/uploads\/2022\/09\/Screenshot-2022-09-30-at-14.02.29.png\" alt=\"\" class=\"wp-image-6044\"\/><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:65%\">\n<p>These options will let you control how the Cart element is represented visually on the front-end of the website.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Icons<\/h5>\n\n\n\n<p>The first option lets you select the little icon that&#8217;s displayed as the cart representation. You get six gorgeous choices by default, with Blocksy Pro users having the ability to upload their very own custom SVG icon in place.<\/p>\n\n\n\n<p>There is also an option that will let you define how big the icon will be on the screen, controllable on a per-device basis.<\/p>\n\n\n\n<p>The <strong>icon badge<\/strong> option will show your visitors a little indication of how many products they have added to the cart.<\/p>\n\n\n\n<p>And the <strong>cart total visibility<\/strong> setting lets you display the sum of the products that have been added to the cart.<\/p>\n<\/div>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"cart-drawer\">Cart Drawer<\/h3>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:35%\">\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/creativethemes.com\/blocksy\/wp-content\/uploads\/2022\/09\/Screenshot-2022-09-30-at-14.55.58.png\" alt=\"\" class=\"wp-image-6050\"\/><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:65%\">\n<p>These options will let you control how the mini-cart pop-up will look like. With Blocksy Pro, you get a secondary mini-cart view that reveals itself from the side of the screen.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Cart Drawer Type<\/h5>\n\n\n\n<p>This lets you select the aforementioned mini-cart design type. Blocksy Free users get the standard mini-cart fly-out, while Blocksy Pro users have the ability to select the off-canvas type of design. Since the options for the fly-out are simple, we will note down the options for the off-canvas cart.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Panel Width<\/h5>\n\n\n\n<p>This option will let you select the width of the panel that slides in. Simple enough.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Reveal From<\/h5>\n\n\n\n<p>Select from which side the side off-canvas cart is revealed from. Left or right!<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Open Cart Automatically<\/h5>\n\n\n\n<p>This is a very nice enhancement for the off-canvas cart. It lets you convert more customers by automatically opening the cart pane after they have added a product to the cart. This induces the user in some sort of an urgency feeling, as the side cart can be customised further using <a href=\"https:\/\/creativethemes.com\/blocksy\/docs\/extensions\/content-blocks\/\" data-type=\"URL\" data-id=\"https:\/\/creativethemes.com\/blocksy\/docs\/extensions\/content-blocks\/\">Content Blocks<\/a>.<\/p>\n\n\n\n<p>Please note that this option will only work if AJAX is enabled in WooCommerce&#8217;s settings.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Quantity Input<\/h5>\n\n\n\n<p>Pretty self explanatory, as this setting will let your users quickly adjust the quantity of the products that have been added to the cart.<\/p>\n<\/div>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Visual Reference<\/h3>\n\n\n\n<p>Here&#8217;s a quick look at how the two different cart designs look like.<\/p>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69d57ded69cc2&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"69d57ded69cc2\" class=\"wp-block-image size-full has-lightbox wp-lightbox-container\"><img decoding=\"async\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/creativethemes.com\/blocksy\/wp-content\/uploads\/2022\/09\/flyoutcart-scaled.jpg\" alt=\"\" class=\"wp-image-6062\"\/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><figcaption class=\"wp-element-caption\">Cart fly-out design <\/figcaption><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69d57ded6a256&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"69d57ded6a256\" class=\"wp-block-image size-full has-lightbox wp-lightbox-container\"><img decoding=\"async\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/creativethemes.com\/blocksy\/wp-content\/uploads\/2022\/09\/sidecart-scaled.jpg\" alt=\"\" class=\"wp-image-6063\"\/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><figcaption class=\"wp-element-caption\">Cart off-canvas design<\/figcaption><\/figure>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>The Cart element is very important for your e-commerce website. It lets users see what&#8217;s in their shopping cart and make quick decisions about what to purchase from your business. It comes with a lot of customisation options which can help streamline the experience for your visitors, including some neat enhancements for our Blocksy Pro [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"doc_categories":[124],"class_list":["post-6033","documentation","type-documentation","status-publish","hentry","doc_categories-header-elements"],"blocksy_meta":{"styles_descriptor":{"styles":{"desktop":"","tablet":"","mobile":""},"google_fonts":[],"version":6},"docs_item_badge":""},"acf":[],"_links":{"self":[{"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/documentation\/6033","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/documentation"}],"about":[{"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/types\/documentation"}],"author":[{"embeddable":true,"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/comments?post=6033"}],"version-history":[{"count":2,"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/documentation\/6033\/revisions"}],"predecessor-version":[{"id":10219,"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/documentation\/6033\/revisions\/10219"}],"wp:attachment":[{"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/media?parent=6033"}],"wp:term":[{"taxonomy":"doc_categories","embeddable":true,"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/doc_categories?post=6033"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}