BuddyBoss Home – Web Support Forums Solutions Social Learner Cart icon for logged out users?

Viewing 7 posts - 1 through 7 (of 7 total)
  • Question

    #42790

    I just noticed that the cart icon is visible in the header only when I’m logged in. Is this the default behavior? If so, it’s going to cause some trouble… I sell courses to visitors who don’t yet have an account on my site, and so are logged-out by default. When they click the “Purchase this Course” button on the course page, there’s no indication of where to go next to complete the transaction. Minimally, the cart icon needs to be visible for this.

    Any thoughts?

    Answers

    #42850

    Anonymous
    @

    Hello @davejay , Ideally it should be in menu for logout users, i will suggest developers to remove logged in user logic for the cart icon.

    For temp you can alter header.php line 93 at child theme

    
    <?php if ( is_user_logged_in() ) : ?>
    with
    <?php if ( buddyboss_is_bp_active() ) : ?>
    

    Regards
    Varun Dubey

    #42871

    Thanks, Varun. Alas, when I make that change the cart icon is visible, but the “login” link disappears – which may be even worse :/

    #42872

    Anonymous
    @

    Hey @davejay, leave that original for now, i will check all conditions added there again, on the basis of them i will provide your revised codes.
    Regards

    #47036
    @judeamedia

    Hello, I also need this functionality (cart icon for logged out users). Was there ever a fix?

    #47060

    Michelle, this was resolved for me after the Social Learner child theme update 1.0.3 released on August 31st.

    #47064

    Anonymous
    @

    🙂 thanks @davejay

Viewing 7 posts - 1 through 7 (of 7 total)
  • The question ‘Cart icon for logged out users?’ is closed to new replies.