Discussions
Cart data contains yearly and monthly membership items in the same cart.
Hello,
As requested in this ticket: https://support.imis.com/hc/en-us/requests/187260
I have posted the same here:
We have monthly membership setup (in addition to yearly) using the "begins with" customer type method.
When looking at a cart (sample attached), you'll notice that the tree at this point:
test["Items"]["$values"][0]["ComboOrder"]["Order"]["Lines"]["$values"][0]["ChildOrderLines"]["$values"][0]["ChildOrderLines"]["$values"]
and this point
test["Items"]["$values"][0]["ComboOrder"]["Order"]["Lines"]["$values"][0]["Item"]["Components"]["$values"][0]["Item"]["Components"]["$values"]
both contain both membership kit products. (VIC_FULL_MEMBERSHIP/DUES_VICF_KIT
, and "VIC_FULL_MEMBERSHIP/DUES_VICFM_KIT"
)
Although the cart totals are correct, the sub line items contents are not correct and obviously cause issues if you are inspecting the cart on a line-by-line case.
Cart:
https://imis.zendesk.com/attachments/token/4x1kCOer8A8NkTfZyv9yvPqm6/?name=cart.json
Here are some images that may illustrate easier:
https://imis.zendesk.com/attachments/token/8AVRIeNU6KG15hNLTKBLoNpgb/?name=cart-childlines.png
https://imis.zendesk.com/attachments/token/JnZdVITyPNeUY2iOWBcbROWHm/?name=cart-components.png
Thanks.