Why We Built Bundler on Native Shopify Functions (Not Theme Code Hacks)
A lot of bundle and discount apps on the Shopify App Store still calculate pricing client-side and inject it via JavaScript β which works until Shopify changes something about checkout, and then it quietly stops working. We built Bundler differently on purpose.
π©Ή The Old Way: Client-Side Discount Injection
JavaScript-based discount apps calculate the bundle price in the browser and try to apply it before or during checkout β a pattern that's fragile by design, since it depends on checkout's DOM structure staying stable, which Shopify doesn't guarantee.
β‘ What Shopify Functions Actually Changes
Functions run server-side, compiled to WebAssembly, directly inside Shopify's checkout logic β not bolted on after the fact.β¦