Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Magento: Fieldsets in Config File

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 567
    Comment on it

    In this blog, i will explain how to convert quote object to order object using Fieldsets tag in XML config file.
    <fieldsets> tag is only found in config.xml files. This tag is used to define attributes (fields) that will be copied from one table to another table.
    For example: Copy fields data from quote_item table to order_item table
    This can be done with XML:

    <global>
        <fieldsets>
            <sales_convert_quote_item>
    
                            <itemcomment>
    
                                <to_order_item>*</to_order_item>
    
                            </itemcomment>
    
                        </sales_convert_quote_item>
    
        </fieldsets>
    
    <global>

     

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: