magento® extensions you love
Magento Extension Builder

Protect your store from fraudful orders

How to get/output order attribute value via PHP code?

Please use the following code if you need to get order attribute value anywhere while using Order Attributes extension:

 

<?php $value = $order->custom('attribute_code'); ?>

 

where $order is order object, and attribute_code is a code of order attribute, created via the `Amasty: Order Attributes` extension.

Rate the answer?