Magento 在计费步骤中更改产品的数量
我开发了一个模块,该模块必须在结账的计费步骤中更改购物车中已存在的虚拟产品的数量。在该步骤中,填写结账的计费步骤的客户最好能够使用输入字段更改订购的数量。有人知道如何做吗?提前谢谢 我认为您必须使用另一种解决方案,因为您可以在结帐时显示购物车的右侧边栏或使用第三方免费扩展 要在右侧边栏上显示:Magento 在计费步骤中更改产品的数量,magento,billing,Magento,Billing,我开发了一个模块,该模块必须在结账的计费步骤中更改购物车中已存在的虚拟产品的数量。在该步骤中,填写结账的计费步骤的客户最好能够使用输入字段更改订购的数量。有人知道如何做吗?提前谢谢 我认为您必须使用另一种解决方案,因为您可以在结帐时显示购物车的右侧边栏或使用第三方免费扩展 要在右侧边栏上显示: app/design/frontend/YOURPACKAGE/YOURTHEME/layout/local.xml <checkout_onepage_index translate="labe
app/design/frontend/YOURPACKAGE/YOURTHEME/layout/local.xml
<checkout_onepage_index translate="label">
<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>
</checkout_onepage_index>
app/design/frontend/yourpack/YOURTHEME/layout/local.xml
simplecheckout/cart\u item\u rendercheckout/cart/sidebar/default.phtml
groupedcheckout/cart\u项目\u渲染器\u groupedcheckout/cart/sidebar/default.phtml
configurablecheckout/cart\u项目\u渲染器\u configurablecheckout/cart/sidebar/default.phtml
购物车侧边栏额外操作
我认为您必须使用另一种解决方案,因为您可以在结帐时显示购物车的右侧边栏或使用第三方免费扩展
要在右侧边栏上显示:
app/design/frontend/YOURPACKAGE/YOURTHEME/layout/local.xml
<checkout_onepage_index translate="label">
<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>
</checkout_onepage_index>
app/design/frontend/yourpack/YOURTHEME/layout/local.xml
simplecheckout/cart\u item\u rendercheckout/cart/sidebar/default.phtml
groupedcheckout/cart\u项目\u渲染器\u groupedcheckout/cart/sidebar/default.phtml
configurablecheckout/cart\u项目\u渲染器\u configurablecheckout/cart/sidebar/default.phtml
购物车侧边栏额外操作