View Single Post
  #9  
Old 10-29-2014, 08:28 AM
  mcanitano's Avatar 
mcanitano mcanitano is offline
 

eXpert
  
Join Date: Feb 2006
Location: Melbourne, FL
Posts: 216
 

Default Re: At long last - edit Gift Certificate numbers and values from your admin panel

Quote:
Originally Posted by MAPerformance Admin
All right, I got this working on 4.4.3. All steps are the same as outlined in the OP, aside from these minor changes:

This file
Code:
/skin1/modules/Gift_Certificates/gc_admin.tpl

Is located in your site's skin directory, either
Code:
/skin/common_files/modules/Gift_Certificates/gc_admin.tpl

or
Code:
/skin/YOUR_SKIN/modules/Gift_Certificates/gc_admin.tpl

And this step:
Code:
{include file="currency.tpl" value=$giftcerts[gc_num].debit}/{include file="currency.tpl" value=$giftcerts[gc_num].amount}

should read:
Code:
{currency value=$giftcerts[gc_num].debit}/{currency value=$giftcerts[gc_num].amount}

The edit link appears in the Gift Certificate screen as shown in the attachment, and when clicked, changes the "GiftCert ID" and "Rem./Amount fields" into editable fields. One thing to note, is that the Amount field can not be changed to anything larger than the original value of the GC, but anything equal to or less is fine.

I can confirm this works on 4.5.5 (mostly because X-Cart never changed the gc_admin.tpl file from XC v4.4.4 to 4.5.5. My file still says [v8 (xcart_4_4_4), etc....] at the top)!
__________________
Marcello Canitano
New Site: X-Cart v4.5.5 GOLD
X-Cart Mobile v1.4.3
X-Payments v1.0.6
CDSEO Pro v2
Total Server Solutions xCDN

www.silverhorseracing.com
Reply With Quote