Hi Shopify Functions team,
How will Shopify Functions differ from Shopify Scripts?
Thanks!
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.
https://shopify.dev/api/functions
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?