Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

https://github.com/magesuite/login-or-guest-checkout-step

This module adds the possibility to switch on an additional first step in checkout that allows deciding if a customer wants to log in or go through guest checkout.

Installation

This module is optional

composer require "creativestyle/magesuite-login-or-guest-checkout-step" ^1.0.0

Admin settings

The module is enabled by default and the first checkout step is added. There are also additional settings. To see and configure them go to:

Stores -> Configuration -> Sales -> Checkout -> First Step in Checkout

Settings

Name

Note

Default value

Show register section

Show a section with texts that encoyrge a user to register and with a button that redirect to register form

No

Show email field for guest

In order to make shipping step smaller show field for user’s email already in the first step of checkout

No

Frontend

When no additional settings are checked the first step of checkout looks as on the following screens:

Additionally, the register section can be shown:

The other option adds a customer email address field already in the first step. Additional options can be combined.

For the login section, Magento's authentication component is reused. The original Magento authentication component is disabled in magesuite.

Text displayed above the Register button can be configured in a static block with id login-page-create-account

Styling

Styling is provided in theme-creativeshop.

Please make sure that styles are imported in checkout.ts entry file.

import 'MageSuite_LoginOrGuestCheckoutStep';
  • No labels