Home Forums Themes Support Claue Checkout help

Topic Resolution: Resolved
Viewing 9 reply threads
  • Author
    Posts
    • #25483

      Hi Harry,

      As you know there is an option for the guest visitor on the checkout page to login.

      I need two help on this topic.

      1- I have searched and tried many plugins and functions to be able to redirect the customer after login to current page but nothing find!!! All of them redirect people to the homepage or a certain page but not the current page.

      Do you have any solution for this need?

      This is really bad experience to login on the checkout page and then go to homepage!

      2- when a visitor comes to my site via iphone 6 or 7 plus the fields of login to the account on the checkout page have bad css!

      Check this : http://take.ms/dd9jw

      On iphone smaller and larger like iphone 6 and x it’s fine.

      Can you help me to make them like this? http://take.ms/dVfYA

      Regards.

      Rahim Vaziri
      CEO & Founder at Look.ir

    • #25494

      Hi Rahim,

      1. Yes, it bad experience for user after login it redirect to a page they don’t want. I search but do not find a solution. If i found i will share with you.

      2. I checked your site it work well http://take.ms/5BXmU like on lTR layout http://take.ms/lCc0r
      Please clear cache and check again.

      Regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #25495

      Harry,

      Could you please check this on exact 414 x 736 px : http://take.ms/XKgLS

      Regards.

      Rahim Vaziri
      CEO & Founder at Look.ir

    • #25496

      I checked on both browser http://take.ms/FpU7P and real device iphone7+ and it work well.

      Regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #25497

      Thank you so much Harry.

      Regards.

      Rahim Vaziri
      CEO & Founder at Look.ir

    • #25906

      Hi Rahim, 1. Yes, it bad experience for user after login it redirect to a page they don’t want. I search but do not find a solution. If i found i will share with you. 2. I checked your site it work well http://take.ms/5BXmU like on lTR layout http://take.ms/lCc0r Please clear cache and check again. Regards

      Hi Harry,

      This was happening on my site because of a function that I have added.

      The core of Woocommerce is working fine. If you login in the checkout page, you will be redirect back to the checkout page.

      I have found three different functions for login and logout over the net which I would like to share with you.

      /* Redirect to home page after sign up */
      function iconic_register_redirect( $redirect ) {
      return wc_get_page_permalink( 'https://look.ir' );
      }
      add_filter( 'woocommerce_registration_redirect', 'iconic_register_redirect' );
      /* Redirect to home page after logout */
      add_action('wp_logout','auto_redirect_after_logout');
      function auto_redirect_after_logout(){
      wp_redirect( home_url() );
      exit();
      }
      /* Redirect to home page after any Login */
      add_filter('woocommerce_login_redirect', 'wc_login_redirect');
      
      function wc_login_redirect( $redirect_to ) {
      $redirect_to = home_url();
      return $redirect_to;
      }

      I recommend you to add the number 2 to the theme’s functions, because in default mode of the theme, customers after logout are redirect to the default WordPress login page, which is not related to the customers in frront-end.

      My problem on checkout page was coming from number 3

      Regards.

      Rahim Vaziri
      CEO & Founder at Look.ir

    • #25909

      Hi Rahim,

      It can not work on any current page. I think change the login form to popup and it will redirect to current page.

      Regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #25927

      Hi Harry,

      I checked these two plugins but none of them worked.

      Have you tried them?

      WooCommerce Login Popup and Shortcodes

      WooCommerce Login/Signup Popup

      Regards.

      Rahim Vaziri
      CEO & Founder at Look.ir

    • #25938

      Hi Rahim,

      Did you try contact plugin author and ask theme about action after login, signup?

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #25939

      Hi Harry,

      No I didn’t.

      I checked both of them and none of them worked and also the rating of the plugins are more than 4.5 so I just tried to discuss this with you first.

      Maybe it’s something from our side.

      That’s why I wanted you to check this on your end.

      Regards.

      Rahim Vaziri
      CEO & Founder at Look.ir

Viewing 9 reply threads

You must be logged in to reply to this topic.