We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8bd800 commit 52197a5Copy full SHA for 52197a5
public/member/shopFunctions.js
@@ -402,13 +402,9 @@ export function processCheckout() {
402
return;
403
}
404
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.');
+ // Check if customer info exists
+ if (customerInfo === null || !customerName || !customerEmail) {
+ alert('Please fill out the membership form above or contact an officer for help.');
412
413
414
0 commit comments