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

How to insert custom field of checkout page to the database?

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 08-27-2015, 02:29 AM
 
anirudhpandia anirudhpandia is offline
    
Join Date: Aug 2015
Posts: 0
 

Default How to insert custom field of checkout page to the database?

Hi,

I add a date picker on my website checkout page,now i want to use this date..so first i want to insert my date into database..I tried it to for many times but not succeed..

How can we add field to database?
__________________
xcart v5.2.5 [Linux]
Reply With Quote
  #2  
Old 09-02-2015, 04:51 AM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: How to insert custom field of checkout page to the database?

Please refer to the documentation for X-Cart 5 developers that is available at http://kb.x-cart.com/ - it has a number of articles on working with database entities.

I guess you want to store the date along with the order, so you are to add a custom field to \XLite\Model\Order entity.
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may 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 03:48 PM.

   

 
X-Cart forums © 2001-2020