Tagged: x
-
AuthorPosts
-
January 18, 2017 at 4:16 pm #1335742
riwaroParticipantHello,
I would like to set up a website for a customer including a shop. In order to see the shop you should signin.This should look like on this site:
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
January 18, 2017 at 9:15 pm #1336126
Prasant RaiModeratorHello 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.
January 19, 2017 at 2:09 am #1336332
riwaroParticipantHello,
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
January 19, 2017 at 3:21 am #1336397
Rue NelModeratorHello 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.
January 19, 2017 at 11:03 am #1336863
riwaroParticipantHello,
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
January 19, 2017 at 11:45 am #1336950
riwaroParticipantHello,
Ahhh … now I understand it. I look at this.Thank you very much Thomas
January 19, 2017 at 11:59 am #1336966
JoaoModeratorLet us know if you need help with anything else.
Joao
January 19, 2017 at 12:33 pm #1337015
riwaroParticipantHi,
I don`t understand.
Thomas
January 19, 2017 at 1:01 pm #1337064
JoaoModeratorThis reply has been marked as private. -
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1335742 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
