View Single Post
  #2  
Old 11-08-2012, 03:33 AM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: Gift Certificate Fixed Amount Drop Down menu

Never done it, but it should be easy.

Here is the template in question: /common_files/modules/Gift_Certificates/customer/giftcert.tpl

And here is the original code:
Code:
<td> <input type="text" name="amount" size="10" maxlength="9" value="{$giftcert.amount|formatprice}" /> {if $min_gc_amount gt 0 or $max_gc_amount gt 0} {$lng.lbl_gc_amount_msg} {if $min_gc_amount gt 0} {$lng.lbl_gc_from} {include file="currency.tpl" value=$min_gc_amount} {/if} {if $max_gc_amount gt 0} {$lng.lbl_gc_through} {include file="currency.tpl" value=$max_gc_amount} {/if} {/if} </td>

See the <input> Just change it to a <select> with the same name. http://www.w3schools.com/tags/tag_select.asp
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote