• Resolved ascs739

    (@ascs739)


    Hello sir,
    I am using woocommerce plugin for my shop website.
    Everything working fine but when user complete a purchase he’s automatically logged in (i am creating an account at a time of checkout).
    but i want user’s shouldn’t be logged in after purchase.

    How can i do this ?, is there any plugin available or i need to do some codes in functions.php ?
    If yes then please show me the codes.
    It’s very urgent for me, please reply me.
    Thanks in advance

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi there,

    I’m afraid that feature is not possible in the core WooCommerce plugin. However, this can be made possible by adding some code customizations.

    I hope that helps!

    Thread Starter ascs739

    (@ascs739)

    Can you please show me the codes,
    because i am all ready tried 2-3 codes from stack overflow and other websites.
    Thanks in advance

    Moderator Hari Shanker R

    (@harishanker)

    Hi @ascs739

    Can you please show me the codes,
    because i am all ready tried 2-3 codes from stack overflow and other websites.
    Thanks in advance

    I could not find any existing code snippet that can achieve this at the moment.

    You might need to prepare a custom code snippet to achieve this. If you’d like to do this, and if you need help, we highly recommend contacting one of the services on our Customizations page (https://woocommerce.com/customizations/).

    I hope that gets you going in the right direction.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Logout after purchase’ is closed to new replies.