Core engine#212
Merged
Merged
Conversation
- Removed debug logging in the production cart API. - Changed the cache setting in the Liquid engine to true to improve performance. - Added store currency detection when creating a new cart, improving currency management.
- New models and types related to the checkout process have been added, including `CheckoutSession` and `CheckoutStatus`. - New routes and templates have been defined for the home and checkout pages. - Context loading for checkout pages has been improved, ensuring that relevant information is available. - Adjustments have been made to types and data structures to support payment session management.
…ent improvements - Added handling of 'checkoutSessions' to the `useUserStoreData` hook. - Adjustments have been made to `buildContextStep` to include payment data in the context. - Improved the `CheckoutFetcher` class to retrieve and validate payment sessions directly from the database. - Implemented a new checkout data handler in `data-handlers`, which validates and transforms the checkout session. - Updated checkout-related types to include new fields. - Improved the cart UI to facilitate the direct checkout process.
- A new response processor has been implemented to handle payment data in `responseProcessors`. - This change allows checkout data to be stored in `loadedData`, improving information management during the checkout process.
- A new option extractor and object detector for checkout syntax have been added to the `liquid-syntax-detector.ts` file. - This allows checkout-related templates to be handled correctly, improving data management in the checkout process.
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.
feat(checkout): Checkout session data integration and context management improvements
useUserStoreDatahook.buildContextStepto include payment data in the context.CheckoutFetcherclass to retrieve and validate payment sessions directly from the database.data-handlers, which validates and transforms the checkout session.