data-os-* attributes and the runtime does the rest.
The cart and the customer session are the same as on Paysum’s own pages, so a cart filled on your theme carries over to checkout.
Cart
Add to cart from a product card
data-os-add takes the product as JSON from the cart_json filter. A click adds one item and opens the cart. Products with variants go to data-os-href instead, so the buyer can choose an option.
Open the cart and show the count
Product page
Wrap the buying area oftemplates/product.liquid in data-os-product-page. The runtime reads the product from the page and keeps the price, quantity and stock in step with the buyer’s choices.
Search
data-os-search names the list’s id. Items whose data-os-search-text contains the query stay visible. data-os-search-empty shows when nothing matches.
Customer sign-in
Sign-in uses the same email code flow as the account page.
Menus, panels and banners
Carousels and effects
The runtime also:
- Replaces broken product images inside
data-os-productwith generated product art. - Prefetches store pages on hover so navigation feels instant.
- Shows the store popups set up under Marketing → Popups.
- Loads the integrations from Integrations → App store (Google Analytics, Meta Pixel, Crisp and others).