How to make order summary more beautiful?

How to make order summary more beautiful?
1.Order review layout:
<block type="checkout/onepage_review_info" name="root" output="toHtml" template="checkout/onepage/review/info.phtml">
    <action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/onepage/review/item.phtml</template></action>
    <action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/onepage/review/item.phtml</template></action>
    <action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/onepage/review/item.phtml</template></action>
    <block type="checkout/cart_totals" name="checkout.onepage.review.info.totals" as="totals" template="checkout/onepage/review/totals.phtml"/>
    <block type="core/text_list" name="checkout.onepage.review.info.items.before" as="items_before" translate="label">
        <label>Items Before</label>
    </block>
    <block type="core/text_list" name="checkout.onepage.review.info.items.after" as="items_after" translate="label">
        <label>Items After</label>
    </block>
    <block type="checkout/agreements" name="checkout.onepage.agreements" as="agreements" template="checkout/onepage/agreements.phtml"/>
    <block type="core/template" name="checkout.onepage.review.button" as="button" template="checkout/onepage/review/button.phtml"/>
</block>

2.Go to block Mage_Checkout_Block_Cart_Totals

The main methods in this block are getTotals() and renderTotals(). For each total item,you can define the renderer to render them.

3.Default total renderer:

Block Mage_Checkout_Block_Total_Default is the default total renderer if other specific renderer are not defined. It is also used as parent class when you define the new renderer.
4.Use setStyle() method to overwrite style-sheet and add extra style


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值