Magento pass and save additional details from cart page into orders table -


i need pass additional parameters along eith products cart page , save order table whenever order being placed.for example parameterscould custom price or anything.

i have created db field in table "sales_flat_order_item".

which best way accomplish above requirement ?

1) save additional parameters when order being placed using "sales_order_place_before" event

2) save details in quote before proceeding checkout

moreover event used if save details before proceeding checkout ?

i can not think of best way achieve this.

please help.

thanks in advance.

take @ http://www.magentocommerce.com/boards/viewthread/19344/

in config.xml

... <global>       <fieldsets>         <sales_convert_quote>                                        <cs_aoc_webid><to_order>*</to_order></cs_aoc_webid>         </sales_convert_quote>          <sales_convert_order>                                                           <cs_aoc_webid><to_quote>*</to_quote></cs_aoc_webid>         </sales_convert_order>     </fieldsets>   ....     <events>         <some add cart event>             <observers>                 <adminorderconfirmation>                     <type>singleton</type>                     <class>customquotefields/observer</class>                     <method>savedata</method>                 </adminorderconfirmation>             </observers>         </some add cart event> 

Comments

Popular posts from this blog

c++ - Function signature as a function template parameter -

How to call a javascript function after the page loads with a chrome extension? -

algorithm - What are some ways to combine a number of (potentially incompatible) sorted sub-sets of a total set into a (partial) ordering of the total set? -