Shopify Developer: Multi-Partner Referral Discount System
2 days ago

Job description
We are looking for an experienced Shopify developer to implement a scalable partner referral discount system inside our Shopify store.
The goal is:
- Each partner gets one unique referral link
- Customers coming through that link can apply a discount code (as an example 3%)
- The discount code must only work if the customer actually came through a valid partner link
- If the code is leaked and used without a referral link → discount must be 0%
Core Requirements:
Partner Referral Links
Each partner receives a unique link, for example:
-
The system must support multiple partners dynamically, not a hardcoded single value.
Expected Customer Flow:
Customer lands on the homepage with a URL parameter (e.g. promo=partnerA)
- The partner identifier must be stored as a Cart Attribute
- At checkout, a Shopify Discount Function validates that a promo attribute exists
- If valid → apply 3% discount
- If missing → apply 0% discount
Scope of Work:
Theme Integration:
Capture Partner Parameter Globally
A theme-level implementation must ensure:
- URL parameter promo is detected on entry
- Its value is saved into Shopify Cart Attributes
- The value persists during the shopping session
- The logic must work for any partner value, not a single fixed one
Shopify App + Discount Function Extension
A custom internal Shopify app must be created including a Discount Function Extension.
This function will determine whether the discount is applied in checkout.
- Build a
Discount Function:
- Shopify Functions Discount API Reference:
The Discount Function must:
- Read the cart attribute promo
- Confirm that a promo value exists
- Apply a 3% order discount if the attribute is present and nonempty
- Return no discount if the attribute is missing
Discount Function input structure:
Discount Code Creation Linked to the Function
We want one public discount code (example: WELCOME10) that is controlled entirely by the function.
The discount code must:
- Work only when validated by the Discount Function
- Provide no discount if used without a promo referral session
- This requires an Appmanaged discount code.
Create App Discount Code (discountCodeAppCreate):
Retrieve Function IDs (appDiscountTypes query):
Testing Requirements
Developer must verify:
Test 1 — Code Leak Scenario
- Open store in incognito
- Add product to cart
- Apply discount code without visiting a referral link
Expected result:
No discount applied
Test 2 — Partner Referral Scenario
- Visit store with a referral parameter (e.g. ?promo=partnerA)
- Add product to cart
- Apply discount code
- Expected result: 3% discount applied
- Repeat Test 2 with at least 2–3 different partner identifiers
- Expected result:
Contract duration of less than 1 month. with 0 hours per week.
Mandatory skills:
Shopify, Shopify Functions, Shopify CLI & App Extensions, Cart Attributes & Ajax Cart API, Shopify App Development
Similar jobs
Le gérant au service ê client coordonne les opérations de l'aire des caisses afin d'offrir un service ê client exceptionnel, · de garantir une exprience d'achat positive et · de fidéliser les clients. · ...
5 days ago
Identify & Eliminate Permanent "Temporary" Discounts in Subscription Billing
Only for registered members
Identify & Eliminate Permanent "Temporary" Discounts in Subscription Billing · We are looking for someone who already has a proven system for identifying and removing legacy discounts. · This is not a research role or experimentation on the job. · To be considered, answer three q ...
1 month ago
We are an established ecommerce brand seeking a senior Klaviyo consultant to simplify existing flows and improve deliverability. · Audit and simplify existing Klaviyo flowsRemove unnecessary splits and over-testingEstablish clear rules around discounts (flows vs campaigns)Improve ...
1 month ago
We are an established ecommerce brand using Klaviyo and are looking for an experienced Klaviyo consultant not an agency and not a promo discount heavy marketer.We value clear thinking, restraint, and long-term system health over short-term revenue spikes. · ...
2 weeks ago
Technicien de Maintenance des Installations/Facilities Maintenance Technician
Only for registered members
Le technicien de maintenance des installations à temps plein sera rattaché au responsable régional des installations et assurera la maintenance de l'ensemble des équipements et systèmes de l'agence de location de voitures Hertz à l'aéroport. · Intervenir rapidement en cas d'urgen ...
6 days ago
We employ a Shopify-Celigo-NetSuite e-commerce system. We recently added AfterSell as a post-order, upsell tool. · ...
1 week ago
Technicien de Maintenance des Installations/Facilities Maintenance Technician
Only for registered members
Se busca un technicien des installations para mantener los equipos y sistemas en la ubicación de alquiler de autos Hertz en el aeropuerto. · Iniciar medidas correctivas rápidamente en caso de emergencias e invocar asistencia adicional si es necesario. · Coor por las tareas preven ...
2 weeks ago
· Nous recherchons un commis organisé pour gérer les opérations de facturation. Vous devez être attentif aux détails et capable de saisir efficacement des données. · ...
2 weeks ago
Rejoignez notre équipe et rejoignez C.T.S. Foods Brokers Inc. · ...
2 weeks ago
We are looking for a loyalty system to be made that will encourage customers to order more products in store or online. · ...
1 month ago
Technicien de Maintenance des Installations Facilities Maintenance Technician
Only for registered members
+ Une journée type: · Le technicien de maintenance sera rattaché au responsable régional des installations. · Rapide en cas d'urgence · Maintenance préventive · ...
1 week ago
I am launching a new digital product brand on Etsy (premium narrative study guides $7.99–$9.99 price range). I am intentionally building the backend conversion and automation system before going live so the shop is architected properly from day one. · ...
6 days ago
CTS Food Brokers Inc. est à la recherche d'une personne motivée et énergique pour le poste de technicien(ne) en comptes récevables. · Appels de recouvrement · Identifier les relevés clients qui doivent être envoyés par e-mail et les envoyer · Réceptionner et enregistrer les paiem ...
4 weeks ago
Notre client est à la recherche d'un(e) leader financier(ère) stratégique et orienté(e) affaires, capable de structurer et de développer la fonction finance pour deux entités opérationnelles évoluant dans un environnement de commerce de détail à fort volume transactionnel. · ...
2 weeks ago
Réalisé comme gérant au service à la clientèle chez Walmart Canada est une excellente façon de développer vos compétences dans le secteur de la vente au détail. · ...
5 days ago
Nous recherchons un(e) Coordonnateur(ice) financier(ère) – Facturation et Comptes recevables pour gérer les processus financiers liés aux commandes et aux paiements clients. · Prendre connaissance des commandes clients relâchées ou modifiées · Analyser les commandes clients et va ...
3 days ago
CTS Food Brokers Inc. est à la recherche d'un(e) technicien(ne) en comptes recevable très motivé(e) et énergique. · ...
4 weeks ago
+ LMS Multi-Site Consolidation & Enrollment System — Developer Scope · Project Overview: We are seeking an experienced WordPress developer with strong LMS plugin experience to build and consolidate a multi-site enrollment workflow. · We are looking for a developer comfortable wit ...
1 week ago
I need a small hybrid web app prototype to test billing and discount control logic. · ...
3 weeks ago
This is a vacant posiiton. Joining our Canada's Wonderland team means you'll help create and maintain a flawless landscaping environment for our guests. · Assist with the operation and installation of existing park irrigation systems to implement the turf irrigation program: ensu ...
1 week ago