Commerce Server General - OrderTemplate.Save problem

This is Interesting: Free IT Magazines  
Home > Archive > Commerce Server General > September 2005 > OrderTemplate.Save problem





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author OrderTemplate.Save problem
Alexander Yushchenko

2005-09-02, 5:55 pm

I use MSCS2002 + SP3 + FP1.

I try to use OrderTemplate class to store "wish list" for a user -
something like shopping cart but without quantities and checkout (it's
like favourites in internet explorer, used to "bookmark" some products).

I have created the WishList class attached.

I use the following code to add product to wish list:

wishList.AddProduct (this.ProductID);
wishList.Save();

Everything is ok, in debugger I can see that the product is added.

But on the next postback of the same aspx page it is empty! It
seems like it was not saved successfully.

Please, advice.

--
Yours faithfully,
Alexander Yushchenko

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com