What are the Slack Archives?

It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

Hi All, I have tried to extend the CartClient class with my own class but that did not work, $contai

U02EKGJQV7F
U02EKGJQV7F Posts: 16 πŸ§‘πŸ»β€πŸš€ - Cadet

Hi All,
I have tried to extend the CartClient class with my own class but that did not work, $container->getLocator()->cart()->client() still returns the old Class in the various dependency providers. (I am working on the B2B Demo shop)

Comments

  • martin
    martin CTO @ VIABIRDS Technologies GmbH Spryker Solution Partner Posts: 49 πŸ§‘πŸ»β€πŸš€ - Cadet

    Looks like you need to update the class-resolvercache by running:

    console cache:class-resolver:build.

  • U02EKGJQV7F
    U02EKGJQV7F Posts: 16 πŸ§‘πŸ»β€πŸš€ - Cadet

    ill try thank you

  • U02EKGJQV7F
    U02EKGJQV7F Posts: 16 πŸ§‘πŸ»β€πŸš€ - Cadet

    that seems to work thank you!

  • martin
    martin CTO @ VIABIRDS Technologies GmbH Spryker Solution Partner Posts: 49 πŸ§‘πŸ»β€πŸš€ - Cadet

    No worries