Shopify Developer: Multi-Partner Referral Discount System

Only for registered members Canada

2 days ago

Default job background
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%) · T ...
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
The main goal is preventing discount code usage without the partner referral session.


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
This must use Shopify's Ajax Cart API.

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:
Discount Function Logic (Dynamic Multi-Partner Support)

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
The function must support any partner identifier (partnerA, partnerB, etc.) without code changes.

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
Test 3 — Multiple Partners

  • Repeat Test 2 with at least 2–3 different partner identifiers
  • Expected result:
Discount works for all partner values

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

  • Work in company

    Customer Service Manager

    Only for registered members

    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. · ...

    Vaudreuil-Dorion

    5 days ago

  • Work in company Remote job

    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 ...

    $2,300 - $0 (USD) budget

    1 month ago

  • Work in company Remote job

    Senior Klaviyo Consultant

    Only for registered members

    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 ...

    $15 - $40 (USD) per hour

    1 month ago

  • Work in company Remote job

    Senior Klaviyo Consultant

    Only for registered members

    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. · ...

    $15 - $40 (USD) per hour

    2 weeks ago

  • 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 ...

    Dorval Full time

    6 days ago

  • Work in company Remote job

    NetSuite Sales Order Script Update

    Only for registered members

    We employ a Shopify-Celigo-NetSuite e-commerce system. We recently added AfterSell as a post-order, upsell tool. · ...

    1 week ago

  • 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 ...

    Dorval, QC HP Y

    2 weeks ago

  • Work in company

    Commis à la facturation

    Only for registered members

    · 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. · ...

    Montreal Part time

    2 weeks ago

  • Work in company

    Commis à la facturation

    Only for registered members

    Rejoignez notre équipe et rejoignez C.T.S. Foods Brokers Inc. · ...

    Montreal Part time

    2 weeks ago

  • Work in company Remote job

    Loyalty system ecom

    Only for registered members

    We are looking for a loyalty system to be made that will encourage customers to order more products in store or online. · ...

    $150 - $0 (USD) budget

    1 month ago

  • + Une journée type: · Le technicien de maintenance sera rattaché au responsable régional des installations. · Rapide en cas d'urgence · Maintenance préventive · ...

    Montreal, QC, Canada

    1 week ago

  • Work in company Remote job

    Etsy Conversion

    Only for registered members

    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. · ...

    $500 - $0 (USD) budget

    6 days ago

  • Work in company

    Compte Recevable

    Only for registered members

    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 ...

    Montreal $40,000 - $45,000 (CAD)

    4 weeks ago

  • Work in company

    Directeur(trice) Finance commerciale

    Only for registered members

    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. · ...

    Laval

    2 weeks ago

  • Work in company

    Customer Service Manager

    Only for registered members

    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. · ...

    Vaudreuil-Dorion, Quebec

    5 days ago

  • Work in company

    Coordonnatrice financière

    Only for registered members

    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 ...

    Montreal

    3 days ago

  • Work in company

    Compte Recevable

    Only for registered members

    CTS Food Brokers Inc. est à la recherche d'un(e) technicien(ne) en comptes recevable très motivé(e) et énergique. · ...

    Montreal $40,000 - $45,000 (CAD) Full time

    4 weeks ago

  • Work in company Remote job

    Wordpress LMS Developer

    Only for registered members

    + 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

  • Work in company Remote job

    Hybrid Billing Web App Prototype

    Only for registered members

    I need a small hybrid web app prototype to test billing and discount control logic. · ...

    $20 - $0 (USD) budget

    3 weeks ago

  • Work in company

    Landscape Irrigation Specialist

    Only for registered members

    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 ...

    Vaughan

    1 week ago