Skip to content

Versions & Cache

WandStore does not generate AI content on the shopper’s page load. Merchants generate drafts from the app, then theme blocks read the live version cache-first on the storefront.

Each generated experience has:

  • Experience identity - Store, audience scope, subject, page type, placement key, and kind.
  • Versions - Immutable generated outputs.
  • Aliases - Pointers for live, draft, and latest versions.
  • Events - Generation, promotion, rollback, archive, and tracking history.

Promotion changes which version is live. It does not rewrite previous HTML.

  1. Generate draft - Studio queues AI generation and creates a draft version.
  2. Preview - The merchant reviews the draft with a private storefront link.
  3. Set selected live - The selected version becomes the live version for that surface and audience.
  4. Iterate - A new draft can be generated from an existing version and change instruction.
  5. Roll back - Any previous valid version can be set live again.
  6. Deactivate - The experience stops rendering but history and analytics remain available.

On page load, a WandStore block requests the live experience for its placement:

kind + page type + placement key + visitor context

If a live version exists, the block receives generated HTML. If not, WandStore returns no content and the native Shopify theme remains in place.

WandStore stores operational data needed to render and manage experiences:

DataPurpose
Generated versionsRender live widgets and preserve version history.
Draft/live aliasesDecide what renders and what remains private.
Prompt/debug contextHelp merchants understand and iterate generated output.
Theme style profileGuide theme-native widget generation.
Customer profile metadataSupport customer-specific personalization.
Customer Account tokensSupport customer-account features where available.
Analytics eventsReport performance by experience and version.

Regenerate when:

  • Product merchandising changes.
  • A widget needs a clearer offer or stronger CTA.
  • The theme design changed and the style profile was refreshed.
  • A promotion or discount changed.
  • The audience changed.
  • Analytics show weak visibility, click, or conversion performance.

For the current Studio workflow, prefer version actions over manual cache clearing:

  • Use Generate next version to improve content.
  • Use Set selected live to promote or roll back.
  • Use Discard draft to remove an unwanted private draft.
  • Use Deactivate to stop rendering while keeping history.

WandStore delivery is independent of Shopify’s theme asset cache. It does not change:

  • Shopify CDN caching for theme assets
  • Liquid rendering for non-WandStore sections
  • Browser caching of theme CSS and JavaScript

If no generated live version exists, the block remains empty and the rest of the page continues normally.