Results 1 to 7 of 7

Threaded View

  1. #1
    Join Date
    Oct 2012
    Posts
    52
    Plugin Contributions
    0

    help question 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?
    Last edited by tips007; 14 Oct 2012 at 11:55 AM.

 

 

Similar Threads

  1. v151 How to get the customer country value from checkout_shipping page?
    By kapsolas in forum General Questions
    Replies: 7
    Last Post: 11 Jan 2013, 07:06 PM
  2. v139h change to other attributes and values from first attribute
    By Dremote in forum General Questions
    Replies: 2
    Last Post: 21 Nov 2012, 07:28 PM
  3. attributes value from database
    By dubnium in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 13 Dec 2010, 04:27 PM
  4. Cross sell max values
    By Parafanaylya in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 19 Jul 2006, 06:10 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg