Easy solution for cafe or restaurant site
CafeEngine BuyNow!
v2.3 - $115

3 month of free 24/7 email support for buyers.

Developer manual: Settings reference

All CafeEngine settings stored in /include/options.php. They are accessible everywhere including Smarty templates in $options array. Here is full list of settings:

Name Description
Restaurant / Cafe
name Cafe or restaurant name. Will be included to keywords META tag.
city City where cafe or restaurant is located. Will be included to keywords META tag.
address Real address where cafe or restaurant is located. Will be included to keywords META tag.
phone Restaurant or cafe phone
delivery Enable(=1) or disable(=0) "delivery" method of shipping for online orders
pickup Enable(=1) or disable(=0) "pickup" method of shipping for online orders
booking Enable(=1) or disable(=0) "book a table" method of shipping for online orders
order Allow online orders(=1) or just show Restaurant menu(=0)
ordertime_required Require to set date and time for order
currency Currency sign to use for all prices at the site
currency_place Show currency sign before(=1) of after(=0) price
start_hour<X> <X> = 1(Saturday)..7(Sunday). Hour when Restaurant / Cafe opens. Used to count possible times for orders.
end_hour<X> <X> = 1(Saturday)..7(Sunday). Hour when Restaurant / Cafe closes. Used to count possible times for orders.
tax Tax % to add to order sum
delivery_free Delivery will be free for orders with total more than
delivery_areas List of delivery areas with costs of deliveries. For example:
less than 20km 5
more than 20km 10
shipping_timing_max Maximum time to take order for (in seconds)
shipping_timing_min Minimum time for order preparing (in seconds)
coupons Coupon code and percent of discount separated by space. One per line:
ABCDEF 10
FEDCBA 20
order_delivery2coupon Apply(=1) or no(=0) coupon discount to cost of delivery.
Site/server
keywords Keywords that would appear in the beginning of corresponding META tag on every page of site
title Text that would appear in the beginning of title on every page of site
db_name Name of SQL database
db_host SQL server (localhost if empty)
db_port Port to connect to SQL server
db_login Database login
db_password Database password
db_prefix prefix for all CafeEngine tables in database (this feature allow to use CafeEngine and other software in one database. You may use unlimited number of CafeEngine with different prefixes using the same database)
URL root of CafeEngine installation
time_format Time format used on cafe or restaurant site. See for further details
date_format Date format used on cafe or restaurant site. See for further details
time_align This option is required to convert server system timestamp to cafe or restaurant local time. It is difference between these 2. In seconds.
page_size How much items to show per page. Everywhere at the site.
use_menu_specials use "special" (see administrator reference) section in menu or no
use_secure_code To use(=1) or no(=0) image(captcha) with secure code for each form.
menunames Array (index starts from 1) with internal names of site navigation. There Items by default: 'main', 'left' and 'bottom'. These are system internal labels. See Customizing site navigation for details.
theme Current site theme (name of folder in /templates/). See Creating new theme for details
order_days Maximim number of days online order can be done for
home Which page will be used as home page. Every page of site can be set.
sql_use_charset Use(=1) or no(=0) UTF-8 encoding for SQL
Messaging
messaging_order_added Message after one meal added to order
messaging_order_done Message after online order is submitted.
messaging_gb_head Message in GuestBook form header.
messaging_gb_added Mesasge after GuestBook message added
messaging_contact_head Message in Contact Form header
messaging_contact_added Message after Contact Form is submitted
messaging_meal_removed Message after meal removed from order
messaging_review_added Message after visitor submitted new review
Emailing
order_email2client Email to customer his order(=1) or no(=0)
check_email If this flag set to 1 CafeEngine will check email everywhere site visitors type it. Set 0 to disable this feature
mail_way Way that CafeEngine use to send emails. Can take 3 values: 1 - use PHP mail() function, 2 - use sendmail system routine, 3 - use SMTP server.
mail_from_email "From" address of all emails CafeEngine sends
mail_from_name "From" name of all emails CafeEngine sends
order_email Email to notify cafe / restaurant stuff about new orders
mail_smtp_host SMTP host will be used to send emails (if mail_way is 3)
mail_smtp_port Port to use to connect to SMTP host
mail_smtp_username SMTP host login
mail_smtp_passwd SMTP host password
contact_email Email to notify about new "Contact Us" messages
guestbook_email Email to notify about new guest book messages
review_email Email to notify about new reviews
order_costomeremail_subject Subject of email sent to customer after he submitted the order.
Miscellaneous
gateways_dir Folder where Payment Gateway classes located
custom_folder Folder to store images for custom pages
show_legend Show(=1) or hide(=0) icon hint in admin area
photos_thumbnail_width Width of thumbnails in photo gallery
photos_thumbnail_height Height of thumbnails in photo gallery
photos_columns Number of columns of thumbnails will be shown on page of section of photo gallery
photos_keep_proportions If this value is 1 thumbnails will keep proportions of original photos
menu_img_width Width of menu image
menu_img_height Height of menu image
menu_thumb_width Width of menu image thumbnail
menu_thumb_height Height of menu image thumbnail
cat_img_width Width of menu section image
cat_img_height Height of menu section image
cat_thumb_width Width of menu section image thumbnail
cat_thumb_height Height of menu section image thumbnail
dish_img_width Width of menu item image
dish_img_height Height of menu item image
dish_thumb_width Width of menu item image thumbnail
dish_thumb_height Height of menu item image thumbnail
img_keep_proportions To keep(=1) or no(=0) image proportions (see 8 options above)
gmap_address Address for Google map
gmap_message Line 1 of message on Google map
gmap_message1 Line 2 of message on Google map
gmap_key Google map API key. See here for details
use_volume use "volume" column in memu(=1) or no(=0)


Best Scripts on the Internet - Scripts.com™! Web Scripts Directory phpdirectory.com