Posted by rszrama on May 5, 2008 at 1:48pm
Jump to:
| Project: | Ubercart Donation Products |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
I had a thought that it would be nice to have the currency indicator on the textfield for the donation amount. You can add the following to that element's array to do it like I've done in the cart settings form for the minimum order subtotal:
<?php
'#field_prefix' => variable_get('uc_sign_after_amount', FALSE) ? '' : variable_get('uc_currency_sign', '$'),
'#field_suffix' => variable_get('uc_sign_after_amount', FALSE) ? variable_get('uc_currency_sign', '$') : '',
?>
Comments
#1
Fixed in latest dev release.
#2
Automatically closed -- issue fixed for two weeks with no activity.