Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/magento/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Magento 在计费步骤中更改产品的数量_Magento_Billing - Fatal编程技术网

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
购物车侧边栏额外操作