KonaKart Community Forum

Installation / Configuration => Programming of KonaKart => Topic started by: ryanlynch on April 04, 2008, 03:56:23 am

Title: customers_basket table
Post by: ryanlynch on April 04, 2008, 03:56:23 am
Hi there -
Can someone kindly tell me which class populates the customers_basket table. I would like to extend this class and populate the Custom1 field. I have been successful in setting (CustomerIf cust = kkAppEng.getCustomerMgr().getCurrentCustomer();) setCustom1 value, however the set value does not populate in the database. Any help would be great!
Title: Re: customers_basket table
Post by: pete on April 04, 2008, 06:13:23 am
Hi,

You should use the App Eng API call : public int addToBasket(String sessionId, int customerId, BasketIf item) . If the custom fields of item are populated, then they will be written to the database.