jbourassa / polyglot-functions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Polyglot Shopify Function Examples

In this repo I will be demonstrating how to create Shopify Functions in various language toolchains.

Function requirements

IF customer has VIP metafield with a value of 'true'
AND products in their cart with tag X have a total of more than $Y
THEN discount the order by Z%

Implemented functions

You can find the function implementations in the app.

Codelabs

You can get step by step instructions for these examples in the published codelabs.

About

License:Apache License 2.0


Languages

Language:C++ 56.1%Language:JavaScript 33.2%Language:SCSS 4.8%Language:HTML 2.9%Language:Zig 1.1%Language:TypeScript 0.9%Language:Rust 0.5%Language:Go 0.3%Language:Shell 0.2%Language:Dockerfile 0.0%