Override card-product.liquid code with Theme App Extension or Shopify App

Shopify Partner
1 0 1

I want to know if it is possible to use a Theme App Extension to add an app block to the `card-product.liquid` file.


I am able to do this by editing the theme code directly, but is there an automated way to do this with Theme App Extensions such that a merchant can download my app, and automatically some custom code / an app block will be rendered for every product when the `card-product.liquid` file is used when displaying a grid of products?


Is this possible? 


I was able to render this custom liquid code by manually editing the Dawn theme code, but I want merchants to simply be able to install our Shopify app and have this Badge displayed on all their products in the product-grid view. 

Screen Shot 2023-01-27 at 1.01.22 PM.png

Replies 2 (2)
Shopify Partner
3 0 0

Did you got any solution till now?

Shopify Partner
11 0 2

@dalyanp have you got any solution to this yet?