wallspace Posted July 12, 2005 Share Posted July 12, 2005 Hi all, I've got the loginbox contribution installed in my shop and i want to modify it so that when someones logged in a warning comes up in the header to let them know the 10% discount will be added at checkout and not before. looking in the code for loginbox.php I found this comment: <?php } else { // If you want to display anything when the user IS logged in, put it // in here... Possibly a "You are logged in as :" box or something. } ?> Great I thought, exactly what i need, only problem is I can't get it to display a warning. Tried putting this underneath the comment but still no joy: $messageStack->Add('header', CUSTOMER_LOGGED_IN, 'warning'); ANyone got any ideas? My site is www.wallspace.co.uk if thats any help. Cheers Mark Link to comment Share on other sites More sharing options...
Guest Posted July 13, 2005 Share Posted July 13, 2005 Try: echo 'My message'; Matti Link to comment Share on other sites More sharing options...
wallspace Posted July 14, 2005 Author Share Posted July 14, 2005 Try: echo 'My message'; Matti <{POST_SNAPBACK}> Thanks Johnson, Tried that by adding this but still not displaying, anyone else got any suggestions for me? echo 'Thanks for logging in. As a member you are entitled to 10% off all prints in our gallery, this discount will be deducted from your shopping cart at the checkout.'; Appreciated, Mark Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.