Comment to 'ADs Module Price Edit'
  • Hello Kyle !

    In UNA 11 the Price field is the text box where you may set any values like $200 or 500 rub etc.

    • I am on 11 and it does not ask you curency it just defaults to dollars. Do you know where the field can be edited in the code itself? I dont need it to show currencies so. Need to make it so it just displays what is typed in the box or add my own, but removing makes the ads show 0.00 if you disable the block thats already there. 

      • This info is passed through the code like:

        if(!empty($CNF['FIELD_PRICE']) && !empty($aContentInfo[$CNF['FIELD_PRICE']]))

             $sPrice = _t_format_currency((float)$aContentInfo[$CNF['FIELD_PRICE']]);

        The function _t_format_currency takes the default values of in the payment settings. So you need to edit the code like above to get rid from this signs in your Ads. But in this case, you will have loose the advantages of the automatic upgrades.