从magento列表中删除特定的订单状态 [英] remove particular order status from list in magento

查看:67
本文介绍了从magento列表中删除特定的订单状态的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用扩展程序

http://www.magentocommerce .com/magento-connect/eitai2001/extension/1468/order-status/reviews#reviews

提供很多订单状态..但我的需求有限..所以我想从订单状态列表中删除一些状态...我该怎么做..请帮助 谢谢!

of magento which provide a lot of order status..but my need is limited ..so i want to remove some status from my order-status list... how can i do this..please help Thanks!

已编辑 我在 config.xml 中进行了更改 如果我评论任何订单状态...像这样

Edited I made change in config.xml If I comment any order-status ... like this

<!--<processing_cc_settled translate="label"><label>Processing - Credit Card has been Settled</label></processing_cc_settled>-->

但是在组合框中(状态显示在管理站点中)仍 processing_cc_settled 出现在与正在处理-信用卡已结清的位置相同的地方,然后再发表评论

but in combobox(where status shows in admin site )still processing_cc_settled appears at the same place where Processing - Credit Card has been Settled showing up before commenting

推荐答案

如果该扩展名与我安装一个客户端站点时看到的扩展名相同,则它应在其/etc子目录中包含一个config.xml文件(注意:不是全局/app/etc,而是在/app/code/community/文件夹中的某个位置).在此文件中,您将找到所有其他状态的定义.只需注释掉不需要的内容即可.您还可以更改所留下的内容,以使其更适合您的需求.

If this is the same extension that I have seen installed one client's site then it should have a config.xml file included in its /etc subdirectory (NOTE: not the global /app/etc but somwhere in the /app/code/community/ folder). In this file you will find definitions for all the additional statuses. Just comment out the ones you don't want. You can also change the ones that you leave so that they are better suited to your needs.

澄清:

这是我的config.xml的一部分:

Here's a piece of my config.xml:

<config>
    <modules>
        <Mage_Sales_Community>
            <version>0.1.2</version>
        </Mage_Sales_Community>
    </modules>
    <global>
        <sales>
            <order>
                <statuses>
                    <!--Complete Status Descriptions-->
                    <complete translate="label"><label>Dispatched</label></complete>
                    <!--Cancelled Status Descriptions-->
                    <canceled translate="label"><label>Suspended</label></canceled>
                    <!--<canceled_discontinued translate="label"><label>Suspended - No stock</label></canceled_discontinued> -->
                    <!-- /* Additional custom statuses will go here */ -->
                    <!-- Format of a status description is <name_of_status translate="label"><label>Name of Status</label?</name_of_status> -->
                </statuses>
            </order>
        </sales>
    </global>
</config>

请注意,完成和取消定义了不同的标签.还有一个canceled_discontinued状态,但是由于整个条目都已被注释掉,因此不使用它.如果您在评论后该条目保留在订单评论下拉列表中,请确保您已刷新缓存...

Note that complete and canceled have a different label defined. There is also a canceled_discontinued status, but it is not used as the whole entry is commented out. If the entry stays on the order comments dropdown after you have commented it make sure that you have refreshed the cache...

这篇关于从magento列表中删除特定的订单状态的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆