Skip to content

docs(wix-app): migrate cart events + site-plugin read to Cart V2 (follow-up to #855) - #1093

Merged
mirivoWix merged 2 commits into
mainfrom
cart-v2-ecom-followup
Aug 24, 2026
Merged

mirivoWix merged 2 commits into
mainfrom
cart-v2-ecom-followup

Conversation

@rommy-amitai-w

Copy link
Copy Markdown
Contributor

What

Follow-up to #855. Migrates the two remaining Cart V1 references in wix-app to Cart V2:

  • references/backend-event/COMMON-EVENTS.md — import { cart } / cart.onCartCreated / cart.onCartUpdated → cartV2.*, with cart-v2 doc links.
  • references/SITE_PLUGIN.md — import { currentCart } + currentCart.getCurrentCart() → currentCartV2 + const { cart } = await currentCartV2.getCurrentCart().

Why a separate PR

#855 deliberately scoped wix-app out (it sits outside the storefront ecom skills, and its eval areas — backend-event, site-plugin — are on the separate, soak/non-blocking wix-app eval gate, not the blocking wix-manage one). This PR completes the "no Cart V1 / Checkout V1 in any ecom component" goal for wix-app.

Notes

Docs-only; no code behavior.

backend-event/COMMON-EVENTS.md: cart.onCartCreated/onCartUpdated (import { cart }) -> cartV2.* with cart-v2 doc links. SITE_PLUGIN.md: currentCart -> currentCartV2 and destructure { cart } from getCurrentCart(). Follow-up to #855, which scoped these two out (wix-app is outside the storefront ecom skills); completes the no-Cart-V1/Checkout-V1 goal for wix-app. wix-docs-base44's old /ecom/v1 example is already gone on main (renamed to wix-base44-connector, cart-prose dropped).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

⚠️ EvalForge Skill Gate: Coverage Warning

  • backend-event has no eval scenario at all. Add one under yaml/wix-app-evals/ tagged backend-event, or add that tag to a scenario that already exercises the area.
  • site-plugin has no eval scenario at all. Add one under yaml/wix-app-evals/ tagged site-plugin, or add that tag to a scenario that already exercises the area.

No eval run was started — a coverage failure is caught before any run cost.

The gate is in its soak period (blocking: false), so this check still passes.

@mirivoWix
mirivoWix enabled auto-merge (squash) August 24, 2026 12:34
@mirivoWix
mirivoWix merged commit 35ea901 into main Aug 24, 2026
6 checks passed
@mirivoWix
mirivoWix deleted the cart-v2-ecom-followup branch August 24, 2026 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants