=== Food Store - Online Food Delivery & Pickup ===
Contributors: wpscripts
Donate link: https://www.buymeacoffee.com/wpscripts
Tags: restaurant, restaurant menu, food ordering, food delivery, food pickup, restaurant ordering system
Requires PHP: 7.1
Requires at least: 4.0
Tested up to: 6.3
Stable tag: 1.4.8.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Food Store is complete online food ordering platform with all your favourite WooCommerce functionalities.

== Description ==

Food Store is created by extending the core functionalities of WordPress and WooCommerce, which makes it very minimal, clutter free and very familiar to use. All your WooCommerce Categories, Settings and ease of setting up store and moving around the settings panel is still there.

Food Store gives you the option to convert your restaurant into instant food ordering hub. You can open it for customers to show your available menu online and let them pickup at a suitable time they prefer.

This plugin helps you with all your restaurant related options, and uses WooCommerce core features to setup the cart and checkout with various payment gateways.

= Premium Addons are available now =

* [Food Store - Essentials](https://checkout.freemius.com/mode/dialog/plugin/6956/plan/11323/)
* [Food Store - Store & Service Hours](https://checkout.freemius.com/mode/dialog/plugin/6932/plan/11281/)
* [Food Store - WhatsApp Cart](https://checkout.freemius.com/mode/dialog/plugin/7156/plan/11661/)
* [Food Store - Time Based Menu](https://checkout.freemius.com/mode/dialog/plugin/7219/plan/11785/)
* [Food Store - Tips](https://checkout.freemius.com/mode/dialog/plugin/7168/plan/11681/)
* [Food Store - Delivery Rates By ZipCode And Location](https://checkout.freemius.com/mode/dialog/plugin/7812/plan/17504/)

Premium addons can be browsed and purchased from Food Store > Addons submenu from WordPress Admin Dashboard itself. 

= Food Store Demo =

Checkout [Food Store Demo](http://food-store.wpscripts.in/our-menu/)
Checkout [Food Store Premium Demo](http://food-store-premium.wpscripts.in/our-menu/)
Checkout [Knowledge Base](http://food-store.wpscripts.in/knowledge-base/)

= Support =

Do you have any queries on Food Store? Or do you need Paid Support? Create a ticket on our [Support](http://support.wpscripts.in/) page.

= Introducing Food Store =

[youtube https://www.youtube.com/watch?v=A1z6_9wkqZ0]
[youtube https://www.youtube.com/watch?v=cFzSK1iQzto&feature=youtu.be]

= Available Shortcodes =

* [foodstore]

= Shortcode examples =

* [foodstore]
* [foodstore category="indian-bread,breakfast,desserts"]
* [foodstore category="starters,lunch" show_search="no"]
* [foodstore catalog_mode="yes" show_search="no"]
* [foodstore items_per_category="4"]
* [foodstore orderby="title" order="asc"]

= Pros of Food Store =

* Food Store works with complete WooCommerce settings.
* Setup your food items using WooCommerce with ease.
* Enable Catalog Mode / Restaurant Menu with ease.
* Tag your items with Veg or Non-Veg markings.
* Selecting variable prices have never been this easy before.
* Display unlimited item addons to your customers.
* No !important css in order to respect theme design.
* Fully responsive and optimized for mobile devices.
* Hooks for everything. Make it yours.

= Quick Fixes =

* Is the food items page looking very much squeezed? - Try activating Full Width Template for the shortcode page.
* Is the UI very much broken on your theme? - Send us an email mentioning the theme name, we'll release quick update asap.

= Credit =

This plugin was forked and follows the templates structure and coding standard of [WooCommerce](https://wordpress.org/plugins/woocommerce/)

== Installation ==

1. Login to admin panel, go to plugins and click on Add New.
2. If you have ZIP file click on Upload plugin, else search for Food Store.
3. Activate the plugin. Please find the Food Store menu just below WooCommerce.
4. Once setup is done you can use [foodstore] shortcode on any page you want.
5. You are ready to go.

== Frequently Asked Questions ==

= Does it need WooCommerce to run? =
Yes, this plugin is completely dependant on WooCommerce. Please setup your store/restaurant using WooCommerce, then you can use this plugin to make it an online food ordering hub.

= Where would I add my food items? =
Food items will be added as WooCommerce product only. When used with ShortCode those products will be shown as delicious food items on your Restaurant Menu page.

= Will it show the UI correctly with my current theme? =
We have used minimal hard coded css to make it compatible with all kinds of theme. As there are hundreds of theme available out there the output might not be same for all of them. But plugin does have a customizer where you can add your css to adjust the little up and downs. Any this customization won't be affected by future version updates.

= I want to enable preorders for my customers, is there any option available? =
Yes, we have created a dedicated paid extension called Store & Service Hours. Where you can enable preorders. You can also set multiple store open hours based on the service type. You can also create special days and holidays in that extension. 
You can purchase the extension from [here](https://checkout.freemius.com/mode/dialog/plugin/6932/plan/11281/)

= I want to add fee from customers based on their zip/google map location, is there any option available? =
Yes, we have created a dedicated paid extension called Delivery Rates By ZIP Codes & Location. Where you can add fee based on user ZIP code and location. You can also restrict users for delivery service on their entered zip/location. You can purchase the extension from [here](https://checkout.freemius.com/mode/dialog/plugin/7812/plan/17504/)

= I want to make few addons mandatory for users when they select any products, is there any option available? =
Yes, we have created a dedicated paid extension called Essentials. Where we have added some features like making addons manadatory, enable live pricing, desktop notification etc. 
You can purchase the paid extension from [here](https://checkout.freemius.com/mode/dialog/plugin/6956/plan/11323/)

= I want to show and hide some category based on the time, is there any option available? =
Yes, we have created a dedicated paid extension called Time Based Menu. In this extension you can show and hide multiple categories for a specific interval of time. 
You can purchase the paid extension from[here](https://checkout.freemius.com/mode/dialog/plugin/7219/plan/11785/)

== Screenshots ==

1. Food Items Listing
2. Single Item with Addons
3. Variable Item with Variations and Addons
4. Service Options Popup
5. Sliding Bottom Cart
6. Admin General Settings
7. Admin Service Settings
8. Pickup Service Options
9. Delivery Service Options
10. Admin Layout & Styling Settings
11. Edit Product Food Options
12. Product Addons Settings
13. Settings import and export Options

== Changelog ==

= 1.4.8.1 - 05-12-2023 =
* Fix - Cart subtotal issue when variation has been updated
* Fix - WooCommerce HPOS notification with latest version of woocommerce
* Updated Freemius SDK 2.6
* Code cleanup

= 1.4.8 - 13-10-2023 =
* New - Added functionality for different cart on different devices
* Fix - Fixed issue for invalid cart items count entered by user
* Fix - Fixed issue from checkout page when minimum amount is not matched
* Fix - Fixed select2 css issue in the admin setting page
* Fix - Fixed service type cookie issue from the checkout page
* Updated Freemius SDK 2.5.12
* Language file updated
* Code cleanup

= 1.4.7.7 - 08-09-2023 =
* Fix - Fixed an issue for headers sent which was causing due to setcookie
* Minor code cleanup

= 1.4.7.6 - 30-08-2023 =
* Fix - Fixed an issue which was showing addon selection type always multiple even it was selected as single
* Enhancement - Updated addon selection dropdown into select2 dropdown
* Updated Freemius SDK 2.5.11
* Made compatible with WooCoommerce 8.0
* Minor code cleanup

= 1.4.7.5 - 14-08-2023 =
* Minor code cleanup
* Updated Freemius SDK 2.5.10

= 1.4.7.4 - 16-07-2023 =
* Minor code cleanup
* Updated Freemius SDK 2.5.9
* Made compatible with WooCoommerce 7.8

= 1.4.7.3 - 29-04-2023 =
* Code cleanup
* Made compatible with WordPress 6.2
* Made compatible with WooCoommerce 7.6

= 1.4.7.2 - 30-12-2022 =
* New - Added developer hook for the modal.
* Typo fixed for the string.
* WooCommerce Compatibility Update.
* Minor bug fixes and code enahncements.

= 1.4.7.1 - 12-11-2022 =
* Enhancement - Scroll to new category section in the admin when create new addon is clicked
* New - Mini cart with bottom cart added, now user can select which cart they can use from settings.
* Minor bug fixes and code enahncements.

= 1.4.7 - 31-10-2022 =
* New - ASAP option added with label settings
* WooCommerce Compatibility Update.
* Minor code cleanup.

= 1.4.6.2 - 22-08-2022 =
* Enhancement - Hide save settings in admin page when tools section is enabled
* WooCommerce Compatibility Update.
* Minor bug fixes and code enhancements.

= 1.4.6.1 - 12-08-2022 =
* Fixed - Service type error message when service type is disabled
* Fixed - Service type error from my account reorder when service option is disabled
* Minor code cleanup.

= 1.4.6 - 09-08-2022 =
* Fixed - Empty service type issue when payment is failed
* Minor code cleanup.

= 1.4.5 - 02-08-2022 =
* Enahancement - Store closed message on cart and product list page when store is closed
* Fixed - Typo in cart template
* Fixed - Service type cookie with the default service type
* Fixed - Product addon issue when making reorder from myaccount page
* Minor bug fixes and code enhancements.

= 1.4.4 - 19-05-2022 =
* Fixed - Addon price issue when price is empty.
* Minor code cleanup.

= 1.4.3 - 13-05-2022 =
* Fixed - Variable product pricing issue on popup.
* Fixed - Validate product before add to cart.
* Minor bug fixes and code enhancements.

= 1.4.2 - 29-04-2022 =
* New - Added shortcode parameter orderby, order. eg. [foodstore orderby="title" order="ASC"]. Available orderby parameters are ( id, menu_order, title, relevance, date ). 
* Minor bug fixes and code enhancements.

= 1.4.1 - 13-04-2022 =
* Fixed - Assign newly category to the selected product when created from edit screen
* Fixed - Message for category already selected still category is empty
* Fixed - Typo fixed for food store import text
* New   - Trigger transactional email when order status changes
* Minor bug fixes and code enhancements.

= 1.4 - 07-03-2022 =
* Fixed - Shipping fee when pickup has been selected from checkout page
* New - Add Addons category option in the admin product page
* New  - Created functionality to add new category from admin product page
* New  - Added functionality for order status to track order
* New - Added functionality to sort product terms from admin page 
* WooCommerce Compatibility Update
* Minor bug fixes and code enhancements.

= 1.3.14 - 28-08-2021 =
* Enhancement to Quantity field on Popup.
* Minor UI enhancements

= 1.3.13 - 28-07-2021 =
* Compatibility issue fixes with WP 5.8 

= 1.3.12 - 11-05-2021 =
* Enahancement - Dynamic Offset value for Sidebar
* Enhancement - Admin option to choose Automatic Shipping Selection
* WooCommerce Compatibility Update

= 1.3.11 - 26-04-2021 =
* New - Shipping method based on selected service. Local pickup will be selected when Pickup is chosen and local pickup will be removed when Delivery is selected. 
* Enhancement - Message for slot unavailable instead of invisible time field on Checkout page.
* Enhancement - Added condition to hide select time when store is closed
* Minor bug fixes and code enhancements.

= 1.3.10 - 13-04-2021 =
* Fixed - Experiencing blank popup has been resolved.
* Fixed - Adding to Cart being stuck in some cases. 

= 1.3.9.1 - 07-04-2021 =
* Fixed - Checking Food Store page conditions updated
* Compatible to WooCommerce 5.2

= 1.3.9 - 05-04-2021 =
* Fixed - Adding to Cart being stuck in some cases. 

= 1.3.8 - 31-03-2021 =
* Fixed - Sidebar click to Scroll was not working under some languages.
* Fixed - WooCommerce hidden items will be kept hidden in Food Store menu.
* Fixed - Security fixes

= 1.3.7 - 25-03-2021 =
* New - Admin option added to select default service instead of Pickup.
* Fix - Broken variation UI in WooCommerce Product Single Pages.
* Fix - Categories ID specified in shorcode will show properly now.
* Fix - Code enhancement & Security fixes

= 1.3.6 - 16-02-2021 =
* Fix - Error log due to string to interger conversion issue
* Compatible to WooCommerce 5.0
* Enhance - Minor code optimizations

= 1.3.5 - 29-01-2021 =
* Fix - Auto keyboard display restricted when popup opened on mobile devices.
* Enhance - Dynamic top position for scroll top filter added.
* Enhance - Before category title filter updated with taxonomy parameter.

= 1.3.4 - 13-01-2021 =
* Fix - Search functionality issue
* Compatible to WooCommerce 4.9

= 1.3.3 - 11-12-2020 =
* Fix - Store closed message display in menu page and cart page only when service is enabled.
* Fix - Invalid timings were coming when auto service timing was enabled. 
* Compatible to WordPress 5.6
* Compatible to WooCommerce 4.8

= 1.3.2 - 03-12-2020 =
* Fix - Display error when no time is available for a day.
* Many more code optimizations.

= 1.3.1 - 26-11-2020 =
* Fix - Min value attribute was not working for few admin fields.
* Fix - Modal close button sensitivity issue fixed. 
* UI - Prices of addons were showing on next line on few themes.
* UI - Showing each addon on a new line on order receipt page.
* Enhance - Translations added for few words which were missing earlier.
* Enhance - Filters added for default text of search and special note placeholders.

= 1.3 - 15-11-2020 =
* New - Admin option to turn off services completely.
* New - Admin option to disable services fields on checkout page.
* UI - Service details on Order Receipt page now matches the WC UI.
* UI - Service details on Email Notification now matches the UI.
* UI - Service details on admin order details screen enahnced.
* Update - WooCommerce 4.7 Compatibility.
* Update - Updated condition to load assets on Food Store related pages only.
* Removed - Hide mode of Service details on Cart Overview bar has been removed. Instead whole service can be turned of with new settings.

= 1.2.7 - 02-11-2020 =
* Fix - Translation was not working.
* UI - Popup UI updated.

= 1.2.6 - 26-10-2020 =
* New - Add to Cart will now come only if product is in stock.
* New - Filters for Add To Cart button on menu page.
* Fix - Incomplete product schema has been removed in order to improve page ranking.
* UI - Service modal UI update
* UI - Item details modal UI compatibility update for varios themes.
* UI - Item summery text and button alignment.
* Other minor code enhancements and updates.

= 1.2.5 - 11-10-2020 =
* Enhance - Service details info styling in Plain Text Emails.
* Fix - Stock check while editing cart item.
* UI - Popup not closing on some themes has been fixed now.
* Other minor code improvements.

= 1.2.4 - 05-10-2020 =
* Fix - Updated functionality to check stock status and quantity as well before adding to cart.
* Fix - Default pickup was being selected to pickup even if disabled.
* Enhance - More filters added to allow Image gallery on popup with Essential Extension.

= 1.2.3 - 02-10-2020 =
* Fix - Issue where food items were not checked for stock status.
* Fix - Error message if the item is out of stock.
* Enhance - More filters added to allow Top Category menu with Essentials Extension.

= 1.2.2 - 29-09-2020 =
* UI - Flexbox UI updated for item popup.
* UI - Quantity button height mismatch on some themes.
* Enhance - Minor bug fixes.

= 1.2.1 - 28-09-2020 =
* Enhance - Customers can select service time and order outside of Store Time.
* Enhance - Code Cleanup.
* Enhance - Support for Premium Addons.

= 1.2 - 27-09-2020 =
* Enhance - More filters for admin and frontend.
* Enhance - Popup UI with more flexbox UI instead of Bootstrap Grids.
* Emhance - Minor bug fixes.

= 1.1.4 - 13-09-2020 =
* New - Page creation with Food Store shortcode when plugin is activated.
* Enhance - Load assets only on Food Store pages.
* Enhance - More filters for admin and frontend.
* Fix - Food Preparation time was not calculated when showing Service Times.
* Fix - Activation hook running multiple times.
* Fix - Mobile view footer icons were not working on iPhone. Thanks to @itism64.
* Update - Compatibility update for WooCommerce 4.5.
* Update - Migration script for deprecated functionalities.
* Deprecated - 3 columns layout settings.
* Deprecated - Food Store Option for Time format. Instead WordPress time format will be used.

= 1.1.3 - 11-08-2020 =
* Fix - Service time dropdown error when store time interval was very short
* Fix - Addons with 0 value were showing parent item price instead of Zero
* Fix - Auto modal condition when a cart is cleared
* Language - Support added for Spanish (Spain). Thanks to @jaimedkorat 

= 1.1.2 - 06-08-2020 =
* Update - Food store cart with more detailed information
* Fix - Button text were not translating because of wrong function.
* Fix - Services data not reflecting in Checkout page.
* UI - Bootstrap grids have been replaced with Flex box for more interactive UI.
* UI - Updated content for Empty Cart display.
* UI - Responsive issue on Tabs has been fixed.

= 1.1.1 - 03-08-2020 =
* Update - Choosing Pickup and Delivery options are more flexible now.
* Update - Various usablity options for showing service modal to users. Find the options under Food Store > Services > General Tab.
* Update - Rename Pickup and Delivery words form admin itself.
* Update - Option to modify the service preferences at the checkout page as well.
* Update - Showing service preferenes on Receipt, Order Email, Order Listing and Order Details page.
* Update - Food store cart won't allow you to proceed if store is closed or minimum cart amount not satisfied.
* Fix - Addon prices will now be calculated as per tax settings by default.

= 1.1 - 19-07-2020 =
* NEW - Pickup and Delivery services options are available now.
* NEW - Multi Column layouts are available now. Select upto 3 colums to show your items.
* NEW - Fully compartible with WooComerce 4.3.
* Fix - Missing close icon for Cart.
* Fix - Item prices and Subtotals are now updated WC Tax settings.
* Fix - Invalid product id while editing variable product.
* Fix - Store open and close time as per timezone.
* Fix - Restrict checkout if total is less then the set value or store is closed.
* UI - Irregular image sizes has been replaced with WC Thumbnail.
* UI - Proper image size and layout in mobile devices.
* UI - Custom scrollbar and spacious layout in cart area.
* UI - Special Notes area width and Label.
* Admin - Food Store submenus for easier access to Settings Tabs.
* Admin - Services details in Orders listing page

= 1.0.10 - 08-07-2020 =
* Fixed - Nonce verifier restricting ajax calls and throwing 403

= 1.0.9 - 07-07-2020 =
* Update - Addon quantity selection as per parent quantity
* Update - Code and UI enhancements

= 1.0.8 - 19-06-2020 =
* New - Set Cart or Checkout page URL in Purchase button Call to Action.
* New - Option to open popup by clicking item Image or Title.
* New - Added Category short descriptions.
* Update - All the icons on Frontend & Backend are optimized for better visibility.
* Update - More filters to make the plugin completely flexible.

= 1.0.7 - 12-06-2020 =
* New - Add special instructions for each item while adding to cart.
* New - You can hide item image in popup with admin settings.
* Fix - Item addons were not updating properly with edit cart item.
* Update - UI update for cart area.

= 1.0.6 - 08-06-2020 =
* New - Shortcodes attributes are available now.
* New - Multiple shortcodes can be used as per need.
* Fix - Variations not updating once cart item is edited.
* Fix - Quantity mismatch in some cnditions were not updating.
* Update - Verious UI enahncements and bugs fixing.

= 1.0.5 - 07-06-2020 =
* Fix - Missing variation ID creating warnings

= 1.0.4 - 07-06-2020 =
* New - Item addons are available now.
* New - Item listing page Lazy Load is now available.
* Fix - Selected variation was not checked during edit.
* Fix - Subtotal value updated in Cart.
* Fix - Store timing calculation was wrong under certain timezones.
* Update - WooCommerce 4.2 compatibility updates.
* Update - Query optimization to make functionalities faster.
* Update - Cart area UI enhancements.
* Update - Popup area UI enhancements.

= 1.0.3 - 03-06-2020 =
* New - Customizer section added under Settings > Layout & Styling > Stylesheet
* New - Add primary and secondary color schemes to match it with your theme.
* New - Add your own stylesheet to override theme or plugin settings.
* Update - Code Enhancements

= 1.0.2 - 01-06-2020 =
* New - Items Catalog Mode/Restaurant Menu added.
* Update - Code Enhancements

= 1.0.1 - 30-05-2020 =
* New - Custom variation pricing label.
* New - UI for variations pricing display.
* New - Language support added.
* Update - UI for product popup.
* Update - UI improvements.

= 1.0 - 25-05-2020 =
* Initial release.

== Upgrade Notice ==

= 1.4.8 =
New version is available. Thank you for trying out our new features. Reach us anytime to report any bug or getting support.