j-riv@localhost:~$

shopify-functions-app

live

Built custom Shopify Functions powering server-side commerce rules across multiple storefronts, including discount logic, cart and checkout validation, and delivery customization.

TypeScriptShopify FunctionsRemix
cat architecture.md

Shopify Storefront

  • Cart activity
  • Checkout
  • Customer actions

Shopify Runtime

  • Function execution
  • Input data
  • Commerce events

Custom Functions

  • Discount logic
  • Cart validation
  • Delivery rules

Shopify Checkout

  • Validated cart
  • Adjusted discounts
  • Delivery options
# Why Shopify Functions?
Commerce rules run inside Shopify's backend runtime, allowing discounts, validation, and delivery logic to be enforced server-side rather than relying on storefront JavaScript.
# Storefront independence
Keeping business rules in Shopify Functions allows the same backend logic to work consistently across storefront experiences without coupling critical commerce behavior to the frontend.