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

Additional Order Item Data

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 06-23-2023, 04:30 AM
 
Chinki Chinki is offline
 

Newbie
  
Join Date: Jun 2010
Posts: 9
 

Default Additional Order Item Data

Hi,

I have created a table named order_item_details.

How can I save value and update value in this table while adding product in cart and after successfully order placed?


Thanks
__________________
Chinki
Reply With Quote
  #2  
Old 06-24-2023, 04:51 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,195
 

Default Re: Additional Order Item Data

You should start here - https://developer.x-cart.com/
You can't directly create a table in the database. Create a module and do everything you need to in it - create model, controller, the logic, etc.
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #3  
Old 06-25-2023, 11:35 PM
 
Chinki Chinki is offline
 

Newbie
  
Join Date: Jun 2010
Posts: 9
 

Default Re: Additional Order Item Data

This I have already done. Problem is when I am setting model data in prepareOrderItem function in Cart.php Controller, but it is not saving in db.
__________________
Chinki
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (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 10:54 PM.

   

 
X-Cart forums © 2001-2020