forum.coppermine-gallery.net
Support => cpg1.4.x Support => Older/other versions => cpg1.4 plugins => Topic started by: mpwmedia on February 18, 2007, 03:43:54 pm
-
Is there any way of removing the need to register from the Photo Shop plugin?
i.e. once a customer had placed an order and confirmed it they would be taken direct to PayPal.
Thank you.
-
I just answered a similar question
- with the current shop layout people necessarily have to register no matter what. The person ordering this shop wanted to print and send photos to his customers. So he's in need of the address. The shop admin makes use of the customer details. Without that no uid, customer user/ nick name, nothing you could use to connect an order to
Removing the need to register is easy... but then you'd have to modify most of the admin functions too
to just remove the redirect to the register page open photo_shop_checkout.php and comment out that block
//if user isn't logged in redirect to shop register/ login page
if(!USER_ID) {
photoshop_refresh($_SERVER['PHP_SELF'].'?file=photo_shop/photo_shop_register');
exit;
}
but as said... there's more to do than that