Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Как перенести корзину. в magento/
 
jekd96
Jr. Member
 
Total Posts:  16
Joined:  2013-02-05
 

Добрый день. Подскажите пожалуйста как мне перенести корзину в левую сторону в magento. Где рассылка. Пробовал брать из checkout.xml <block type="checkout/cart_sidebar" name="cart_sidebar" template="checkout/cart/sidebar.phtml" before=""> эту строку и вставлять в newsletter.xml в <reference name="left">. Но оно не заработало. Кеш очищал.

 
Magento Community Magento Community
Magento Community
Magento Community
 
mcdky
Sr. Member
 
Avatar
Total Posts:  140
Joined:  2011-09-29
 

В checkout.xml изначально что-то такое

<default>

        <!-- 
Mage_Checkout -->
        <
reference name="top.links">
            <
block type="checkout/links" name="checkout_cart_link">
                <
action method="addCartLink"></action>
                <
action method="addCheckoutLink"></action>
            </
block>
        </
reference>
        <
reference name="right">
            <
block type="checkout/cart_sidebar" name="cart_sidebar" template="checkout/cart/sidebar.phtml" before="-">
                <
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>
    </default>
вот тут
<reference name="right">
поменяйте right на left
<reference name="left">
 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top