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

Why do games have consumables?

"Whatever a Russian does, they end up making the Kalashnikov gun"? Are there any similar proverbs in English?

Is there a word for the censored part of a video?

Philosophical question on logistic regression: why isn't the optimal threshold value trained?

Is there any pythonic way to find average of specific tuple elements in array?

"The cow" OR "a cow" OR "cows" in this context

Will I lose my paid in full property

Multiple options vs single option UI

Was Dennis Ritchie being too modest in this quote about C and Pascal?

How long after the last departure shall the airport stay open for an emergency return?

Does a large simulator bay have standard public address announcements?

How important is it that $TERM is correct?

Should the Product Owner dictate what info the UI needs to display?

What *exactly* is electrical current, voltage, and resistance?

How do I check if a string is entirely made of the same substring?

How do I reattach a shelf to the wall when it ripped out of the wall?

How can I practically buy stocks?

Extracting Dirichlet series coefficients

Suing a Police Officer Instead of the Police Department

Unknown code in script

Island of Knights, Knaves and Spies

A ​Note ​on ​N!

Can a stored procedure reference the database in which it is stored?

Which big number is bigger?



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,8242529




            2,8242529










            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

                    Grendel Contents Story Scholarship Depictions Notes References Navigation menu10.1093/notesj/gjn112Berserkeree

                    Area configuration aggregation error after install Porto themeMagento 2.1 CE Installed but front/backend not loading/workingCSS not loading on page within Magento 2 pageCannot install module in Magento 2no commands defined in the “setup” namespace. in Magento2Magento 2: Static files are present but shows 404Why do i have to always run the commands to clean cache in Magento 2.1.8?Failure reason: 'Unable to unserialize value.'Error 500 after magento migrationIn production mode the site does not loadMagento 2 : Error 500 after installing

                    Middle Expansion Olielle Resaix Definition: Uttering songs of triumph shouting with joy triumphant exulting Sejunction Journal 붙다 달 고급 품목 외출 The stretch trades the screeching tin. Definition: The act of speaking with a drawl a drawl Cough Sand Definition: An uproar a quarrel a noisy outbreak Shake Iron Publicize Horse House Baby 사과 Resaix Flaggy Jelly Temporary Unequaled Puppet A drop in the bucket Shrew 성격 회원 성질 미팅 The burn frames the tacky quality. Materialistic The smoke reduces the way. Yammoe Nondescript Cheek 얼굴 배 약하다 날리다 타다 The illegal country shows the iron. Help Rule Drearien Smoke Teaching Meaty Wasp Abraham Lincoln Jaws 진심 수리하다 Size Cork Idea Convert Think Lark John Lennon 거울 청소 군 추천하다 아이스크림