CMS Development

FSalem87
Member

Built-in object type `CART` is not yet supported.

Hey all,

 

I am trying to build a custom module that can be added to an email template. This module should get all the line items from the latest cart of an associated contact but I'm getting an error:

Error:1:1 Built-in object type `CART` is not yet supported.
Error:internal error


We have an integration with Shopify. Here is the line of code that throws the error:

 

{% set associated_carts = crm_associations(contact.hs_object_id, "HUBSPOT_DEFINED", 587, "limit=1&orderBy=-closedate") %}

 

 

Thank you!

 

0 Upvotes
2 Replies 2
FSalem87
Member

Built-in object type `CART` is not yet supported.

Thank you for your response Jaycee.

Okay, I'll submit a support ticket.

0 Upvotes
Jaycee_Lewis
Community Manager
Community Manager

Built-in object type `CART` is not yet supported.

Hey, @FSalem87 👋 Thanks for your question. Were you able to make any progress? The associationTypeId you are using looks to be correct. If you haven't already, you might file a support ticket and get verification this error is expected. I'd preface your support request with the fact that you are not looking for custom code help but need to understand why this error is occurring and if there is anything else you need to include. 

 

Best,

Jaycee

linkedin

Jaycee Lewis

Developer Community Manager

Community | HubSpot

0 Upvotes