Cart items preview on mouseover

yes, its realy a nice addon. It works with 1.5.1 !
The installation instructions aren't the best so want to tell how I managed it.
1. Activate the cart-sidebar in the backend
2. open the checkout.xml in YOUR template folder
3. copy the code between the [...] from the "overview" and paste into your checkout.xml between <default></default>
- let the rest of the code stay there
4. paste <?php echo $this->getChildHtml('cartview_link') ?> it into the header.phtml between the quick-access <div>
or use this code <?php echo $this->getChildHtml('topLinks')  ?>

5. copy the new css from the default folder into your css folder
6. you can style the most in your style.css
7. if you dislike the left cart now you can paste .col-left .block-cart {display:none;} into your style.css, best @the /* Block: Cart */ chapter
here it works: www.menxclusive.de (as long as my customer wants it)




magento connect:

http://www.magentocommerce.com/magento-connect/cart-items-preview-on-mouseover.html



Overview:
<?xml version="1.0" ?>
<layout>
    <default>
        [...]
        <reference name="header">
            <reference name="top.links">
                <remove name="checkout_cart_link"/>
                <block type="cartview/view" name="cartview_toplink" template="cartview/toplink.phtml" >
                    <block type="checkout/cart_sidebar" name="cart_sidebar" as="topcart" template="checkout/cart/sidebar.phtml"/>
                </block>
                <action method="addLinkBlock"><blockName>cartview_toplink</blockName></action>
                <block type="checkout/links" name="checkout_cart_link_cartview">
                    <action method="addCheckoutLink"></action>
                </block>
            </reference>
        </reference>
        [...]
    </default>
</layout>

Comments

Post a Comment

Popular Posts

Magmi Single and Multiple Category Importer