# Can you combine Shopify Functions with live shopping and video commerce? Rules, timing and conflicts

Source: https://returnsift.com/blog/2026-12-04-can-you-combine-shopify-functions-with-live-shopping-and-video-commerce-rules-timing-and.html

Pairing · 2026-12-04


Short answer: yes, Shopify Functions and live shopping and video commerce can run on the same store, and most stores in this niche run both. The work is in the overlap: a stream announces a price or a bundle live, on camera, and the promise has to be executable at checkout within the hour.

## How Shopify Functions works

Where Scripts let a Plus store keep its pricing logic in one Ruby file, Functions split that logic into scoped units, one per job, each reading the cart through a GraphQL query and answering with instructions Shopify applies. Discounts, bundles, gateway ordering and delivery rules each get their own function.

## How live shopping and video commerce works

The format sells presence: a person demonstrating the product, answering the objection in chat, creating a deadline by simply ending the stream. What replaced the retired platform features is the same format on surfaces with staying power, owned sites and the video platforms that kept their shopping tools.

## What the evidence says about Shopify Functions

Discount functions follow the combination rules set in the admin: whether two discounts can combine is a store setting, not something the function decides on its own.

A function takes a GraphQL input query describing the cart and returns JSON instructions. It never touches the page, which is why it is upgrade-safe where script tags were not.

Shopify Scripts stopped running on June 30, 2026, so discount and shipping logic that lived in a store's Ruby scripts had to be re-expressed as functions, usually one function per app rather than one file per store.

## And about live shopping and video commerce

The live hour is the spike; the replay and the PDP clips are the tail. A stream with no replay plan sells to whoever happened to be awake, and the recording, usually the most persuasive video the store owns, gets deleted by default.

Meta closed Facebook live shopping on October 1, 2022 and ended Instagram live product tagging on March 16, 2023. Any programme built inside those features had to move or die, which is the format's founding lesson.

YouTube Shopping still supports product tagging in live streams for eligible channels, and TikTok Shop runs its own live format, so the surviving surfaces are the ones that treat live selling as core business rather than an experiment.

## Where Shopify Functions goes wrong on its own

The failure mode is porting a Script line by line. Scripts were one file holding every rule a store had; functions are scoped per purpose, so the port is really a re-think of which rules still earn their place. Stores that skip the re-think ship their historical discount mess on newer rails.

## Where live shopping and video commerce goes wrong on its own

The failure mode is building the programme inside a platform feature that can be retired, then rebuilding it in a panic. The second failure is scheduling: a weekly live with no clips cut from it spends an hour of production for an hour of shelf life.

## Where they collide

A stream announces a price or a bundle live, on camera, and the promise has to be executable at checkout within the hour. Discount functions can carry a stream-only offer, but they have to be built, tested and scheduled before the broadcast, which collides with the improvisational way streams actually get planned.

## The order practitioners run them in

Give the stream calendar a standing rule: any price promised on air needs its function tested by the day before. Hosts improvise many things; price mechanics cannot be one of them.

## A check you can run this week

Inventory every active Script-era rule and map each one to a function type, discount, cart transform, payment or delivery. Rules nobody can explain get deleted in the move, not migrated.

Related reading: [Does Shopify Functions help with reverse logistics cost? What the evidence and practitioners say](https://returnsift.com/blog/2026-12-02-does-shopify-functions-help-with-reverse-logistics-cost-what-the-evidence-and.md) and [Does live shopping and video commerce help with reverse logistics cost? What the evidence and practitioners say](https://returnsift.com/blog/2026-12-03-does-live-shopping-and-video-commerce-help-with-reverse-logistics-cost-what-the-evidence.md).

## Frequently asked questions

### Can you combine Shopify Functions with live shopping and video commerce?

Yes, with the overlap managed. A stream announces a price or a bundle live, on camera, and the promise has to be executable at checkout within the hour. Discount functions can carry a stream-only offer, but they have to be built, tested and scheduled before the broadcast, which collides with the improvisational way streams actually get planned.

### What breaks first when Shopify Functions and live shopping and video commerce run together?

A stream announces a price or a bundle live, on camera, and the promise has to be executable at checkout within the hour. Give the stream calendar a standing rule: any price promised on air needs its function tested by the day before. Hosts improvise many things; price mechanics cannot be one of them.

### Which do you set up first, Shopify Functions or live shopping and video commerce?

Give the stream calendar a standing rule: any price promised on air needs its function tested by the day before. Hosts improvise many things; price mechanics cannot be one of them.

### What is the most common mistake with Shopify Functions in this pairing?

The failure mode is porting a Script line by line. Scripts were one file holding every rule a store had; functions are scoped per purpose, so the port is really a re-think of which rules still earn their place. Stores that skip the re-think ship their historical discount mess on newer rails.
