# Ajax Cart Integration shopify

**URL:** <https://forum.builder.io/t/ajax-cart-integration-shopify/2062>\
**Category:** Technical Questions\
**Created:** [April 18, 2022, 11:25pm UTC](https://forum.builder.io/t/ajax-cart-integration-shopify/2062 "2022-04-18T23:25:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![cranetrain](https://avatars.discourse-cdn.com/v4/letter/c/dec6dc/32.png) [@cranetrain](https://forum.builder.io/u/cranetrain)\
**Post date:** [April 18, 2022, 11:25pm UTC](https://forum.builder.io/t/ajax-cart-integration-shopify/2062/1 "2022-04-18T23:25:29Z")

</div>

I’m looking to add custom targeted upsell/cross sell on to my cart using Builder.

The help docs just say “If you’re using an ajax cart, contact us to help install”

> **[How to add upsell and cross-sell sections of your cart - Builder.io](https://www.builder.io/c/docs/upsell-and-cross-sell-cart)**
>
> Build and optimize digital experiences for any tech stack, visually.

So was wondering if there were any guidelines or help on this front.

---

<div class="post-metadata">

**Author:** ![maddy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.builder.io/maddy/32/11_2.png) [@maddy](https://forum.builder.io/u/maddy)\
**Post date:** [April 19, 2022, 7:29pm UTC](https://forum.builder.io/t/ajax-cart-integration-shopify/2062/2 "2022-04-19T19:29:08Z")

</div>

Hi @cranetrain! I would be happy to help. Can you share the public API key for your Builder space? You can find this in your account settings. If you could also clarify which theme you’re working on, that would be great!

---

<div class="post-metadata">

**Author:** ![cranetrain](https://avatars.discourse-cdn.com/v4/letter/c/dec6dc/32.png) [@cranetrain](https://forum.builder.io/u/cranetrain)\
**Post date:** [April 19, 2022, 8:37pm UTC](https://forum.builder.io/t/ajax-cart-integration-shopify/2062/3 "2022-04-19T20:37:36Z")

</div>

Thanks so much Maddy!

Public key is 76138fab33074e448b238c24a3d540b3

Current theme is “Updated to 4.4 Streamline - NY 2022”

---

<div class="post-metadata">

**Author:** ![maddy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.builder.io/maddy/32/11_2.png) [@maddy](https://forum.builder.io/u/maddy)\
**Post date:** [April 20, 2022, 2:35pm UTC](https://forum.builder.io/t/ajax-cart-integration-shopify/2062/4 "2022-04-20T14:35:17Z")

</div>

Thanks! If you haven’t already, you will want to create a custom section model like mentioned in the doc you shared above and copy the include code snippet provided. In your themes code, your ajax cart file is `cart-drawer.liquid`. You can paste the Builder model snippet in this file wherever you would like the Builder content to display.

The Builder model snippet uses include, but some themes don’t allow include usage. If this is the case with your current theme, you will see an error: `include usage is not allowed in this context`. This can easily be fixed by switching the Builder model snippet and model file to use render rather than include. If you have trouble placing the Builder model snippet where you would like it to display, let me know and I’d be happy to assist further.
