{"id":4892,"date":"2015-03-10T10:46:59","date_gmt":"2015-03-10T07:46:59","guid":{"rendered":"http:\/\/blog.cs-cart.com\/"},"modified":"2024-05-30T14:37:01","modified_gmt":"2024-05-30T10:37:01","slug":"your-own-page-layout-in-cs-cart-4-3-1","status":"publish","type":"page","link":"https:\/\/www.cs-cart.com\/blog\/your-own-page-layout-in-cs-cart-4-3-1\/","title":{"rendered":"Your Own Page Layout in CS-Cart 4.3.1"},"content":{"rendered":"\n<p>Hi!<\/p>\n\n\n\n<p>Today we\u2019ll tell you how to make your own layout of each storefront page in <strong>CS-Cart 4.3.1<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.cs-cart.com\/blog\/wp-content\/uploads\/main_pic3.png?w=800&#038;ssl=1\" alt=\"Layout\"\/><\/figure>\n\n\n\n<p>In CS-Cart, store admins arrange storefront content. They do it on the <strong>Design \u2192 Layouts<\/strong> page of the administration panel.<\/p>\n\n\n\n<p>The Design \u2192 Layouts page shows available <em>layout pages<\/em>. Each layout page consists of four containers: <strong>Top panel<\/strong>, <strong>Header<\/strong>, <strong>Content<\/strong>, and <strong>Footer<\/strong>. These containers have blocks that carry content. Customers see blocks\u2019 content on the storefront.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.cs-cart.com\/blog\/wp-content\/uploads\/layout_page.png?w=800&#038;ssl=1\" alt=\"Layout page\"\/><\/figure>\n\n\n\n<p>To learn more about layouts in CS-Cart watch this video tutorial.<\/p>\n\n\n\n<p>In CS-Cart 4.2.4 and earlier, layout pages inherit blocks in <strong>Top panel<\/strong>, <strong>Header<\/strong>, and <strong>Footer<\/strong> from the Default layout page. It means that the store admin cannot manage blocks in these containers in a particular layout page. That\u2019s why all storefront pages in 4.2.4 have a uniform layout.<\/p>\n\n\n\n<p>In CS-Cart 4.3.1 we unlocked the <strong>Top panel<\/strong>, <strong>Header<\/strong>, and <strong>Footer<\/strong> containers on all layout pages. A store admin is free to add, replace, or delete blocks in these containers. By doing this, the admin creates a unique layout for each store page.<\/p>\n\n\n\n<p>For example, compare the Products layout page in 4.2.4 and 4.3.1. In 4.2.4 the containers are locked; in 4.3.1 they are unlocked:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.cs-cart.com\/blog\/wp-content\/uploads\/compare.png?w=800&#038;ssl=1\" alt=\"Compare\"\/><\/figure>\n\n\n\n<p>To unlock a container, click the <strong>Set custom configuration<\/strong> link on it:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.cs-cart.com\/blog\/wp-content\/uploads\/link.png?w=800&#038;ssl=1\" alt=\"Set custom configuration\"\/><\/figure>\n\n\n\n<p>Blocks will appear in the container. For example, to remove quick links from the top panel on the product details pages, switch to the <strong>Products<\/strong> layout page and deactivate the Quick links block:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.cs-cart.com\/blog\/wp-content\/uploads\/quick_links.png?w=800&#038;ssl=1\" alt=\"Deactivate block\"\/><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>We\u2019d like to hear your opinions about this new feature. Do you find it useful for your store? Share your thoughts in the comments.<\/p>\n\n\n\n<p>Follow us on <a title=\"CS-Cart on Facebook\" href=\"https:\/\/www.facebook.com\/cscart.official\" target=\"_blank\" rel=\"noopener noreferrer\">Facebook<\/a> and <a title=\"CS-Cart on Twitter\" href=\"https:\/\/twitter.com\/cscart\" target=\"_blank\" rel=\"noopener noreferrer\">Twitter<\/a> so you don\u2019t miss CS-Cart news and announcements.<\/p>\n\n\n\n<p>Bye!<\/p>\n\n\n\n<div style=\"background: #f7f7f7;\">\n<div style=\"width: 600px; margin: 0 auto; padding: 20px 0 10px;\">\n<h2 style=\"text-align: center; font-weight: normal; text-transform: uppercase; margin-bottom: 20px;\">Follow CS-Cart news &amp; promotions<\/h2>\n<p>&nbsp;<\/p>\n<form style=\"text-align: center;\" action=\"https:\/\/www.cs-cart.com\" method=\"post\" name=\"subscribe_form\"><input name=\"mailing_lists[1]\" type=\"hidden\" value=\"1\"\/><br \/><input name=\"redirect_url\" type=\"hidden\" value=\"index.php\"\/><br \/><label class=\"cm-required cm-email\" style=\"display: none;\" for=\"subscr_email\">Email<\/label><br \/><input id=\"subscr_email\" class=\"subscribe-input\" style=\"font-size: 16px; padding: 10px; width: 400px; border-radius: 4px; height: 41px; color: #72757a; border: 2px solid #C7C7C9; box-sizing: border-box;\" name=\"subscribe_email\" type=\"text\" placeholder=\"Enter e-mail address\"\/><br \/><button class=\"subscribe-btn\" style=\"background: #2F4156; outline: 0; border: 0; padding: 12.5px 15px; font-size: 14px; text-transform: uppercase; color: #fff; margin-left: -10px; vertical-align: top; border-top-right-radius: 3px; border-bottom-right-radius: 3px; cursor: pointer; height: 41px;\" type=\"submit\">Subscribe<\/button><br \/><input name=\"dispatch\" type=\"hidden\" value=\"newsletters.add_subscriber\"\/><\/form><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Hi! Today we\u2019ll tell you how to make your own layout of each storefront page in CS-Cart 4.3.1. In CS-Cart,<\/p>\n","protected":false},"author":31003,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","meta":{"footnotes":""},"aioseo_notices":[],"jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.cs-cart.com\/blog\/wp-json\/wp\/v2\/pages\/4892"}],"collection":[{"href":"https:\/\/www.cs-cart.com\/blog\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.cs-cart.com\/blog\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.cs-cart.com\/blog\/wp-json\/wp\/v2\/users\/31003"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cs-cart.com\/blog\/wp-json\/wp\/v2\/comments?post=4892"}],"version-history":[{"count":0,"href":"https:\/\/www.cs-cart.com\/blog\/wp-json\/wp\/v2\/pages\/4892\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.cs-cart.com\/blog\/wp-json\/wp\/v2\/media?parent=4892"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}