Support #11973
openSupport #11764: E-commerce pending tasks for nov 15 release
Support #11923: Prepare the Faq implementation work flow document with real time wireframes , merging support-desk & enquiries
Issues in FAQ module
100%
Description
Gaps & Pending Issues (Functional & Business)
A. Functional Issues
CRITICAL BUG: Double Email Notifications to Customer and Staff
Where:
ticket.service.js:L313
AND
faq.controller.js:L206
Mechanism:
Inside faqService.submitEnquiry, ticketService.createTicket() fires notifier.created(dbName, ticket.toObject(), { tz }). This sends the ticket confirmation email to the customer and alerts the assigned support team.
Immediately after returning to faqController.submitEnquiry, line 206 calls notifySupport(dbName, tenantSlug, enquiry). This triggers faqNotification.js, which sends a second customer confirmation and a second staff alert.
Fix: Remove notifySupport(dbName, tenantSlug, enquiry) from faqController.submitEnquiry since ticketService handles email notifications.
Guest Customer Ticket Tracking Disconnect
Where:
FaqHelpForm.tsx:L168
and
guestAccess.service.js:L20-L28
Problem: The storefront success modal tells the user: "Support Ticket #: TKT-XXXX. You will receive an email confirmation with tracking details." However, guestAccess.service.js currently requires an orderNo to verify a guest customer via OTP. If the user submits a general question without an order number, they cannot track or reply to the ticket online without creating a full password account.
Fix: Update guestAccess.service.js to allow OTP verification using ticketNumber + email as an alternative to orderNo + email.
Empty Search Query Copy Bug on Storefront
Where:
FaqPage.tsx:L147
Problem: If a merchant has no FAQs published, the storefront renders: No answers found for "" because it treats empty results as a failed search rather than an empty catalog.
Fix: Show No FAQs available yet. Contact us if you need help. when searchQuery.trim() === "" and filteredFaqs.length === 0.
Subtasks
Related issues