MarketPress force continue as guest at checkout

How can I force users to continue as guest at checkout page? I don't want anyone to register/login.

  • Kasia Swiderska

    Hello Lark,

    Please add this define to wp-config.php file:

    define('MP_HIDE_LOGIN_OPTION', true);

    just before line /* That's all, stop editing! Happy blogging. */

    Next step is to add this CSS snippet:

    .mp_form_label input[name=enable_registration_form],
    .mp_form_label input[name=enable_registration_form]+span{display: none;}

    You can add it to WordPress Customizer in Addtional CSS field (Appearance -> Customizer)

    Both tweaks will hide login form and checkbox for registration on checkout page.

    kind regards,
    Kasia

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.