chore: Get rid of custom field `commercetools_customer_id` in the User entity

Created on 18 March 2025, 23 days ago

Problem/Motivation

We need to rework the custom user field `commercetools_customer_id` to store the customer id in the cache and remove the field. No migration is needed.

Also, in the scope of this task - optimize the function CommercetoolsCarts::getCurrentCart() to get the $customerId only after checking if $cartId is empty, to not spend time on this operation if we have the cart id. And please review other functions there to get rid of unnecessary calls and increase the performance.

πŸ“Œ Task
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡¦πŸ‡²Armenia murz Yerevan, Armenia

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024