Guidance Needed for Integrating Prisma Data into Shopify Theme Extension

Guidance Needed for Integrating Prisma Data into Shopify Theme Extension

sewwandi
Shopify Partner
1 0 0

Hello,

I am developing an announcement bar theme extension for Shopify. This application allows merchants to customize the announcement bar from the Shopify back office. The customization options include settings like background color, font size, alignment, and more. These settings are saved in a Prisma database with a specific model called "BarSettings"

I have also developed a theme extension that includes a div element in a Liquid file, which dynamically updates based on the values stored in the Prisma database. For example, if the background color is saved in Prisma, the div element in the Liquid file should reflect that background color.

Could you provide guidance on fetching and displaying this data in a Liquid file? 



Replies 0 (0)