0

i would like to change the layout of the magento shopping cart to the same layout as the Onepage-Checkout.

Does anyone have a quick idea how to do this?

1
  • If you do not need the cart page at all you can write redirect from the cart page to the checkout page. Commented May 4, 2016 at 7:23

2 Answers 2

1

Use checkout.xml file and set col1 for this .

1
  • Could you elaborate a bit more? Where is the checkout.xml file? Could you provide an XML example?
    – 7ochem
    Commented May 4, 2016 at 8:14
0

I am sure about your onepage layout.As per as ,my concept most of Onepage checkout layout is 2columns-right.

so,you need to change page layout by:

<checkout_cart_index translate="label">
        <reference name="root">
            <action method="setTemplate"><template>page/2columns-right.phtml</template></action>
        </reference>
 </checkout_cart_index>

Or open checkout.xml

<checkout_cart_index translate="label">
        <label>Shopping Cart</label>
        <remove name="right"/>
        <remove name="left"/>
        <!-- Mage_Checkout -->
        <reference name="root">
            <action method="setTemplate"><template>page/1column.phtml</template></action>
        </reference>

to

<checkout_cart_index translate="label">
        <label>Shopping Cart</label>
        <reference name="root">
            <action method="setTemplate"><template>page/2columns-right.phtml</template></action>
        </reference>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.