zomex Posted December 4, 2010 Share Posted December 4, 2010 Hello everyone, I'm wondering if there is any PHP variable I can use to only show certain icons on the cart.php pages in the sidebar. I'm aware of the logged in/logged out options so I'm guessing this is possible? The reason why I ask is because I want to make the checkout page simple without any distractions. Thanks! Jack 0 Quote Link to comment Share on other sites More sharing options...
zomex Posted December 17, 2010 Author Share Posted December 17, 2010 Any help with this will be greatly appreciated! Thanks everyone, Jack 0 Quote Link to comment Share on other sites More sharing options...
uberhost Posted December 18, 2010 Share Posted December 18, 2010 Jack, can you clarify a bit? Even better perhaps you could mock up what you're trying to do using Photoshop. Cheers, Rick 0 Quote Link to comment Share on other sites More sharing options...
zomex Posted December 18, 2010 Author Share Posted December 18, 2010 Hello Rick, Sure, I probably mumbeled too much. Basically I wish to know if it's possible to use a PHP if statement to display dfferent contents for my sitebar. At the moment I have "if logged in" and "if logged out". How about "if user is on checkout page" then display ..... Here's some screenshots to show you my current sidebar when a user is logged in and when a user isn't logged in. They both work perfectly but I'd like to show only simple images in the sidebar on the checkout page in order to increase confidence and not distract visitors from purchasing. Here's some screenshots: My sidebar when logged in: My sidebar when logged out: Lastly what I wish to display in the sidebar when a visitor is on the checkout page and not logged in: I hope that makes sense. Thanks, Jack 0 Quote Link to comment Share on other sites More sharing options...
uberhost Posted December 18, 2010 Share Posted December 18, 2010 At the moment I have "if logged in" and "if logged out". How about "if user is on checkout page" then display ..... Hi again Jack, this thread will help you out: http://forum.whmcs.com/showthread.php?t=21209 Cheers, Rick 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.