docs(wix-app): migrate cart events + site-plugin read to Cart V2 (follow-up to #855) - #1093
Merged
Merged
Conversation
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>
rommy-amitai-w
marked this pull request as ready for review
August 23, 2026 13:05
Contributor
|
mirivoWix
approved these changes
Aug 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Follow-up to #855. Migrates the two remaining Cart V1 references in
wix-appto Cart V2:references/backend-event/COMMON-EVENTS.md—import { cart }/cart.onCartCreated/cart.onCartUpdated→cartV2.*, withcart-v2doc links.references/SITE_PLUGIN.md—import { currentCart }+currentCart.getCurrentCart()→currentCartV2+const { cart } = await currentCartV2.getCurrentCart().Why a separate PR
#855 deliberately scoped
wix-appout (it sits outside the storefront ecom skills, and its eval areas —backend-event,site-plugin— are on the separate, soak/non-blockingwix-appeval gate, not the blockingwix-manageone). This PR completes the "no Cart V1 / Checkout V1 in any ecom component" goal forwix-app.Notes
wix-appcoverage gate is in its soak period (WIX_APP_EVAL_BLOCK_MERGEunset →blocking:false), so these edits pass with a coverage warning rather than a block. Authoring a build-basedwix-appeval scenario forbackend-event/site-pluginis left to thewix-appowners (non-blocking).wix-docs-base44/SKILL.md's/ecom/v1/carts/current/add-to-cartexample — is already resolved onmain: the skill was renamed towix-base44-connector(rename to wix-base44-connector + scratch under the same roof #1059) and its cart-prose was dropped (polish(wix-base44-connector): /tmp scratch, mgmtRecipes(), fuller recipe list, drop cart-prose #1083). Nothing left to change there.Docs-only; no code behavior.