The Order/Customer CSV Export extension is often used for forwarding orders to fulfillment services or for generating mailing labels for shipping products. If your shop is based in the U.S. and you are shipping products to overseas locations, the U.S. postal service requires the country name to be fully spelled out, but by default, the CSV export for the order only contains the two-letter country code as opposed to the full name of the country. How then can the output of the CSV Export be customized to include the full country name? One solution is to use a couple of the filters provided by the Order/Customer CSV Export extension. The filters themselves are documented here: developer documentation
The following code snippet should serve as an example of how to do this in the case of shipping/mailing labels:
Not sure what to do with code snippets? See What Do I Do With These Code Snippets?
Leave a Reply
You must be registered and logged in to post a comment.