Try our conversational search powered by Generative AI!

Searching SerializableCart? [11.3]



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?



Nov 11, 2017 2:10

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.

Nov 11, 2017 13:18

Just as I excepted, thanks Quan.


Nov 11, 2017 16:30

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

Apr 20, 2018 20:12

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

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.