BuddyBoss Home – Web › Support Forums › Solutions › Social Learner › Cart icon for logged out users?
- This topic has 6 replies, 3 contibutors, and was last updated 9 years, 1 months ago by Anonymous.
Question
July 16, 2015 at 10:40 am #42790@davejayI 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
July 17, 2015 at 6:44 am #42850@
AnonymousHello @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 DubeyJuly 17, 2015 at 11:34 am #42871@davejayThanks, Varun. Alas, when I make that change the cart icon is visible, but the “login” link disappears – which may be even worse :/
July 17, 2015 at 11:42 am #42872@
AnonymousHey @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.
RegardsSeptember 24, 2015 at 1:25 pm #47036@judeamediaHello, I also need this functionality (cart icon for logged out users). Was there ever a fix?
September 25, 2015 at 9:55 am #47060@davejayMichelle, this was resolved for me after the Social Learner child theme update 1.0.3 released on August 31st.
September 25, 2015 at 11:12 am #47064@
Anonymous🙂 thanks @davejay
- The question ‘Cart icon for logged out users?’ is closed to new replies.