Quantcast
Channel: Optimizely Search & Navigation
Viewing all articles
Browse latest Browse all 6894

Is there a way to fetch CustomerId or parent from SerializedCart's OrderForm?

$
0
0

Hi

I need to fetch the CustomerId from SerializedCart IOrderForm, but don't see it as a property on it and don't see a way to access the parent of this IOrderForm either. But it is a field on SerializableCart table in DB. Can someone please advice if this is feasible?

Also, noticed that if cart is a Serialized Cart, then there is no IOrderGroup to be fetched from it. Is that correct? I tried overriding the DefaultOrderGroupCalculator for a Serialized Cart, but since it takes IOrderGroup as parameter, it never got hit.

The documentation doesn't have much to go with here.

Please advice.

Regards

Ritu


Viewing all articles
Browse latest Browse all 6894

Trending Articles