New Zenner
- Join Date:
- Oct 2012
- Posts:
- 52
- Plugin Contributions:
- 0
Get max value from attributes values
hello
in checkout_confirmation file, i find the code nl2br(zen_output_string_protected($order->products[$i]['attributes'][$j]['value']))
i want to use max() for my attributes values (all my attributes avlues are numbers)
i tried echo max(zen_output_string_protected($order->products[$i]['attributes'][$j]['value']))
and echo max(array(zen_output_string_protected($order->products[$i]['attributes'][$j]['value'])))
they don't work
any ideas?