Viewing 22 posts - 1 through 22 (of 22 total)
  • Author
    Posts
  • #1034913

    hi, I would have a particular request, I think this does not apply to the Enfold theme. In practice website that I’m managing with enfold and woocommerce, the products are hidden until the user does not register and here arises the need not to register or allow in some way to make the products to buy only to customers of a determined nation (for example, Germany). Is there a way to prevent, just for the Shop page, that users in a particular country can log in, or even be redirected to another website?

    Thanks.
    Fabio

    #1034984

    Hey fabiomagliozzi,
    Perhaps a plugin such as this one would help: Product Country Restrictions

    Best regards,
    Mike

    #1035095

    Hi Mike, thank you so much for reply. I noticed that this feature is also found in the General options of woocommerce, the possibility to choose in which country do not sell and in which country to sell. What is the difference between using the option in the general tab or using this plugin?

    Thank you.

    #1035396

    Hi,
    The settings in the woocommerce > general options, are set for your entire store, while the plugin allows you to make these options for individual products.
    So if you want to set different options for each product, then the plugin may be best for you.

    Best regards,
    Mike

    #1035460

    Ok Mike, thanks for replay. Can close topic now.
    Thanks.

    #1035466

    Hi,
    Glad we were able to help, we will close this now. Thank you for using Enfold.

    For your information, you can take a look at Enfold documentation here
    For any other questions or issues, feel free to start new threads under Enfold sub forum and we will gladly try to help you :)

    Best regards,
    Mike

    #1035468

    even if I have another problem, maybe you could help me? I need to traslate each single produtc, but i’m using polylang pluhin with polylang integration for woocommerce but when i click on product(engligh page shop) it show the product in italian page shop, how can i solve?

    Thanks mike and sorry for other question.

    #1035475

    Hi,
    Do you mean this plugin: Woocommerce Polylang Integration I have not seen this plugin before, but if you include a admin login in the private content area I will try to take a closer look.
    Perhaps the plugin author support page would have a solution.

    Best regards,
    Mike

    #1035477
    This reply has been marked as private.
    #1036095

    Hi,
    Thanks for the login, but please include the site URL also.

    Best regards,
    Mike

    #1036105

    Oh sorry :-), sendo you website in private.
    I take this opportunity to tell you that if we are on the website in English, if I click on the logo or on the “home” link, it will not go back to http://www.naturamla.com/en/welcome but go back to http://www.naturamla.com/en and I get the message “Page not found”, perhaps because of the same reason?

    Thanks.

    #1036126

    Hi,
    Thank you, I see that you are using PHP Version: 5.5.38 the minimum PHP version recommended is v5.6 , version 7.0 would be better.
    This can cause strange errors, Please ask your webhost to update your PHP.

    Best regards,
    Mike

    #1036130

    Ok thanks for replay, i will ask to my provider and then I update you.

    Regards.
    Fabio

    #1036231

    Hello Mike, I just set the PHP v7.0, I walked around the website but nothing has changed, that is if I am on https://www.naturamla.com/en/welcome/, the logo on the upper left instead to point to this page of home, point to https://www.naturamla.com/en/ and rightfully receive the message “Page not found”.
    Attached the screenshot in private, that explains more or less what I said.

    Regards.
    Fabio

    #1036400

    Good morning, help me please.

    #1036835

    Hi,
    I took a look at your site and the logo points only to https://www.naturamla.com/ for me, I tried clicking the language flags to change the language and then clicking the logo, with no errors.
    For me hovering over the logo doesn’t show the url error that your screenshot.
    Please try clearing your browser cache and see if this is still the case for you.

    Best regards,
    Mike

    #1036874

    Goog morning Mike, yes its work logo link because in the meantime I was waiting for your reply, I corrected the link on the logo so as not to show the error page. But actually what I would like is that when a user is in the English part and click on the logo, he should point to http://www.naturamla.com/en/welcome and not to http://www.naturamla.com/
    Only this.
    How can i do that? Maybe adding code in fuction.php?

    Thanks.
    Fabio

    #1037276

    Hi,
    To change the logo home url based on language, Try adding this code to the end of your functions.php file in Appearance > Editor:

    function polylang_logo_url(){
      ?>
      <script>
      jQuery(window).load(function(){
      jQuery("#top:lang(en) span.logo").find("a").attr("href", "https://www.naturamla.com/en/welcome/");
      });
      </script>
      <?php
      }
      add_action('wp_footer', 'polylang_logo_url');

    I tried adding this though the WordPress > Appearance > Editor but I received an error that it would have to be changed via FTP, so please try doing so.

    Best regards,
    Mike

    #1037629

    Hi Mike, sorry for delay. I’m not at computer so i can’t try now.Later i will update you if it work.
    Can i add this code in function.php in custom child theme? Or i must modify the php in the apparence > editor ?

    Thanks for reply.
    Fabio

    #1037908

    Hi,
    You can add this to the child theme functions.php or the parent theme functions.php, typically they can both be reached via the WordPress > Appearance > Editor.
    We will leave this open to hear back from you.

    Best regards,
    Mike

    #1038010

    Hi Ismael, now everything work fine!
    Thank you for support.

    Regards.
    Fabio

    #1038036

    Hi,
    Glad we were able to help, we will close this now. Thank you for using Enfold.

    For your information, you can take a look at Enfold documentation here
    For any other questions or issues, feel free to start new threads under Enfold sub forum and we will gladly try to help you :)

    Best regards,
    Mike

Viewing 22 posts - 1 through 22 (of 22 total)
  • The topic ‘Permission on the product in woocommerce’ is closed to new replies.