A Shopify app that allows merchants to configure and display a cart fee on the storefront.
- Node.js
- npm
- Shopify CLI
- Shopify development store
Clone the repository and install dependencies:
- npm install
Log in to Shopify:
- shopify auth login
Start the development environment:
- shopify app dev
The storefront accesses the merchant's settings through:
- /apps/cart-fee/settings
The App Proxy authenticates the storefront request and retrieves the settings for the current shop.
The app uses Prisma for storing merchant-specific settings. Generate the Prisma client with:
- npx prisma generate