Skip to content

Core engine#212

Merged
Stivenjs merged 5 commits into
mainfrom
core-engine
Aug 18, 2025
Merged

Core engine#212
Stivenjs merged 5 commits into
mainfrom
core-engine

Conversation

@Stivenjs
Copy link
Copy Markdown
Contributor

feat(checkout): Checkout session data integration and context management 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.

- 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.
@Stivenjs Stivenjs self-assigned this Aug 18, 2025
@Stivenjs Stivenjs added enhancement New feature or request javascript Pull requests that update javascript code labels Aug 18, 2025
- 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.
@Stivenjs Stivenjs added the documentation Improvements or additions to documentation label Aug 18, 2025
- 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.
@Stivenjs Stivenjs merged commit f3e73a8 into main Aug 18, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant