/* ============================================ CONTACT FORM HANDLER WITH SUCCESS/ERROR ============================================ */ add_action('init', 'hs_handle_contact_form'); function hs_handle_contact_form() { if (!isset($_POST['hs_contact_submit'])) { return; } // Create a global variable to store messages global $hs_form_message; // Sanitize fields $name = sanitize_text_field($_POST['name']); $email = sanitize_email($_POST['email']); $message = sanitize_textarea_field($_POST['message']); // Basic validation if (empty($name) || empty($email) || empty($message)) { $hs_form_message = array( 'type' => 'error', 'text' => 'Please fill in all fields.' ); return; } if (!is_email($email)) { $hs_form_message = array( 'type' => 'error', 'text' => 'Please enter a valid email address.' ); return; } // Email settings $to = "info@heshmatisolutions.com"; $subject = "New Contact Form Message from $name"; $body = "Name: $name\n"; $body .= "Email: $email\n\n"; $body .= "Message:\n$message\n"; // Brevo‑optimized headers $headers = array( "From: Heshmati Solutions ", "Reply-To: $email", "Content-Type: text/plain; charset=UTF-8", "Return-Path: info@heshmatisolutions.com", "X-Mailer: PHP/" . phpversion() ); // Send email $sent = wp_mail($to, $subject, $body, $headers); if ($sent) { $hs_form_message = array( 'type' => 'success', 'text' => 'Thank you! Your message has been sent successfully.' ); } else { $hs_form_message = array( 'type' => 'error', 'text' => 'Something went wrong. Please try again later.' ); } } Heshmati Solutions | » Inventory Management Tool
Inventory Template Preview

Inventory Management System

Automated Excel Template

A complete inventory management system built in Excel with automation, dashboards, and reorder alerts. Designed for small businesses, warehouses, restaurants, and operations teams who need accurate, real‑time stock visibility without expensive software.

Features

  • Automated stock level calculations
  • Reorder alerts with color indicators
  • Dashboard with charts and KPIs
  • Supplier tracking and purchase log
  • Barcode / SKU support
  • Printable reports

What’s Included

  • Inventory Management Excel File (.xlsx)
  • Dashboard & Reporting Sheet
  • Supplier Database Sheet
  • User Guide (PDF)
$24.00 USD
Buy Now