Checkout configuration

Rapido ships with both a one-step-checkout cart and a multi-step-checkout cart upon arrival. These can be found under the Cart page (Figure 1.1).

Only one of these checkout flows can be active at a time, so you can switch between the two by changing the Include setting for the paragraphs in the list.

Below, you can see how each of the two paragraphs differ in setup.

Figure 1.1 The two checkout flows

You can read more about checkout in Rapido in this article.

Using the website settings, you can hide different elements in the checkout flow.

This guide is based on an empty Rapido solution (no products & PIM).

To set up the one-step-checkout flow from scratch you must create a paragraph and attach the 'Shopping cart' app to it (Figure 2.1).

Figure 2.1 Creating a one-step-checkout paragraph

The one-step-checkout flow is build up of these steps:

  1. Show Cart
  2. Checkout
  3. Receipt

These are set up under Steps (Figure 2.2). By default, there's a second step, 2. Information. We wont use this step, so simply delete it.

Figure 2.2 The Steps section for the Shopping Cart app

The important step for the one-step-checkout flow is the Show Cart step. Click the edit button for this step and select the template called Cart.cshtml (Figure 2.3).

For the Receipt step, you must select the template called Receipt.cshtml.

After that, you're done! The one-step-checkout flow has now been configured.

Figure 2.3 The setup for the Show Cart step

For more information about the configuration options for the Shopping cart app, see the documentation site for Dynamicweb.

To set up the multi-step-checkout flow from scratch you must create a paragraph and attach the 'Shopping cart' app to it (Figure 4.1).

Figure 4.1 Creating a multi-step-checkout paragraph

The multi-step-checkout flow consists of the following steps:

  1. Show Cart
  2. Delivery
  3. Payment and Shipping
  4. Checkout
  5. Receipt

These are set up under Steps in the app settings. By default, there's a second step, 2. Information. Since we will be needing two additional steps in between Show Cart and Checkout, we can just modify this step:

  • Click the edit button (Figure 4.2) for this second step and rename it to Delivery
  • Select the template StepTwoDelivery.cshtml
  • Click OK
Figure 4.2 Rename the 'Information' step and select the template StepTwoDelivery.cshtml

Now, add another step with the 'Add step' button (Figure 4.3) and name it Payment and shipping. Select the template StepThreeShippingPayment.cshtml and click OK.

Then, move this step to make it step number 3 by dragging it in the list.

Figure 4.3 Create a new step, rename it, select the template, and move it in the list

Now we have the correct order and the steps Delivery, Payment and shipping, and Checkout (this step only requires a name) are done.

The first step, Show Cart, needs a template. Click the edit button for this step and select the template called StepOneCart.cshtml (Figure 5.1).

Figure 5.1 The setup for the Show Cart step

Lastly, click the edit button for the Receipt step and select the Receipt.cshtml template (Figure 5.2).

Figure 5.2 The setup for the Receipt step

And that's it! You have now set up your multi-step-checkout flow.

For more information about the configuration options for the Shopping cart app, see the documentation site for Dynamicweb.

To set up the one-page-checkout flow from scratch you must create a paragraph and attach the 'Shopping cart' app to it (Figure 7.1).

Figure 7.1 Creating a one-page-checkout paragraph

The one-step-checkout flow is build up of these steps:

  1. Show Cart
  2. Checkout
  3. Payment
  4. Receipt

These are set up under Steps (Figure 7.2). Right now, the order is not what we want, so:

  • Rename the Checkout step to Payment
  • Rename the Information step to Checkout and select the OnepageCheckout.cshtml template

The setup should now match Figure 7.2.

Figure 7.2 How the Steps section should look like after renaming

Lastly, change the template for the Show Cart step to OnepageCart.cshtml, and for the Receipt step, change it to OnepageReceipt.cshtml (Figure 7.3).

After that, you're done! The one-page-checkout flow has now been configured.

Figure 7.3 The setup for the Show Cart step

For more information about the configuration options for the Shopping cart app, see the documentation site for Dynamicweb.