Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Where Does The Cart Variable Add In The User Info When Checking Out? Rate Topic   - - - - -

 
  • bebopboy
  • Advanced Member
  • Trial users
  • Join Date: 04-Feb 20
  • 82 posts

Posted 15 May 2020 - 12:50 PM #1

Hi, I'm looking at checkout.php and I know that before the order data gets inserted into the orders table in the database, the user info in the checkout (when not logged in), is stored in $cart['user_data']. What I'd like to know is which part of the code does that user_data get added into $cart. Thanks.



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 20773 posts

Posted 15 May 2020 - 01:12 PM #2

Check the code in the mentioned file under the $mode == 'customer_info' condition


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)