We recommend you configure Magento with the following settings:
The number of street lines is by default 2. However, within a lot of countries the street lines each have their own purpose: Street, house number, house number addition. Because of this (and the workings of LokiCheckout extensions) we strongly recommend you to change the number street lines to 3.
magerun2 config:set customer/address/street_lines 3
Less is more. The more fields a customer needs to fill in, the less likely the checkout will be completed. We recommend you to get rid of a couple of fields, if they are not relevant:
customer/address/middlename_show
);customer/address/suffix_show
);customer/address/dob_show
);customer/address/fax_show
);customer/address/telephone_show
) or at least make it optional;That being said, the LokiCheckout is compatible with all of these settings.
Pick Grid Layout @todo
Pick a theme @todo
Pick extensions @todo
At this moment, CSP is fully supported by the Loki Checkout. All inline JavaScript of all LokiCheckout extensions supports the CSP policies of removing unsafe-eval
and unsafe-inline
. However, because Loki Checkout is just an extension within a theme based on Hyvä and/or Luma, the real question is whether they support unsafe-eval
and unsafe-inline
properly.
If you want, you can enable the Yireo_LokiCheckoutCsp
module which replaces the normal Hyvä version of AlpineJS with the CSP build of AlpineJS.
Alternatively, you can also disable CSP by enabling CSP reporting:
magerun2 config:store:set csp/mode/storefront_checkout_index_index/report_only 1