The app embed block is visible inside a cart when the Cart Type is “Page”, but it is not displaying when I change the Cart Type to “Drawer”.
Hi @Manthan ,
When you create embed block, you should set “target”: “body”, and this code will be inserted in every page, both cart page and cart drawer.
{% schema %}
{
“name”: “ABC”,
“target”: “body”,
“settings”:
}
{% endschema %}
I tried as you said but, still it is not displaying in the cart drawer.
I have just added a simple text to check whether it is displaying or not, like this -
Hello shopify
{% schema %}
{
“name”: “App Embed”,
“target”: “body”,
“settings”:
}
{% endschema %}
It is displayed on the page like this in the bottom left corner -
but not in the cart drawer when I open it -
Please check.
Hi @Manthan ,
You need to use js to insert some thing to cart drawer. Such as:
let cartDrawerElement = document.getElementsByTagName(cart-drawer);

