Search
×
Log in or create an account
If you have an account with us, please log in.

You have no items in your shopping cart.

Frequently Asked Questions

How can we help you?

banner image

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

See more details on Order Attributes page
User Guide

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.

See more details on Order Attributes page
User Guide
Rate the answer?

Total rating: 3.2

If you didn’t find the answer on your question, please, ask here:

Back to top