storefront-events-polyfill

storefront-events-polyfill

webkraftz

Drop-in polyfill that makes Shopify's official Standard Storefront Events fire on themes that don't yet dispatch them natively. Intercepts /cart/(add|change|update|clear).js and dispatches shopify:cart:lines-update / note-update / discount-update / error using the platform-hosted event classes.

0 Stars
0 Forks
0 Watchers
TypeScript Language
mit License
10 SrcLog Score
Cost to Build
$3.9K
Market Value
$500

Growth over time

4 data points  ·  2026-07-25 → 2026-09-26
Stars Forks Watchers
💬

How do you feel about this project?

Ask AI about storefront-events-polyfill

Question copied to clipboard

What is the webkraftz/storefront-events-polyfill GitHub project? Description: "Drop-in polyfill that makes Shopify's official Standard Storefront Events fire on themes that don't yet dispatch them natively. Intercepts /cart/(add|change|update|clear).js and dispatches shopify:cart:lines-update / note-update / discount-update / error using the platform-hosted event classes.". Written in TypeScript. Explain what it does, its main use cases, key features, and who would benefit from using it.

Question is copied to clipboard — paste it after the AI opens.

How to clone storefront-events-polyfill

Clone via HTTPS

git clone https://github.com/webkraftz/storefront-events-polyfill.git

Clone via SSH

[email protected]:webkraftz/storefront-events-polyfill.git

Download ZIP

Download main.zip

Found an issue?

Report bugs or request features on the storefront-events-polyfill issue tracker:

Open GitHub Issues