Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

printing message stack


yanarasod

Recommended Posts

i have made a page only for customers, and now whenever someone clicks on it's link when not logged in, then i want to display a messaage stack, in the login page saying "Sign in to view this member-only area", just when a visitor tries to login/checkout after is cart is filled with items, and the message is displayed "your cart contents will be merged once you login", where should i look.

Link to comment
Share on other sites

all if found was this in the login.php file

 

<td class="smallText"><?php echo TEXT_VISITORS_CART; ?></td>

 

just like it how do i also print a message,if a visitor tries to access the member-only area, and is redirected to the login page. so how do i print a text if someone comes to page xyz as visitor and then is redirected to login page, where i want my message. thanks

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...