Signup link not working

Closed
Travelo - Travel/Tour/Car Rental/Cruise Booking WordPress Theme Travelo - Travel/Tour/Car Rental/Cruise Booking WordPress Theme February 10, 2019
Login to reply
Kelly R Support Agent
4 years ago
Resolved.
Kelly R Support Agent
5 years ago

Hi,

Please replace /inc/functions/currency.php file with attached and try again.

Regards, C-Themes

Jawad Shakeel
5 years ago

Hi Kelly,

Yes I did set currency codes correctly and it was working before. I don't know if I did something or not. My site url is http://maldivestravelonline.com/ . My login email is jawad@sunspreadmaldives.com. 

Thank you

Kelly R Support Agent
5 years ago

Hi,

Please confirm you set currency code correctly. For example, USD, EUR, etc.

Currency code should be acceptable in payments and currency converters.

If you did correctly already, please send me your website url and admin credentials.

Let me check.

Regards, C-Themes


Jawad Shakeel
5 years ago

Hi Kelly,

Perfect!

Hey! I noticed one more thing the currency conversion does not work. Only when I select US$ it shows correctly for all other currencies the room price shows as 0.00, but I am sure it was working correct before. Any idea?

Regards

Jawad

Kelly R Support Agent
5 years ago

Please remove following code in /single-accommodation.php file.

<?php if ( is_user_logged_in() ) {

                                    $user_id = get_current_user_id();
                                    $wishlist = get_user_meta( $user_id, 'wishlist', true );
                                    if ( empty( $wishlist ) ) $wishlist = array();
                                    if ( ! in_array( trav_acc_org_id( $acc_id ), $wishlist) ) { ?>
                                        <a class="button yellow-bg full-width uppercase btn-small btn-add-wishlist" data-label-add="<?php _e( 'add to wishlist', 'trav' ); ?>" data-label-remove="<?php _e( 'remove from wishlist', 'trav' ); ?>"><?php _e( 'add to wishlist', 'trav' ); ?></a>
                                    <?php } else { ?>
                                        <a class="button yellow-bg full-width uppercase btn-small btn-remove-wishlist" data-label-add="<?php _e( 'add to wishlist', 'trav' ); ?>" data-label-remove="<?php _e( 'remove from wishlist', 'trav' ); ?>"><?php _e( 'remove from wishlist', 'trav' ); ?></a>
                                    <?php } ?>
                                <?php } else { ?>
                                        <h5><?php _e( 'To save your wishlist please login.', 'trav' ); ?></h5>
                                        <a href="<?php echo $login_url ?>" class="button yellow-bg full-width uppercase btn-small <?php echo ( $login_url == '#travelo-login' )?' soap-popupbox':'' ?>"><?php _e( 'login', 'trav' ); ?></a>
                                <?php } ?>

Regards, C-Themes

Jawad Shakeel
5 years ago

HI Kelly,

Thank you for that, got the header fixed. But now realised that there is one more place with LOGIN link. Right sidebar of accommodation pages. Would appreciate if you could help to remove that as well. 

Thank you so much for your assistance. 

Regards 

Jawad

Kelly R Support Agent
5 years ago

Hi,

Please find following code in /templates/headers/header2.php file and remove it.

<?php if ( is_user_logged_in() ) { ?>

     <li><a href="<?php echo esc_url( wp_logout_url( trav_get_current_page_url() ) ); ?> "><?php _e( 'LOGOUT', 'trav' ) ?></a></li>
    <?php } else { ?>
     <li><a href="<?php echo $login_url ?>"<?php echo ( $login_url == '#travelo-login' )?' class="soap-popupbox"':'' ?>><?php _e( 'LOGIN', 'trav' ) ?></a></li>
     <?php if ( get_option('users_can_register') ) { ?>
      <li><a href="<?php echo $signup_url ?>"<?php echo ( $signup_url == '#travelo-signup' )?' class="soap-popupbox"':'' ?>><?php _e( 'SIGNUP', 'trav' ) ?></a></li>
     <?php } ?>
    <?php } ?>

Regards, C-Themes

Jawad Shakeel
5 years ago

Hi,

my website is http://maldivestravelonline.com/. I am still developing it.

Thank you and warm regards

Jawad

Kelly R Support Agent
5 years ago

Hi,

Do you want to remove login/signup link in header?

Then please send me your website url. I should check what header style you used in your website.

Let me check your website.

Regards, C-Themes

Jawad Shakeel
5 years ago

my signup link on the website does not work, I get the message "The page isn’t redirecting properly". Frankly I don't even need the signup link but since I cannot get rid of the login link I need the signup to work. It is OK if you can assist to remove the login link from header and hotel pages.

Thank you

Jawad