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 , we would like to change checkout process so that one initial step is run every time customer be

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

Hi , we would like to change checkout process so that one initial step is run every time customer begins with checkout.

  • we need this step to be called only once in the beginning, it should not iterate on every subsequent step.

  • when customer exits checkout (goes on the homepage for example) and then starts with the checkout again, this step should be called.

Is there any elegant solution for this?

Thanks in advance

Welcome!

It looks like you're new here. Sign in or register to get started.

Comments

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

    Hi, there are pre and post condition around which are controlling if the step will be executed or not

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

    Thanks Julian for response, I tried this, but the problem is: When this beginning step is marked as successful once in postCondition, then it would not be called again even if I exit checkout and then start with the process again.

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

    So your problem is, that the init step wont be called again if the customer leaves the checkout?

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

    Yes this is the problem

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

    you tryed resetting the init stuff on other controller?

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

    What do you mean by other controller

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

    for example the CatalogController etc.

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

    Thanks will try

Welcome!

It looks like you're new here. Sign in or register to get started.