kkant Từ United States Thành viên kể từ thg 11 2024 kkant 13 thg 1 2025 03:20 I am running LiteCart v2.6.0. If I am logged out and check out items as a guest, when I am on the shopping cart page, there is a field that allows me to enter my email address (in Customer Details). If I enter the email address for an already existing account, the checkout page automatically uses that account and says "We found an existing customer account that will be used for this order", without me having to enter the account's password. This allows an order to placed under anyone's existing account, without needing their password. Is there a way to prevent this from happening? For example, if an existing email is used while in guest checkout, perhaps a popup login dialog could allow the customer to log in with password.
tim Founder Từ Sweden Thành viên kể từ thg 5 2013 tim 14 thg 1 2025 00:46 Is there a way to prevent this from happening? Sure, just delete these lines: https://github.com/litecart/litecart/blob/2.6.1/public_html/includes/entities/ent_order.inc.php#L208-L219 https://github.com/litecart/litecart/blob/2.6.1/public_html/includes/templates/default.catalog/views/box_checkout_customer.inc.php#L186-L188