Searching SerializableCart? [11.3]

Vote:
 

Hi!

So I just started using SerializableCart, first of all, it looks great!

We used to search for carts using OrderContext.Current.FindCarts. We used to search for Metadata in the cart. I guess OrderContext.Current.FindCarts only searches the old tables and not the SerializedCart object?

Thanks!

/Kristoffer

#185201
Nov 11, 2017 2:10
Vote:
 

Yes, the OrderContext.FindCarts only works with the old cart system, not the new one. The ability to search for carts in new cart system is quite limited, and can only be done via an internal class - SerializableCartDB. 

We have plan to improve the search in the new abstraction APIs, but that would not happen any time soon.

#185206
Nov 11, 2017 13:18
Vote:
 

Just as I excepted, thanks Quan.

/Kristoffer

#185215
Nov 11, 2017 16:30
Vote:
 

Could you possibly share your implementation with us ? There is not a lot of documentation on this matter.

#191147
Apr 20, 2018 20:12
Vote:
 

Hi Andreas,

The implementation for serializable cart is currently internal. You can find the documentation here.

If you have concerns with the API, feel free to post then we can help :)

/Viet Anh

#191157
Apr 23, 2018 5:31
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.