Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Gift certificates?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 05-12-2004, 04:09 AM
 
spoonernyc spoonernyc is offline
 

Member
  
Join Date: Apr 2004
Posts: 18
 

Default Gift certificates?

Hi there

does anyone know of a good way to sell gift certificates in set amounts like $20, $50 , $100?

thanks

JS
Reply With Quote
  #2  
Old 05-18-2004, 07:40 AM
 
machnhed1 machnhed1 is offline
 

eXpert
  
Join Date: Feb 2003
Location: Illinois
Posts: 274
 

Default

JS,

Open the file skin1/modules/Gift_Certificates/giftcert.tpl

Around line 174 you'll see this:
Code:
<input type=text name=amount size=10 maxlength=9 value="{$giftcert.amount}">

Replace it with this:
Code:
<select name="amount"> <option value="20"{if $giftcert.amount eq "20"} selected{/if}>$20.00</option> <option value="50"{if $giftcert.amount eq "50"} selected{/if}>$50.00</option> <option value="100"{if $giftcert.amount eq "100"} selected{/if}>$100.00</option> </select>

Also, make sure that your minimum amount allowed for gift certificates is set at or below the lowest amount in the drop down box.

Hope that helps
__________________
Following the signature guidelines : xcart pro 3.5.8 - [RedHat]
Reply With Quote
  #3  
Old 03-10-2005, 05:50 AM
 
Bella Forma Bella Forma is offline
 

Senior Member
  
Join Date: Nov 2004
Location: Australia
Posts: 150
 

Default

Going to drag this up from the depths of the forum as I have just implemented it and it works very nicely indeed.

Thank You
__________________
X-Cart Gold 4.0.12
X-AOM, X-RMA, X-FancyCat
Apache/Linux Server
PHP 4.3.8
Reply With Quote
  #4  
Old 03-10-2005, 03:36 PM
 
kirsten kirsten is offline
 

Senior Member
  
Join Date: Feb 2005
Location: Sydney, Australia
Posts: 104
 

Default

If you impliment this mod does a customer still have the option of typing in amount other than these amounts??
Or would that involve another modification?

Thanx

Kirsten
__________________
Kirsten
X_Cart Gold Version 4.0.11
www.silverimports.com.au
www.diamondimports.com.au
Reply With Quote
  #5  
Old 03-10-2005, 03:44 PM
 
Bella Forma Bella Forma is offline
 

Senior Member
  
Join Date: Nov 2004
Location: Australia
Posts: 150
 

Default

Hi kirsten

No this just changes the free text box to a drop down list. You would need another mod to be able to do both.

My thinking on this is that if I get gift vouchers printed out for particular values I only want those amounts to be selectable and if I give them enough options then they shouldn't need free for all amounts.

You can change the amounts shown in the drop down list by just editing the code and adding more as you need them.
__________________
X-Cart Gold 4.0.12
X-AOM, X-RMA, X-FancyCat
Apache/Linux Server
PHP 4.3.8
Reply With Quote
  #6  
Old 03-10-2005, 04:33 PM
 
kirsten kirsten is offline
 

Senior Member
  
Join Date: Feb 2005
Location: Sydney, Australia
Posts: 104
 

Default

Thanx Bella,

Yes it would be better if you are wanting to use printed gift certificates and send them via mail and it would also help to keep the customer buying certificates of certain values and perhaps spend more than they wanted if the incriments were greater apart, but that would also depend upon the stock you sell and the prices.

Currently I just have my Gift Certificate value set at minimum AUD $ 100
so I may set certs for 100, 150, 200, 250 and then possibly do a jump to 500 and 1000, but I will see how this looks .
I am just tossing up the rational whether to go for a cheaper cert of 50 as well, even though there would be nothing anyone could buy on my site for 50 but it may get anotrher customer to purchase something using this cert and then paying the difference.

Anyway I will ponder some more about this

Keep well

Kirsten
__________________
Kirsten
X_Cart Gold Version 4.0.11
www.silverimports.com.au
www.diamondimports.com.au
Reply With Quote
  #7  
Old 04-12-2008, 04:14 PM
 
Latino Latino is offline
 

Advanced Member
  
Join Date: Feb 2007
Posts: 33
 

Default Re: Gift certificates?

It is not working for me, would you help me?
I changed giftcert.tpl
From:
<td align="left"><input type="text" name="amount" size="10" maxlength="9" value="{$giftcert.amount|formatprice}" />
To:
<td align="left">
<select name="amount">
<option value="25"{if $giftcert.amount eq "25"} selected{/if}>$25.00</option>
<option value="50"{if $giftcert.amount eq "50"} selected{/if}>$50.00</option>
<option value="100"{if $giftcert.amount eq "100"} selected{/if}>$100.00</option>
<option value="200"{if $giftcert.amount eq "200"} selected{/if}>$200.00</option>
</select>
__________________
Latino for ever!!
X-Cart Gold V 4.4.1
X-SpecialOffers
X-AOM
http://www.gobrisk.com Buy Smart... Order Online!!!
(Kitchen Cabinet Hardware, Plantation Shutter Hardware, Bathroom Hardware, Vanities and More!!!)
Reply With Quote
  #8  
Old 04-12-2008, 04:52 PM
 
Latino Latino is offline
 

Advanced Member
  
Join Date: Feb 2007
Posts: 33
 

Default Re: Gift certificates?

It is working now!!! But it works when a customer wants to purchase a Gift Certificate. GREAT!!!

I would like to know how I can have the same result when a customer wants to convert BONUS POINTS into a certificate?????
__________________
Latino for ever!!
X-Cart Gold V 4.4.1
X-SpecialOffers
X-AOM
http://www.gobrisk.com Buy Smart... Order Online!!!
(Kitchen Cabinet Hardware, Plantation Shutter Hardware, Bathroom Hardware, Vanities and More!!!)
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 12:48 AM.

   

 
X-Cart forums © 2001-2020