• Welcome to KonaKart Community Forum. Please login or sign up.
 

customers_basket table

Started by ryanlynch, April 04, 2008, 03:56:23 am

Previous topic - Next topic

ryanlynch

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!

pete

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.