=== WPPizza - A Restaurant Plugin ===
Contributors: ollybach
Donate link: https://www.wp-pizza.com/
Author URI: https://www.wp-pizza.com
Plugin URI: https://wordpress.org/extend/plugins/wppizza/
Tags: pizzeria, restaurant, restaurant menu, food ordering, online ordering
Requires PHP: 5.3
Requires at least: 3.3
Tested up to: 7
Version: 3.20
Stable tag: 3.20
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

A Restaurant Plugin (not only for Pizza). Maintain your Menu (sizes, prices, categories). Accept COD orders. Multisite, Multilingual, WPML compatible.



== Description ==

- **Conceived for Pizza Delivery Businesses, but flexible enough to serve any restaurant type.**

- Maintain your restaurant menu online and accept cash on delivery orders.

- Set categories, multiple prices per item and descriptions.

- Several layouts inbuilt(Default, Responsive, Grid).

- New order notifications.

- Opening/Closing times per day.

- Allow tips/gratuities.

- Simple discounts.

- Multiple taxrates.

- Order reports.

- Multilingual Frontend (just update labels in admin settings page and/or widget as required). WPML compatible.

- Multisite enabled.

- Keeps track of your online orders.

- Shortcode enabled. (see <a href='https://docs.wp-pizza.com/shortcodes/'>complete shortcode list</a>)

- Many other additional options inbuilt.


**To see the plugin in action with different themes try it at <a href="https://demo.wp-pizza.com/">demo.wp-pizza.com</a>**

**If you wish to allow your customers to add additional ingredients to any given menu item, have a look at the premium <a href='https://www.wp-pizza.com/'>"WPPizza Add Ingredients"</a> extension**

= Premium extensions available: =

* <a href='https://www.wp-pizza.com/'>Add Ingredients (Toppings)</a> - <a href='https://demo.wp-pizza.com/wppizza-add-ingredients/'>(Demo)</a>   
* <a href='https://www.wp-pizza.com/'>Delivery By Post/ZipCode</a> - <a href='https://demo.wp-pizza.com/wppizza-delivery-by-postcode/'>(Demo)</a>    
* <a href='https://www.wp-pizza.com/'>Cross-Sells</a> - <a href='https://demo.wp-pizza.com/wppizza-xsales/'>(Demo)</a> 
* <a href='https://www.wp-pizza.com/'>Pickup Prices</a> - <a href='https://demo.wp-pizza.com/wppizza-pickup-prices/'>(Demo)</a>    
* <a href='https://www.wp-pizza.com/'>Preorder</a> - <a href='https://demo.wp-pizza.com/wppizza-preorder/'>(Demo)</a>    
* <a href='https://www.wp-pizza.com/'>Stockmanagement</a> - <a href='https://www.wp-pizza.com/downloads/wppizza-stockmanagement/'>(Details / Screenshots)</a> 
* <a href='https://www.wp-pizza.com/'>Coupons and Discounts</a> - <a href='https://demo.wp-pizza.com/wppizza-coupons-and-discounts/'>(Demo)</a>    
* <a href='https://www.wp-pizza.com/'>Timed Menu</a> - <a href='https://demo.wp-pizza.com/wppizza-timed-menu/our-menu/special-offers/'>(Demo)</a>    
* <a href='https://www.wp-pizza.com/'>Rewards</a> - <a href='https://www.wp-pizza.com/downloads/wppizza-rewards/'>(Details / Screenshots)</a> 
* <a href='https://www.wp-pizza.com/'>Confirm | Reject | Notify</a> - <a href='https://www.wp-pizza.com/downloads/wppizza-confirm-reject-notify/'>(Details / Screenshots)</a> 
* <a href='https://www.wp-pizza.com/'>PDF Invoices</a> - <a href='https://www.wp-pizza.com/downloads/wppizza-pdf-invoices/'>(Details / Screenshots)</a> 
* <a href='https://www.wp-pizza.com/'>Mailinglists</a> - <a href='https://www.wp-pizza.com/downloads/wppizza-mailinglists/'>(Details / Screenshots)</a> 
* <a href='https://www.wp-pizza.com/'>Autoprint</a> - <a href='https://www.wp-pizza.com/downloads/wppizza-autoprint/'>(Details / Screenshots)</a> 
* <a href='https://www.wp-pizza.com/'>Goodcom Printers</a> - <a href='https://www.wp-pizza.com/downloads/wppizza-goodcom-printer/'>(Details / Screenshots)</a>  


= Additional payment gateways to process credit card payments instead of just "Cash on Delivery" =
* <a href='https://www.wp-pizza.com/gateways/'>PayPal</a> 
* <a href='https://www.wp-pizza.com/gateways/'>Stripe</a> 
* <a href='https://www.wp-pizza.com/gateways/'>Authorize.net</a> 
* <a href='https://www.wp-pizza.com/gateways/'>Sofort</a> 
* <a href='https://www.wp-pizza.com/gateways/'>Rabobank</a> 
* <a href='https://www.wp-pizza.com/gateways/'>Sisow</a> 
* <a href='https://www.wp-pizza.com/gateways/'>Mollie</a> 
* <a href='https://www.wp-pizza.com/gateways/'>Marcadopago</a> 
* <a href='https://www.wp-pizza.com/gateways/'>... and more ...</a> 

 
== Installation ==

**Install**

1. Download the plugin and upload the entire `wppizza` folder to the `/wp-content/plugins/` directory.  
Alternatively you can download and install WPPizza using the built in WordPress plugin installer.  
2. Activate the plugin through the 'Plugins' menu in WordPress.  
3. You will find all configuration and menu options in your administration sidebar  


**Things to do on first install**

For consistency, this document has now moved to the following location :   
<a href='https://docs.wp-pizza.com/getting-started/?section=setup'>https://docs.wp-pizza.com/getting-started/?section=setup</a>  
** I strongly encourage you to read it **  


**Uninstall**

Please note:  
Although all options, menu items and menu categories get deleted from the database along with the table that holds any orders you may have received, you will manually have to delete any additional pages (such as the order page for example) that have been created as i have no way of knowing if you are using this page elsewhere or have changed the content/name of it.  
The same goes for the 3 example icons that come with this plugin as they might be in use elsewhere.


== Screenshots ==

1. Frontend
2. Frontend (Different Theme) - minicart only
3. Frontend - Grid Layout
4. Frontend - Order Page
5. Frontend - Thank You Page
6. Frontend - Purchase History (registered user)
7. Admin - Menu items - quick edit
8. Admin - Global Settings (excerpt)
9. Admin - Order Settings (excerpt)
10. Admin - Opening Times
11. Admin - Additives
12. Admin - Layout (excerpt)
13. Admin - Localization (excerpt)
14. Admin - Registered customers
15. Admin - Tools
16. Admin - Tools (GDPR)
17. Admin - Access Rights
18. Admin - Order Form
19. Admin - Sales Reports
20. Admin - Widget
  

== Other Notes ==

= Translations provided by: =

* Italien:  Silvia Palandri  
* Hebrew:  Yair10 [&#1492;&#1500;&#1489;&#32;&#1489;&#1504;&#1497;&#1497;&#1514;&#32;&#1488;&#1514;&#1512;&#1497;&#1501;&#32;]  
* Dutch:  Jelmer  
* Spanish:  Andrew Kurtis at <a href="http://www.webhostinghub.com/">WebHostingHub</a>  
* German:  Franz Rufnak, Witali Opfer 

Many, many thanks guys and girls.  

Note: As the plugin gets updated over time and has some other strings and features added, the translations above (and future ones) are likely to have some not-yet-translated strings. If you wish, feel free to provide any of those missing and I will update the translations accordingly.  

If you want to contribute your own translation, feel free to send me your files and I will be more than happy to include them.  


= Demo Icons: =
Please note that the icons used in the demo installation are <a href="http://www.iconarchive.com/show/desktop-buffet-icons-by-aha-soft.html">iconarchive.com</a> icons and not for commercial use.  
If you do wish to use any icon from this set commercially, please follow <a href="http://www.desktop-icon.com/stock-icons/desktop-buffet-icons.htm">this link</a> to purchase it.  

= Allergen/Foodtype  Icons (credit where credit is due): =
Allergen/Foodtype Icons - though modified and with the exceptions stated below - are courtesy of <a href="https://icon-icons.com/">icon-icons.com</a>  
Foodtype Vegetarian/Vegan Icons courtesy of <a href="https://www.vectorstock.com/">vectorstock.com</a>  
Halal/Kosher Icons specifically created for this plugin.  
Note: Allergen/Foodtype Icons included with this plugin can be used on your site 'as is' and without any attribution  

= Loading Icon: =
"Double Ring" Loading Icon SVG (v3.13+) generated at <a href="https://loading.io/spinner/double-ring">loading.io</a>  

== Changelog ==

3.20   
* Fix: Chrome print dialogue  
* Fix: Some potential vulnerabilities 
* Tweak: Made some text inputs to number inputs where applicable  
* Tweak: Admin css for WP 7+
* Tweak: Translator comments added where applicable, added 'default' textdomain to textstrings where applicable  
* General Maintenance, additional escaping, sanitisations etc  
* Tested up to: WP 7  
14th April 2026  

3.19.9  
* Fix: fixed value tips displayed as percentages     
* Fix: tips ignored when using confirmation page  
* Update: tips persistent once set/reset until order is placed  
* Fix: Some admin nag notices were not dismissable 
16th Feb 2026  

3.19.8.3  
* Added: 'wppizza_on_order_cancel', 'wppizza_on_order_expired', 'wppizza_on_order_failed', 'wppizza_on_order_reject', 'wppizza_on_order_refund' action hooks   
07th Nov 2025  

3.19.8.2  
* Fix: Nonce may have been missing on some admin pages - depending on setup  
28th Aug 2025  

3.19.8.1  
* Fix: Not able to save post meta values (in 3.19.8).  
19th Aug 2025  

3.19.8  
* Security update. Minor tidyup.  
18th Aug 2025  

3.19.7.4  
* Fix: allow a zero value in customer select values  
26th July 2025  

3.19.7.3  
* Fix: stricter type casting to avoid potential php 8.3+ issues  
* Fix: couple of potantial php notices eliminated   
22nd July 2025  

3.19.7.2  
* Tested: upTo WP 6.8 
* Maintenance: a slightly stricter sanitisation and escaping in a few places  
24th April 2025  

3.19.7.1  
* Fix: some edgecase php notices eliminated 
7th April 2025  

3.19.7  
* Added: allow for absolute values in tips dropdown selection  
* Tweak: minor css changes in popup boxes  
* Tweak: minor css changes in tips fields    
* Fix: some potential php notices eliminated 
* Fix: misspelled function name, potentially causing fatal errors in edge cases  
* Dev: Adding some more globally available validation functions
* Dev: Adding more flexibility to some globally available validation functions
* Dev: Improved plugin development helper function (wppizza_phi_validate)  
2nd April 2025  

3.19.6  
* Fix: Some input sanitisation unnecessarily strict potentially causing problems  
18th February 2025  

3.19.5  
* General: Some Maintenance / Tidy up / Security Fix
10th February 2025  


3.19.4  
* Added: action hooks before pickup/delivery via _GET parameter redirections 
* Tweak: now requires distinct enabling of pickup/delivery via _GET parameter (WPPizza->Order Settings)  
18th December 2024  

3.19.3  
* General: Some Maintenance/ Tidy up  
* Added: ability to set pickup/delivery via _GET parameter (?pickup | ?delivery) in url  
16th December 2024  

3.19.2  
Tweak: replaced  "thank you page" 'the_content' filter in favour of setting shortcode for compatibility improvements in some cases  
09th December 2024  

3.19.1  
* Fix: Translations not loaded with WP 6.7  
* Updated: some admin strings, associated translations and textdomains  
* Added: Make translation path to po/mo files filterable  
18th November 2024  

3.19  
* Maintenance Release  
11th July 2024  

3.16 - 3.18.x  
* changelogs for versions 3.16 to 3.18.x can be found in /wppizza/changelogs/  

3.0 - 3.15.x  
* changelogs for versions 3.0 to 3.15.x can be found in /wppizza/changelogs/  

1.0 - 2.16.11.28  
* changelogs for versions up to 3.0 can be found in /wppizza/changelogs/  


== Frequently Asked Questions ==

= General Faq's =

for consistency and manageability the faq's have been moved to <a href='https://docs.wp-pizza.com/faqs/'>https://docs.wp-pizza.com/faqs/</a>

= Shortcodes = 

please refer to <a href='https://docs.wp-pizza.com/shortcodes/'>https://docs.wp-pizza.com/shortcodes/</a>


= How can I submit a bug, ask for help or request a new feature? =

- leave a message on the <a href="https://wordpress.org/support/plugin/wppizza">wordpress forum</a> and I'll respond asap.  
- send an email to dev[at]wp-pizza.com with as much info as you can give me or 
- use the <a href="https://www.wp-pizza.com/contact/">"contact form"</a>, <a href="https://www.wp-pizza.com/forum/feature-requests/">"feature request" page </a> or <a href="https://www.wp-pizza.com/support/">support forum</a> on <a href="https://www.wp-pizza.com/">www.wp-pizza.com</a>


	
	>**additional premium add-ons can be found at <a href="https://www.wp-pizza.com/">www.wp-pizza.com</a>**  
	>


== Upgrade Notice ==

= 3.0 =
<b>WARNING : DO NOT SIMPLY CLICK ON "UPDATE". YOU *MUST* READ THE DOCUMENTATION OF <a href="https://docs.wp-pizza.com/getting-started/?section=upgrade-v2-x-v3-x" target="_blank" style="color:#6ce414;text-decoration:underline">HOW TO UPGRADE</a> FROM WPPIZZA VERSION 2.x to VERSION 3.X </b>
&nbsp;
You are <b>STRONGLY</b> advised to also make a <b>FULL BACKUP OF YOUR SITE</b> first. Please refer to the <a href="https://docs.wp-pizza.com/getting-started/?section=upgrade-v2-x-v3-x" target="_blank" style="color:#6ce414;text-decoration:underline">upgrade documentation</a>.
&nbsp;
<b>Developers/Sites that have customised the WPPizza v2.x plugin:</b> 
If you have edited templates, are using some actions/filters, have amended the css etc, you should read the <a href="https://docs.wp-pizza.com/getting-started/?section=migrating-2-x-to-3-x-customisations" style="color:#6ce414;text-decoration:underline">Migrating Customisations</a> documents. Many things have changed !!
Do NOT just update and hope your customisation(s) will work. They probably will not and things will break. Again, whatever you do, make a complete backup of your site first !!!
&nbsp;
<b>IF YOU ARE NOT SURE ABOUT SOMETHING PLEASE ASK <a href="https://www.wp-pizza.com/support/" target="_blank" style="color:#6ce414;text-decoration:underline">IN THE FORUM</a> OR USE THE <a href="https://www.wp-pizza.com/contact/" target="_blank" style="color:#6ce414;text-decoration:underline">CONTACT FORM</a></b>
&nbsp;