Inserting app embed to existing shopify's liquid code

I’m working on creating a custom liquid app embed that I want to append to the card-product.liquid file in Shopify.

[For context, I am referring to the existing ‘card-product.liquid’ file in the Shopify code]

Specifically, I’m looking for assistance with the following:

  1. How can I insert my liquid code called ‘my-code.liquid,’ to append inside ‘card-product.liquid’?
  2. Additionally, I need to access the current product’s ID within ‘card-product.liquid’ to fetch relevant data for that product.

Any further details you need, I’m happy to provide.
Thanks!

1 Like

Did you ever find an answer to this?

Not really. I’ll make sure to update this answer whenever I find a working solution.