Skip to content

Partenopeo83/simpleprestacontact

Repository files navigation

Simple Presta Contact

simpleprestacontact is a PrestaShop support module that replaces the plain contact flow with structured ticket handling. Customers can select a support area, browse FAQ content, open a dynamic form, create a ticket, and continue the conversation with attachments. Back office operators can manage the full lifecycle from a dedicated support workspace.

Core Features

  • Support areas or departments with custom icons
  • FAQ-driven dynamic forms
  • Ticket creation with unique code and secure token
  • Customer and operator replies in a threaded conversation
  • Attachment handling for ticket creation and replies
  • Back office ticket list with status and assignment workflow
  • Internal statuses for operational support stages
  • Quick replies for faster handling
  • Customer ticket history in the account area
  • Optional Google reCAPTCHA and basic rate limiting

Compatibility

  • PrestaShop 1.7.8.0 or newer
  • Source declares compatibility up to 9.99.99
  • Requires a standard PrestaShop module installation inside modules/

Repository Layout

  • simpleprestacontact.php: main module class and hooks
  • classes/: module ObjectModel classes
  • controllers/front/: front office controllers and AJAX endpoints
  • controllers/admin/: back office management controllers
  • sql/: install and uninstall SQL scripts
  • views/: Smarty templates, CSS, JavaScript, vendor assets
  • mails/: customer and operator email templates
  • translations/: module translations
  • docs/: user guide and screenshots
  • uploads/areas/: bundled default department icons

Installation

  1. Copy the simpleprestacontact folder into your shop modules/ directory.
  2. Open PrestaShop Back Office.
  3. Go to Module Manager.
  4. Search for Simple Presta Contact.
  5. Install the module.

During installation the module creates:

  • custom database tables for tickets, messages, FAQs, form fields, quick replies, statuses, and logs
  • back office tabs for ticket and configuration management
  • default support areas
  • default reusable form fields
  • custom front routes for contact and ticket access

Functional Overview

Front Office

  • Customer opens the module contact page
  • Customer selects a support area
  • Related FAQs are shown dynamically
  • A FAQ can expose a tailored form
  • Submitting the form creates a ticket and initial message
  • Customer can review the ticket thread and reply later

Back Office

  • Operators access a dedicated ticket list
  • Tickets can be assigned to employees
  • Internal statuses can be applied
  • Quick replies help standardize support responses
  • FAQ, areas, and field definitions are managed from dedicated sections

Front Routes

The module registers SEO routes similar to:

  • assistance-contact-us
  • assistance-tickets
  • assistance-ticket

Actual URLs depend on language, route configuration, and URL rewrite settings in the target shop.

Included Documentation

Support the Project

If this module is useful for your store or saves you time, you can support its development with a donation:

GitHub Packaging Notes

This standalone copy has been prepared for source control:

  • local metadata files removed
  • runtime customer uploads removed
  • uploads/tickets/ ignored through .gitignore
  • source structure kept intact for direct module packaging

Development Notes

  • Runtime ticket attachments are stored under uploads/tickets/ and should never be committed
  • Bundled icons in uploads/areas/ are part of the distributable module
  • Review shop-specific branding, translations, and email copy before publishing a public release
  • If you publish the module, verify that the chosen license matches the actual ownership and distribution intent

Source Metadata

  • Module name: simpleprestacontact
  • Current version in source: 1.0.1
  • Author declared in source: GCustom