Skip to main content

Edit export order

More
12 years 3 months ago #162780 by cfi
Edit export order was created by cfi
How do I change the column order of export to csv file where it is indicated address_state (shipping_address_state or billing_address_state) by changing the name in 2 or 3 characters (zone_code_3) instead of the full name?
Example "Milan" -> "MI"
Is there any option to moficare value? I see you in the "zone" the data is already present
Thank you!

Please Log in or Create an account to join the conversation.

More
12 years 3 months ago #162784 by Xavier
Replied by Xavier on topic Edit export order
Hi,

You can create a simple plugin based on the function "onBeforeOrderExport()" and edit the $rows data to replace the full name by the 2-3 desired characters.

Here is some documentation:
hikashop.com/support/support/documentati...#onBeforeOrderExport

Please Log in or Create an account to join the conversation.

Time to create page: 0.135 seconds
Powered by Kunena Forum