Shopify scripts , checkout-scripts, work in the checkout process using data/logic/behavior from the backend to cover a range of use cases and are authored/controlled by writing ruby-like code.
Functions let developers change the logic/behavior of the backend itself but have narrower limitations in size scope and performance; while also surfacing app specific UI in the admin to control the functions unlike scripts which are currently only controlled by writing ruby-like code.
Example experience tutorial https://shopify.dev/apps/discounts/create#step-6-create-and-test-a-discount-in-your-store
Thanks! I’m more looking for an idea of what the vision of Shopify Functions is, e.g. are they intended to replace Shopify Scripts and more?
Dive into the world of Print-on-Demand and discover how it can transform your online busin...By Imogen Feb 19, 2024
Discover how to transform your online store into a delightful shopping destination. Learn ...By Ollie Feb 13, 2024