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 customer attribute value via PHP code?

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

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

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

Rate the answer?

Total rating: 3.5

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

Back to top