Sharing is helping.

We offer you this space to share your knowledge about Magento and learn from our experienced customers.


    Home Forums Reply To: Cart Image in black bar does not update with cart quantity / price Reply To: Cart Image in black bar does not update with cart quantity / price

    #11303

    Support Team
    Key Master

    Ok, well… after a couple of headaches, here is the solution:

    1.
    File: app/design/frontend/default/hellouno/layout/catalog.xml
    Around the line: 48
    Code:
    <reference name=”top.menu”>
    <block type=”catalog/navigation” name=”catalog.topnav” template=”catalog/navigation/top.phtml”/>
    <block type=”checkout/cart_sidebar” name=”cart_menu” template=”checkout/cart/top_cart.phtml”/>
    </reference>

    2.
    File: app/design/frontend/default/hellouno/template/catalog/navigation/top.phtml
    Code:
    < ul id=”nav” >

  • < a href=”<?php echo $this->getUrl(”) ?>”>Homepage< /a >
  • <?php foreach ($this->getStoreCategories() as $_category): ?>
    <?php echo $this->drawItem($_category) ?>
    <?php endforeach ?>
    <?php echo $this->getChildHtml(‘cart_menu’) ?>

    3.
    File: skin/frontend/default/hellouno/css/styles.css
    Code:
    /* Navigation */
    #navigation {float: left; background: transparent url(../images/navigation.png) no-repeat; width: 100%; height:53px; overflow:hidden;}
    #nav { float:left;font-size:1.2em;height: 50px;}
    .cartMenu{top:-50px;}

    Hope it helps!
    Regards!