1and1 Help Centre Categories

print article

How can I make my Products accessible only to customers who have logged in?

Insert the following code on the first line (important!) of the
product_overview.shopscript file (eShop -> Shop design -> Shop design) <? if (! $SHOP_LOGGEDIN_CUSTOMER) {
header("location: ../action/customer_login.php4");
header("status: 301");
exit();
}?>
If a customer does not login to the eShop and clicks Product Overview, he/she is
redirected to the login page.