I’ve
been experimenting with a client’s request to be able to save and have
multiple wishlists/shopping carts. I haven’t had too much trouble figuring out
how the cart data is stored, how one would create a new cart, and how one would
access a custom-named cart and show it in a user control.
However,
I cannot figure out how, using ECF’s object model, to get a list of a user’s
various carts. It looks like ECF calls them individually by name (“Default” and
“Wishlist”), but I’d like to be able to enumerate through a user’s carts.
I
suspect the following might give me what I want:
Mediachase.Commerce.Orders.Cart.LoadByCustomer(ProfileContext.Current.UserId);
But
when calling that method, I receive the following runtime error:
Could not find stored procedure 'ecf_Search_ShoppingCart_Customer'
Looking
in the DB, I do see that that stored procedure is not present.
Can anyone tell me if there is a fix for this method, or another way of getting at the
data I’m looking for?
Thanks!