Sweet Shop Website using PHP
-
HTML
-
CSS
-
Javascript
-
jQuery
-
PHP
-
MySQL
-
XML
-
MySQL
-
Sending Email in Contact Form (using PHPMailer)
-
SMS on Order Booking (using Twilio SMS Api)
-
Live Search on JSON Data File using jQuery
-
Rating System
-
Animation while Adding to Shopping Cart
-
Carousel for Offers
-
Separate User and Admin Dashboard
-
Admin Functionality for adding balance to PerfectTreat Card.
-
Download or Clone "PerfectTreat" from here.
-
Verify and Enter your database username and password at "PerfectTreat/php/db_connection.php".
-
Create a database "theperfecttreat" and import the database from "database/theperfecttreat.sql".
-
Make a Twilio account to get Account SID, Auth Token and Twilio Mobile Number and substitute them in the placeholders at "PerfectTreat/php/tracking.php".
-
Place "cacert.pem" inside any directory inside C drive.
-
Open php.ini and uncomment the line "curl.cainfo = " by removing the semicolon at the start of the line.
-
Update curl.cainfo="C:/path/of/file/cacert.pem" and restart WAMP/XAMPP.
-
Substitute your Gmail account credentials and Contact Queries receiving Email Address in the placeholders at "PerfectTreat/php/contact_us.php".
-
Allow use of less secured apps in the Settings Panel of your Gmail Account (just in case Sending Emails is not working).
-
Get the Google Map API Key from google and substitute it in the placeholder at “PerfectTreat/php/findus.php”.
1.Twilio only sends SMS between morning 9am to evening 9pm.
2.To change the Data for Live Search update the file at “PerfectTreat/html/product_data.json”.