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

Adding new column to order table issue - xcart 5.3 version

 
Reply
   X-Cart forums > X-Cart 5 > Third Party Add-Ons for X-Cart 5
 
Thread Tools Search this Thread
  #1  
Old 02-10-2017, 04:44 AM
 
Sooraj Sooraj is offline
 

Newbie
  
Join Date: Mar 2016
Posts: 9
 

Default Adding new column to order table issue - xcart 5.3 version

How can I add new column to order table. I added one column through phpmyadmin. But when i checked table column disapeared. Don't know how it is deleted.
Please help
Reply With Quote
  #2  
Old 02-10-2017, 06:15 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: Adding new column to order table issue - xcart 5.3 version

With XC5 you cannot make direct changes to database and files. You need to do this with a module. https://devs.x-cart.com/
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #3  
Old 02-12-2017, 11:16 PM
 
Sooraj Sooraj is offline
 

Newbie
  
Join Date: Mar 2016
Posts: 9
 

Default Re: Adding new column to order table issue - xcart 5.3 version

Thanks. I have created field by creating module.

http://devs.x-cart.com/en/basics/adding_new_property_to_a_product/

One more question. How can I update table using query? Where Can I see database queries example?
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > Third Party Add-Ons for X-Cart 5


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 12:35 AM.

   

 
X-Cart forums © 2001-2020