Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1335742
    riwaro
    Participant

    Hello,
    I would like to set up a website for a customer including a shop. In order to see the shop you should signin.

    http://kwonro.riwaro.de

    This should look like on this site:

    https://kwonro-budoshop.de

    The customer logs in with his customer account. There should also be a page where the new customer can register.

    Is there a plugin or how can I do this?

    Viele Grüße Thomas

    #1336126
    Prasant Rai
    Moderator

    Hello Viele,

    Thanks for writing in! Regretfully, at this time I am not entirely certain what it is you would like to accomplish based on the information given in your post. If you wouldn’t mind providing us with a little more clarification on what it is you’re wanting to do, we’ll be happy to provide you with a response once we have a better understanding of the situation.

    Thanks.

    #1336332
    riwaro
    Participant

    Hello,
    On the site, only customers will be able to visit the Woocommerce shop that is registered. If you do not have a customer account yet, you can create a customer account through the registration page. Attached a photo of the already existing shop.

    The new shop is here:
    http://kwonro.riwaro.de/

    Greetings Thomas

    #1336397
    Rue Nel
    Moderator

    Hello There,

    Thank you for clarifications. Because what you are trying to accomplish requires a template customization, we would like to suggest that you use a child theme. This allows you to make code changes that won’t be overwritten when an X update is released. After your child theme is setup, please review how we recommend making template changes in Customization Best Practices.

    After the child theme is set up, please add the following code in your child theme’s functions.php file

    function wpse_131562_redirect() {
        if (
            ! is_user_logged_in()
            && (is_woocommerce() || is_cart() || is_checkout())
        ) {
            // feel free to customize the following line to suit your needs
            wp_redirect(home_url());
            exit;
        }
    }
    add_action('template_redirect', 'wpse_131562_redirect');

    Hope this helps.

    #1336863
    riwaro
    Participant

    Hello,

    I have entered it in function.php of the x-child themes. Unfortunately, when I click on Shop, nothing happens.
    What can I do?

    regards Thomas

    #1336950
    riwaro
    Participant

    Hello,
    Ahhh … now I understand it. I look at this.

    Thank you very much Thomas

    #1336966
    Joao
    Moderator

    Let us know if you need help with anything else.

    Joao

    #1337015
    riwaro
    Participant

    Hi,

    I don`t understand.

    Thomas

    #1337064
    Joao
    Moderator
    This reply has been marked as private.
  • <script> jQuery(function($){ $("#no-reply-1335742 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>