ExamGecko
Question list
Search
Search

List of questions

Search

Question 214 - Certified B2B Commerce Administrator discussion

Report
Export

How can a developer bring in a checkout flow step to another sequence order? 02m 06s

A.
Reorder step in checkoutSteps.xml
Answers
A.
Reorder step in checkoutSteps.xml
B.
drag and drop subflows in main checkout flow
Answers
B.
drag and drop subflows in main checkout flow
C.
drag and drop checkout Screens in main checkout flow
Answers
C.
drag and drop checkout Screens in main checkout flow
D.
Adjust next-state in previous subflow configuration
Answers
D.
Adjust next-state in previous subflow configuration
Suggested answer: D

Explanation:

Adjust next-state in previous subflow configuration because this is the way to bring in a checkout flow step to another sequence order. A checkout flow step is a subflow that represents a stage in the checkout process, such as shipping, payment, or review.A subflow is a reusable unit of logic that can be invoked from another flow1. To change the order of the checkout flow steps, a developer needs to modify the next-state attribute of the previous subflow configuration.The next-state attribute specifies the name of the next subflow to execute after the current one finishes2. For example, suppose there are three checkout flow steps: shipping, payment, and review. To bring in the payment step before the shipping step, the developer needs to adjust the next-state attribute of the start subflow configuration to point to the payment subflow instead of the shipping subflow:

<!-- start.subflow --> <subflow name=''start''> <subflow-state id=''start'' subflow=''start''> <next-state on=''success'' value=''payment''/> <!-- Change this from shipping to payment --> </subflow-state> </subflow>

asked 23/09/2024
Gaurav Nayak
43 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first