Project Overview Summary
March 7, 2025 · AI Conversations
1. System Overview
Klass Energy operates multiple WordPress websites (11-12) selling home heating oil (kerosene and gas oil). The primary challenge is managing fuel prices, which vary by county in Ireland. To address this, a CodeIgniter dashboard was developed to centralize pricing management and delivery restrictions. Additionally, a custom WordPress plugin was created to replace WooCommerce entirely, ensuring seamless integration with the pricing system.
2. Hosting Details
• WordPress Websites: Hosted on SiteGround.
• CodeIgniter Dashboard: Hosted on our own shared server (server3.thenet.ie)
• Database: Hosted independently on Hetzner, with a mirrored MySQL server for redundancy. The databases are protected with a firewall.
3. Key Technologies & Architecture
• Frontend: WordPress websites with a custom plugin replacing WooCommerce.
• Backend: CodeIgniter dashboard for pricing, delivery dates and order management.
• Database: MySQL hosted on Hetzner (primary and mirrored instances).
• Payments: Integrated with Global Payments, supporting 3D Secure authentication.
• Email Notifications: Sent via Freshdesk for admin alerts and order confirmations.
4. Functionality
4.1 CodeIgniter Dashboard (Admin Panel)
• Manage Pricing: Admins can log in and update prices for fuel volumes (100–1000L).
• Delivery Restrictions: Admins can disable specific areas for delivery on certain dates.
• Order Management: View and update orders (pending → completed).
4.2 WordPress Plugin (Customer Checkout System)
• Location-Based Pricing: Retrieves fuel prices dynamically from the dashboard.
• Checkout & Payment Processing: Handles order submission and payment via Global Payments.
• Order Tracking: Customers receive order confirmation and admins are notified.
5. Staging and Deployment Workflow
• Staging Server: klassenergy.thenet.ie – Used for testing before deployment.
• Version Control: Codebase is maintained in GitHub.
• Deployment Process: Changes are tested on staging → approved → pushed to GitHub → deployed to live sites.
6. Security & Maintenance Considerations
• Firewall Protection: The database is secured with restricted access.
• Regular Updates: CodeIgniter and WordPress plugin updates are tested before deployment.
• Backup Strategy: Redundant MySQL instance at Hetzner ensures data availability.
7. Next Steps for the Development Team
• Familiarize yourself with the CodeIgniter dashboard and its integration with WordPress.
• Review the GitHub repository and understand the deployment process.
• Test changes on the staging server before pushing updates to live sites.
• Ensure compliance with Global Payments security protocols (3D Secure).
Please make our undersranding based on above