Skip to content

Commit 52197a5

Browse files
committed
fix non member yet err msg real quick
1 parent c8bd800 commit 52197a5

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

public/member/shopFunctions.js

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -402,13 +402,9 @@ export function processCheckout() {
402402
return;
403403
}
404404

405-
if (!customerName) {
406-
alert('Your name is missing from your member data. Please contact an officer.');
407-
return;
408-
}
409-
410-
if (!customerEmail) {
411-
alert('Your email is missing from your member data. Please contact an officer.');
405+
// Check if customer info exists
406+
if (customerInfo === null || !customerName || !customerEmail) {
407+
alert('Please fill out the membership form above or contact an officer for help.');
412408
return;
413409
}
414410

0 commit comments

Comments
 (0)