2
我正在使用Magento的onepage結帳的Magento網站上工作。Magento - 訂單摘要onepage結帳
我需要顯示在結帳過程(而不是「你結帳過程塊」)
總結非常需要包括的右手側的順序總結; 產品名稱,數量和價格 隨着小計,交貨成本和下面的總價格。
我正在使用Magento的onepage結帳的Magento網站上工作。Magento - 訂單摘要onepage結帳
我需要顯示在結帳過程(而不是「你結帳過程塊」)
總結非常需要包括的右手側的順序總結; 產品名稱,數量和價格 隨着小計,交貨成本和下面的總價格。
我有這個在我的checkout.xml
<checkout_onepage_index translate="label">
<label>One Page Checkout</label>
<reference name="head">
<remove name="cookielawHead" />
</reference>
<reference name="footer">
<remove name="cookielawFooter" />
</reference>
<!-- Mage_Checkout -->
<!--
<remove name="right"/>
-->
<remove name="left"/>
<reference name="root">
<action method="setTemplate"><template>page/2columns-checkout.phtml</template></action>
</reference>
<reference name="right">
<action method="unsetChildren"></action>
<!--<block type="checkout/cart_sidebar" before="-" name="catalog.cart.sidebar" template="checkout/cart/sidebar.phtml"/> -->
<block type="checkout/cart_sidebar" name="cart_sidebar" as="ajaxCart" template="ajaxcart/cart/sidebarcheckout.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>
<block type="checkout/cart_totals" name="total_sidebar" as="total_sidebar" template="checkout/onepage/review/totals_right.phtml">
<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>
<block type="cms/block" name="checkout_contact_right">
<action method="setBlockId"><block_id>checkout_contact_right</block_id></action>
</block>
<block type="cms/block" name="checkout_shipping_right">
<action method="setBlockId"><block_id>checkout_shipping_right</block_id></action>
</block>
</reference>
<reference name="content">
<block type="checkout/onepage" name="checkout.onepage" template="checkout/onepage.phtml">
<block type="checkout/onepage_login" name="checkout.onepage.login" as="login" template="checkout/onepage/login.phtml">
<block type="page/html_wrapper" name="checkout.onepage.login.before" as="login_before" translate="label">
<label>Login/Registration Before</label>
<action method="setMayBeInvisible"><value>1</value></action>
</block>
</block>
<block type="checkout/onepage_billing" name="checkout.onepage.billing" as="billing" template="checkout/onepage/billing.phtml"/>
<block type="checkout/onepage_shipping" name="checkout.onepage.shipping" as="shipping" template="checkout/onepage/shipping.phtml"/>
<block type="checkout/onepage_shipping_method" name="checkout.onepage.shipping_method" as="shipping_method" template="checkout/onepage/shipping_method.phtml">
<block type="checkout/onepage_shipping_method_available" name="checkout.onepage.shipping_method.available" as="available" template="checkout/onepage/shipping_method/available.phtml"/>
<block type="checkout/onepage_shipping_method_additional" name="checkout.onepage.shipping_method.additional" as="additional" template="checkout/onepage/shipping_method/additional.phtml"/>
</block>
<block type="checkout/onepage_payment" name="checkout.onepage.payment" as="payment" template="checkout/onepage/payment.phtml">
<block type="checkout/onepage_payment_methods" name="checkout.payment.methods" as="methods" template="checkout/onepage/payment/methods.phtml">
<action method="setMethodFormTemplate"><method>purchaseorder</method><template>payment/form/purchaseorder.phtml</template></action>
</block>
</block>
<block type="checkout/onepage_review" name="checkout.onepage.review" as="review" template="checkout/onepage/review.phtml"/>
</block>
</reference>
</checkout_onepage_index>
這將增加了購物車,總計在結賬的右側。
一會兒就可以了。謝謝 :) – 2013-03-20 11:35:35
這是不是已經實施?如果您不想顯示其他區塊(如發貨地址等),請在checkout.xml(佈局文件)中將其註釋掉。 – 2013-03-20 10:11:19
看起來不像它已實施。 我可以照顧其他位,這不是問題 - 但默認情況下,至少,我沒有我的訂單摘要在結帳部分。 – 2013-03-20 10:18:21