beispiel local xml


/ Published in: XML
Save to your folder(s)

local.xml snippet


Copy this code and paste it in your HTML
  1. <layout version="0.1.0">
  2. <default translate="label" module="page">
  3. <label>All Pages</label>
  4. <reference name="root"> <action method="setTemplate"> <template>page/2columns-left.phtml</template> </action> </reference>
  5. <reference name="left">
  6. <block type="checkout/cart_sidebar" name="cart_sidebar" template="checkout/cart/sidebar.phtml" after="-">
  7. <action method="addItemRender">
  8. <type>simple</type>
  9. <block>checkout/cart_item_renderer</block>
  10. <template>checkout/cart/sidebar/default.phtml</template></action> <action method="addItemRender">
  11. <type>grouped</type>
  12. <block>checkout/cart_item_renderer_grouped</block>
  13. <template>checkout/cart/sidebar/default.phtml</template></action> <action method="addItemRender">
  14. <type>configurable</type>
  15. <block>checkout/cart_item_renderer_configurable</block>
  16. <template>checkout/cart/sidebar/default.phtml</template></action>
  17. <block type="core/text_list" name="cart_sidebar.extra_actions" as="extra_actions"/>
  18. </block>
  19. <block type="catalog/product_compare_sidebar" name="catalog.compare.sidebar" template="catalog/product/compare/sidebar.phtml" after="-"/>
  20. </reference>
  21. </default>
  22. </layout>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.