| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
How to add fields to the Gift Wrap | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
How to add fields to the Gift Wrap
I'm working on adding fields to the Gift Wrap section of 4.4.1. I want to add a "To:" field, and a "Occasion" field.
Here's what i did: in /modules/Gift_Registry/place_order_extra.php, below this: PHP Code:
Add these 2 lines: PHP Code:
In /skin/common_files/modules/Gift_Registry/gift_wrapping_cart.tpl, below: Code:
Add: Code:
In /modules/Gift_Registry/giftreg_customer_cart.php, below: PHP Code:
Add: PHP Code:
You'll quickly notice that the actual input boxes on the checkout screen aren't done. I'll have my web designer do that, but i wanted to post this before i forgot what i did. One thing i also didn't add was a way to see the variable in admin. I pull it straight from the database for what i do, and i'm really not sure how to get it to show up in the admin section. Perhaps someone can chime in on that. I hope this helps someone. Matt
__________________
Matt Monaco X-Cart Gold Plus 4.7.9 |
|||||||
|
#2
|
|||||||
|
|||||||
Re: How to add fields to the Gift Wrap
hello everyone,
can someone help me as to which table does it store thew giftwrap options as i need to show the same on some other page rgds
__________________
Version 4.4.3 |
|||||||
|
|||
X-Cart forums © 2001-2020
|