This is the main core package of the LokiCheckout. It replaces the regular checkout with its own, based on Loki Components, Loki Field Components and much more. All other Loki Checkout modules are extending this core module. With purely this core module, you already have a working checkout.
Install this package via composer:
composer require loki-checkout/magento2-coreNext, enable this module:
bin/magento module:enable LokiCheckout_CoreIn the Magento Admin Panel, you can navigate to Store > Configuration > Loki > LokiCheckout for various settings.
Most settings can also be overridden via the XML layout, by adding items (with the configuration path as name) to the
config argument of the block loki-checkout.config:
<referenceBlock name="loki-checkout.config">
<arguments>
<argument name="config" xsi:type="array">
<item name="loki_checkout/fields/enable_same_as_billing" xsi:type="boolean">false</item>
<item name="loki_checkout/cart/max_items_visible_count" xsi:type="number">5</item>
</argument>
</arguments>
</referenceBlock>The settings loki_checkout/general/enable, loki_checkout/general/license_key, loki_checkout/general/theme
(skin) and loki_checkout/general/grid_layout can not be overridden this way, because they are needed before the layout
is loaded. Overrides only apply once the layout has been generated.
The checkout picks up the regular Magento reCAPTCHA configuration under Stores > Configuration > Security > Google reCAPTCHA Storefront. There is no additional Loki setting involved: as soon as a type is selected for one of the storefront forms below, and the matching Website Key and Secret Key are filled in, the challenge is rendered and verified inside the checkout.
Supported form ids: place_order, customer_login, newsletter and coupon_code. Supported types: reCAPTCHA
v2 ("I am not a robot"), reCAPTCHA v2 Invisible and reCAPTCHA v3 Invisible.