New Field To Export Products

hello forum,



I need to add 1 new field to export products.



any idea on how m I going to get the payment method field and display on the options of “Available Fields” ?



thanks

[quote name=‘nil2567’ timestamp=‘1424112859’ post=‘205500’]

hello forum,



I need to add 1 new field to export products.



any idea on how m I going to get the payment method field and display on the options of “Available Fields” ?



thanks

[/quote]



Please check the following example:

What m I doing worng?



addons\my_changes\schemas\exim\orders.post.php



$schema['export_fields']['my_test'] = array (

'db_field' => 'email',

'required' => true,

);

return $schema;

I'm not sure exactly what you're trying to do here but if you are wanting to export the payment method of the order(s), I am pretty sure that the information falls under “Payment information” in the order export.

Looks like the cscart_products table does not contain the email field

what I want is to have one more field to export orders that will be payment methods

ex:



mastercard