Move Cart to Header In Magento 1.8.1How to add a Cart Icon to header?How to create Mouseover Shopping Cart Icon in right header?How to use Jquery - (Where does this code go?)Move Cart to Header in Magento 1.7How to change Cart to only show #of Products & Price?Need to edit “Continue Shopping” button to include page refreshMove Add To Cart button to right sidebarHow to add a Cart Icon to header?Share the shopping cart content between Magento multi-store websitesMagento How to include shopping cart block like this (picture)How to Limit Total Number of Items in CartHow to create Mouseover Shopping Cart Icon in right header?How to use Jquery - (Where does this code go?)How can i give condition Shopping Cart Price Rules like if selected attribute products present in the cart, no other products allowed to add cartMagento 2 :Header section modifications

Does a large simulator bay have standard public address announcements?

How does Captain America channel this power?

Implications of cigar-shaped bodies having rings?

Two field separators (colon and space) in awk

Do I have an "anti-research" personality?

How does a program know if stdout is connected to a terminal or a pipe?

Is this homebrew Wind Wave spell balanced?

A Paper Record is What I Hamper

Phrase for the opposite of "foolproof"

Get consecutive integer number ranges from list of int

Combinable filters

Alignment of various blocks in tikz

What is the philosophical significance of speech acts/implicature?

Map of water taps to fill bottles

How much cash can I safely carry into the USA and avoid civil forfeiture?

Multiple options vs single option UI

Why must Chinese maps be obfuscated?

Is there really no use for MD5 anymore?

Can someone publish a story that happened to you?

555 timer FM transmitter

How exactly does Hawking radiation decrease the mass of black holes?

What happens to Mjolnir (Thor's hammer) at the end of Endgame?

How come there are so many candidates for the 2020 Democratic party presidential nomination?

"You've called the wrong number" or "You called the wrong number"



Move Cart to Header In Magento 1.8.1


How to add a Cart Icon to header?How to create Mouseover Shopping Cart Icon in right header?How to use Jquery - (Where does this code go?)Move Cart to Header in Magento 1.7How to change Cart to only show #of Products & Price?Need to edit “Continue Shopping” button to include page refreshMove Add To Cart button to right sidebarHow to add a Cart Icon to header?Share the shopping cart content between Magento multi-store websitesMagento How to include shopping cart block like this (picture)How to Limit Total Number of Items in CartHow to create Mouseover Shopping Cart Icon in right header?How to use Jquery - (Where does this code go?)How can i give condition Shopping Cart Price Rules like if selected attribute products present in the cart, no other products allowed to add cartMagento 2 :Header section modifications






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








2















TOPIC:
Looking to move Shopping Cart to Header-Right in Magento 1.8.1



ATTEMPTS + OTHER POSTS:



How to add a Cart Icon to header?



Move Cart to Header in Magento 1.7



Any contribution is greatly appreciated.



Shopping Cart Icon & # Of Products In Cart - DISPLAYED AT RIGHT-HEADER is the end goal.










share|improve this question






























    2















    TOPIC:
    Looking to move Shopping Cart to Header-Right in Magento 1.8.1



    ATTEMPTS + OTHER POSTS:



    How to add a Cart Icon to header?



    Move Cart to Header in Magento 1.7



    Any contribution is greatly appreciated.



    Shopping Cart Icon & # Of Products In Cart - DISPLAYED AT RIGHT-HEADER is the end goal.










    share|improve this question


























      2












      2








      2








      TOPIC:
      Looking to move Shopping Cart to Header-Right in Magento 1.8.1



      ATTEMPTS + OTHER POSTS:



      How to add a Cart Icon to header?



      Move Cart to Header in Magento 1.7



      Any contribution is greatly appreciated.



      Shopping Cart Icon & # Of Products In Cart - DISPLAYED AT RIGHT-HEADER is the end goal.










      share|improve this question
















      TOPIC:
      Looking to move Shopping Cart to Header-Right in Magento 1.8.1



      ATTEMPTS + OTHER POSTS:



      How to add a Cart Icon to header?



      Move Cart to Header in Magento 1.7



      Any contribution is greatly appreciated.



      Shopping Cart Icon & # Of Products In Cart - DISPLAYED AT RIGHT-HEADER is the end goal.







      cart shopping-cart header






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Apr 22 at 20:10







      Lykingond

















      asked Oct 16 '14 at 20:54









      LykingondLykingond

      1091415




      1091415




















          2 Answers
          2






          active

          oldest

          votes


















          2















          1. in yourTheme/layout/local.xml



          <layout>
          <default>
          <!-- Unset cart from sidebar -->
          <reference name="right"><action method="unsetChild"><name>cart_sidebar</name></action></reference>
          <!-- Insert cart in header -->
          <reference name="header"><action method="insert"><blockName>cart_sidebar</blockName></action></reference>
          </default>
          </layout>



          1. in yourTheme/template/page/html/header.phtml:



          // This is required to show the cart
          <?php echo $this->getChildHtml('cart_sidebar'); ?>


          Normaly the cart should appear in the header.



          Edit yourTheme/template/checkout/cart/sidebar.phtml to give the look you want.






          share|improve this answer

























          • Hi, thank you for the post. I did not find local.xml in the Layout folder. I found a local.xml in /app/etc folder? Should I create a new local.xml in the /Layout folder or edit the one in /etc folder?

            – Lykingond
            Oct 17 '14 at 11:42











          • Create app/design/frontend/yourPackage(default?)/yourTheme/layout/local.xml. Then do every layout modifications in local.xml. This way you'll keep your customizations in case of Magento Update

            – Lanks
            Oct 17 '14 at 11:45












          • I updated my answer concerning the local.xml file. Please try again

            – Lanks
            Oct 17 '14 at 12:21











          • I changed the code to the updated one, no change :/, and flushed cache etc.

            – Lykingond
            Oct 17 '14 at 12:57












          • Please give me the exact path of your local.xml. Also did you well configurated your Magento Theme in System > Configuration > Design Tab > Package & Theme ? Maybe this link can help : magentocommerce.com/design_guide/articles/…

            – Lanks
            Oct 17 '14 at 13:02



















          1














          In Local.xml add this :



          <reference name="header">
          <!-- add cart to header -->
          <block type="checkout/cart_sidebar" name="header-cart" template="checkout/cart/header-cart.phtml">
          <action method="addItemRender"><type>simple</type>
          <block>checkout/cart_item_renderer</block><template>checkout/cart/sidebar/default.phtml</template></action>
          <action method="addItemRender"><type>grouped</type>
          <block>checkout/cart_item_renderer_grouped</block><template>checkout/cart/sidebar/default.phtml</template></action>
          <action method="addItemRender"><type>configurable</type>
          <block>checkout/cart_item_renderer_configurable</block><template>checkout/cart/sidebar/default.phtml</template></action>
          <block type="core/text_list" name="cart_sidebar.extra_actions" as="extra_actions" translate="label" module="checkout">
          <label>Shopping Cart Sidebar Extra Actions</label>
          </block>
          </block>
          </reference>


          In header.phtml add this :



          <?php echo $this->getChildHtml('header-cart'); ?>





          share|improve this answer























            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "479"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f40430%2fmove-cart-to-header-in-magento-1-8-1%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            2















            1. in yourTheme/layout/local.xml



            <layout>
            <default>
            <!-- Unset cart from sidebar -->
            <reference name="right"><action method="unsetChild"><name>cart_sidebar</name></action></reference>
            <!-- Insert cart in header -->
            <reference name="header"><action method="insert"><blockName>cart_sidebar</blockName></action></reference>
            </default>
            </layout>



            1. in yourTheme/template/page/html/header.phtml:



            // This is required to show the cart
            <?php echo $this->getChildHtml('cart_sidebar'); ?>


            Normaly the cart should appear in the header.



            Edit yourTheme/template/checkout/cart/sidebar.phtml to give the look you want.






            share|improve this answer

























            • Hi, thank you for the post. I did not find local.xml in the Layout folder. I found a local.xml in /app/etc folder? Should I create a new local.xml in the /Layout folder or edit the one in /etc folder?

              – Lykingond
              Oct 17 '14 at 11:42











            • Create app/design/frontend/yourPackage(default?)/yourTheme/layout/local.xml. Then do every layout modifications in local.xml. This way you'll keep your customizations in case of Magento Update

              – Lanks
              Oct 17 '14 at 11:45












            • I updated my answer concerning the local.xml file. Please try again

              – Lanks
              Oct 17 '14 at 12:21











            • I changed the code to the updated one, no change :/, and flushed cache etc.

              – Lykingond
              Oct 17 '14 at 12:57












            • Please give me the exact path of your local.xml. Also did you well configurated your Magento Theme in System > Configuration > Design Tab > Package & Theme ? Maybe this link can help : magentocommerce.com/design_guide/articles/…

              – Lanks
              Oct 17 '14 at 13:02
















            2















            1. in yourTheme/layout/local.xml



            <layout>
            <default>
            <!-- Unset cart from sidebar -->
            <reference name="right"><action method="unsetChild"><name>cart_sidebar</name></action></reference>
            <!-- Insert cart in header -->
            <reference name="header"><action method="insert"><blockName>cart_sidebar</blockName></action></reference>
            </default>
            </layout>



            1. in yourTheme/template/page/html/header.phtml:



            // This is required to show the cart
            <?php echo $this->getChildHtml('cart_sidebar'); ?>


            Normaly the cart should appear in the header.



            Edit yourTheme/template/checkout/cart/sidebar.phtml to give the look you want.






            share|improve this answer

























            • Hi, thank you for the post. I did not find local.xml in the Layout folder. I found a local.xml in /app/etc folder? Should I create a new local.xml in the /Layout folder or edit the one in /etc folder?

              – Lykingond
              Oct 17 '14 at 11:42











            • Create app/design/frontend/yourPackage(default?)/yourTheme/layout/local.xml. Then do every layout modifications in local.xml. This way you'll keep your customizations in case of Magento Update

              – Lanks
              Oct 17 '14 at 11:45












            • I updated my answer concerning the local.xml file. Please try again

              – Lanks
              Oct 17 '14 at 12:21











            • I changed the code to the updated one, no change :/, and flushed cache etc.

              – Lykingond
              Oct 17 '14 at 12:57












            • Please give me the exact path of your local.xml. Also did you well configurated your Magento Theme in System > Configuration > Design Tab > Package & Theme ? Maybe this link can help : magentocommerce.com/design_guide/articles/…

              – Lanks
              Oct 17 '14 at 13:02














            2












            2








            2








            1. in yourTheme/layout/local.xml



            <layout>
            <default>
            <!-- Unset cart from sidebar -->
            <reference name="right"><action method="unsetChild"><name>cart_sidebar</name></action></reference>
            <!-- Insert cart in header -->
            <reference name="header"><action method="insert"><blockName>cart_sidebar</blockName></action></reference>
            </default>
            </layout>



            1. in yourTheme/template/page/html/header.phtml:



            // This is required to show the cart
            <?php echo $this->getChildHtml('cart_sidebar'); ?>


            Normaly the cart should appear in the header.



            Edit yourTheme/template/checkout/cart/sidebar.phtml to give the look you want.






            share|improve this answer
















            1. in yourTheme/layout/local.xml



            <layout>
            <default>
            <!-- Unset cart from sidebar -->
            <reference name="right"><action method="unsetChild"><name>cart_sidebar</name></action></reference>
            <!-- Insert cart in header -->
            <reference name="header"><action method="insert"><blockName>cart_sidebar</blockName></action></reference>
            </default>
            </layout>



            1. in yourTheme/template/page/html/header.phtml:



            // This is required to show the cart
            <?php echo $this->getChildHtml('cart_sidebar'); ?>


            Normaly the cart should appear in the header.



            Edit yourTheme/template/checkout/cart/sidebar.phtml to give the look you want.







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Apr 22 at 20:18









            magefms

            2,8602529




            2,8602529










            answered Oct 16 '14 at 22:33









            LanksLanks

            419417




            419417












            • Hi, thank you for the post. I did not find local.xml in the Layout folder. I found a local.xml in /app/etc folder? Should I create a new local.xml in the /Layout folder or edit the one in /etc folder?

              – Lykingond
              Oct 17 '14 at 11:42











            • Create app/design/frontend/yourPackage(default?)/yourTheme/layout/local.xml. Then do every layout modifications in local.xml. This way you'll keep your customizations in case of Magento Update

              – Lanks
              Oct 17 '14 at 11:45












            • I updated my answer concerning the local.xml file. Please try again

              – Lanks
              Oct 17 '14 at 12:21











            • I changed the code to the updated one, no change :/, and flushed cache etc.

              – Lykingond
              Oct 17 '14 at 12:57












            • Please give me the exact path of your local.xml. Also did you well configurated your Magento Theme in System > Configuration > Design Tab > Package & Theme ? Maybe this link can help : magentocommerce.com/design_guide/articles/…

              – Lanks
              Oct 17 '14 at 13:02


















            • Hi, thank you for the post. I did not find local.xml in the Layout folder. I found a local.xml in /app/etc folder? Should I create a new local.xml in the /Layout folder or edit the one in /etc folder?

              – Lykingond
              Oct 17 '14 at 11:42











            • Create app/design/frontend/yourPackage(default?)/yourTheme/layout/local.xml. Then do every layout modifications in local.xml. This way you'll keep your customizations in case of Magento Update

              – Lanks
              Oct 17 '14 at 11:45












            • I updated my answer concerning the local.xml file. Please try again

              – Lanks
              Oct 17 '14 at 12:21











            • I changed the code to the updated one, no change :/, and flushed cache etc.

              – Lykingond
              Oct 17 '14 at 12:57












            • Please give me the exact path of your local.xml. Also did you well configurated your Magento Theme in System > Configuration > Design Tab > Package & Theme ? Maybe this link can help : magentocommerce.com/design_guide/articles/…

              – Lanks
              Oct 17 '14 at 13:02

















            Hi, thank you for the post. I did not find local.xml in the Layout folder. I found a local.xml in /app/etc folder? Should I create a new local.xml in the /Layout folder or edit the one in /etc folder?

            – Lykingond
            Oct 17 '14 at 11:42





            Hi, thank you for the post. I did not find local.xml in the Layout folder. I found a local.xml in /app/etc folder? Should I create a new local.xml in the /Layout folder or edit the one in /etc folder?

            – Lykingond
            Oct 17 '14 at 11:42













            Create app/design/frontend/yourPackage(default?)/yourTheme/layout/local.xml. Then do every layout modifications in local.xml. This way you'll keep your customizations in case of Magento Update

            – Lanks
            Oct 17 '14 at 11:45






            Create app/design/frontend/yourPackage(default?)/yourTheme/layout/local.xml. Then do every layout modifications in local.xml. This way you'll keep your customizations in case of Magento Update

            – Lanks
            Oct 17 '14 at 11:45














            I updated my answer concerning the local.xml file. Please try again

            – Lanks
            Oct 17 '14 at 12:21





            I updated my answer concerning the local.xml file. Please try again

            – Lanks
            Oct 17 '14 at 12:21













            I changed the code to the updated one, no change :/, and flushed cache etc.

            – Lykingond
            Oct 17 '14 at 12:57






            I changed the code to the updated one, no change :/, and flushed cache etc.

            – Lykingond
            Oct 17 '14 at 12:57














            Please give me the exact path of your local.xml. Also did you well configurated your Magento Theme in System > Configuration > Design Tab > Package & Theme ? Maybe this link can help : magentocommerce.com/design_guide/articles/…

            – Lanks
            Oct 17 '14 at 13:02






            Please give me the exact path of your local.xml. Also did you well configurated your Magento Theme in System > Configuration > Design Tab > Package & Theme ? Maybe this link can help : magentocommerce.com/design_guide/articles/…

            – Lanks
            Oct 17 '14 at 13:02














            1














            In Local.xml add this :



            <reference name="header">
            <!-- add cart to header -->
            <block type="checkout/cart_sidebar" name="header-cart" template="checkout/cart/header-cart.phtml">
            <action method="addItemRender"><type>simple</type>
            <block>checkout/cart_item_renderer</block><template>checkout/cart/sidebar/default.phtml</template></action>
            <action method="addItemRender"><type>grouped</type>
            <block>checkout/cart_item_renderer_grouped</block><template>checkout/cart/sidebar/default.phtml</template></action>
            <action method="addItemRender"><type>configurable</type>
            <block>checkout/cart_item_renderer_configurable</block><template>checkout/cart/sidebar/default.phtml</template></action>
            <block type="core/text_list" name="cart_sidebar.extra_actions" as="extra_actions" translate="label" module="checkout">
            <label>Shopping Cart Sidebar Extra Actions</label>
            </block>
            </block>
            </reference>


            In header.phtml add this :



            <?php echo $this->getChildHtml('header-cart'); ?>





            share|improve this answer



























              1














              In Local.xml add this :



              <reference name="header">
              <!-- add cart to header -->
              <block type="checkout/cart_sidebar" name="header-cart" template="checkout/cart/header-cart.phtml">
              <action method="addItemRender"><type>simple</type>
              <block>checkout/cart_item_renderer</block><template>checkout/cart/sidebar/default.phtml</template></action>
              <action method="addItemRender"><type>grouped</type>
              <block>checkout/cart_item_renderer_grouped</block><template>checkout/cart/sidebar/default.phtml</template></action>
              <action method="addItemRender"><type>configurable</type>
              <block>checkout/cart_item_renderer_configurable</block><template>checkout/cart/sidebar/default.phtml</template></action>
              <block type="core/text_list" name="cart_sidebar.extra_actions" as="extra_actions" translate="label" module="checkout">
              <label>Shopping Cart Sidebar Extra Actions</label>
              </block>
              </block>
              </reference>


              In header.phtml add this :



              <?php echo $this->getChildHtml('header-cart'); ?>





              share|improve this answer

























                1












                1








                1







                In Local.xml add this :



                <reference name="header">
                <!-- add cart to header -->
                <block type="checkout/cart_sidebar" name="header-cart" template="checkout/cart/header-cart.phtml">
                <action method="addItemRender"><type>simple</type>
                <block>checkout/cart_item_renderer</block><template>checkout/cart/sidebar/default.phtml</template></action>
                <action method="addItemRender"><type>grouped</type>
                <block>checkout/cart_item_renderer_grouped</block><template>checkout/cart/sidebar/default.phtml</template></action>
                <action method="addItemRender"><type>configurable</type>
                <block>checkout/cart_item_renderer_configurable</block><template>checkout/cart/sidebar/default.phtml</template></action>
                <block type="core/text_list" name="cart_sidebar.extra_actions" as="extra_actions" translate="label" module="checkout">
                <label>Shopping Cart Sidebar Extra Actions</label>
                </block>
                </block>
                </reference>


                In header.phtml add this :



                <?php echo $this->getChildHtml('header-cart'); ?>





                share|improve this answer













                In Local.xml add this :



                <reference name="header">
                <!-- add cart to header -->
                <block type="checkout/cart_sidebar" name="header-cart" template="checkout/cart/header-cart.phtml">
                <action method="addItemRender"><type>simple</type>
                <block>checkout/cart_item_renderer</block><template>checkout/cart/sidebar/default.phtml</template></action>
                <action method="addItemRender"><type>grouped</type>
                <block>checkout/cart_item_renderer_grouped</block><template>checkout/cart/sidebar/default.phtml</template></action>
                <action method="addItemRender"><type>configurable</type>
                <block>checkout/cart_item_renderer_configurable</block><template>checkout/cart/sidebar/default.phtml</template></action>
                <block type="core/text_list" name="cart_sidebar.extra_actions" as="extra_actions" translate="label" module="checkout">
                <label>Shopping Cart Sidebar Extra Actions</label>
                </block>
                </block>
                </reference>


                In header.phtml add this :



                <?php echo $this->getChildHtml('header-cart'); ?>






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Oct 17 '14 at 16:35









                Ahmed ElawadiAhmed Elawadi

                1,438720




                1,438720



























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Magento Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f40430%2fmove-cart-to-header-in-magento-1-8-1%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Sum ergo cogito? 1 nng

                    三茅街道4182Guuntc Dn precexpngmageondP