Re: How will Shopify Functions differ from Shopify Scripts?

How will Shopify Functions differ from Shopify Scripts?

NiceNiceNice
Shopify Partner
4 0 0

Hi Shopify Functions team,

 

How will Shopify Functions differ from Shopify Scripts?

 

Thanks!

Replies 2 (2)

PaulNewton
Shopify Partner
7118 631 1484

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 

 

 

Contact [email protected] for the solutions you need


Save time & money ,Ask Questions The Smart Way


Problem Solved? ✔Accept and Like solutions to help future merchants

Answers powered by coffee Thank Paul with a Coffee for more answers or donate to eff.org


NiceNiceNice
Shopify Partner
4 0 0

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?