Skip to content

Setting options

All settings are found under WooCommerce → Settings → Food Online. The option ID is the key used when an option is updated through the WooCommerce REST API, see Update an option.

Either show the Menu on shop page or use shortcode [foodonline] or [foodonline2] on any page.

Setting Option ID Type Default Description
Main shop page fdoe_override_shop select yes Choose what to show at WooCommerce shop page. Options: no None; yes Show menu; delivery Show only delivery feature.
Sticky fdoe_sticky_bar checkbox no Make side bars and category top bar sticky?
Sticky for mobile devices? fdoe_sticky_mobile select no Choose what to make sticky on mobile devices? Options: cats Top Category Menu; selector Delivery Selector; both Top Category Menu & Delivery Selector; no None.
Smooth Scrolling fdoe_smooth_scrolling checkbox no Use smooth scrolling navigating in the Menu?
Show confirmation when added to cart fdoe_show_confirmation checkbox no Show confirmation when an item is added to cart?
Hide the Storefront Theme Headings fdoe_hide_storefront_head checkbox yes Hide the Menu, Search fields and Cart in the page headings? (Only for the Storefront Theme)
Setting Option ID Type Default Description
Checkout fdoe_limited_fields select woo_default Checkout field for “Pick Up” or when the delivery Switch is turned off. Options: phone Phone Only; e-mail Phone and E-mail; name Phone, E-mail and Name; woo_default Default Woocommerce Setup.
– fdoe_limited_fields2 select woo_default Checkout field for “Delivery” choice. Options: limited Limited field; woo_default Default Woocommerce Setup.
– fdoe_eathere_checkout select woo_default Checkout field for “Eat at Restaurant” choice. Options: table_nr Only Table Number; name Only Name; woo_default Default Woocommerce Setup.
Extra? Popup fdoe_extra_popup checkbox no Show a popup on checkout with featured products as supplementary?
Setting Option ID Type Default Description
Hide the Cart fdoe_hide_minicart checkbox no Hide the Cart from Menu page?
Minicart Style fdoe_minicart_style select popover Choose how to style the minicart? Options: popover Popup Style; basic Basic Style; increment + / - Buttons; theme Theme Default.
Minicart Order fdoe_minicart_reverse_order select no Select where added products appear in minicart. Options: no Add to bottom; yes Add to top.
Setting Option ID Type Default Description
Pop-up simple products? fdoe_popup_simple select yes Use pop-up for simple products when add-to-cart. Options: yes Use Popups; no Add to cart instantly; redirect Redirect to product page.
Pop-up variable products? fdoe_popup_variable select yes The “Add to cart instantly” option is applicable when variation products doesn´t have options. Options: yes Use Popups; add Add to cart instantly; no Redirect to product page.
Pop-up grouped products? fdoe_popup_grouped select redirect –Options: popup Use Popups; redirect Redirect to product page.
Pop-up composite products? fdoe_popup_composite select redirect –Options: popup Use Popups; instant Add to cart instantly; redirect Redirect to product page.
Pop-up bundle products? fdoe_popup_bundle select redirect The “Add to cart instantly” option is applicable for bundle products only containing simple products. Options: popup Use Popups; instant Add to cart instantly; redirect Redirect to product page.
Product Popup Source fdoe_product_popup_content select custom Choose how to display content in product popup? Options: theme Theme Template; custom Food Online Original; style-1 Food Online Style 1.
Product Popup Content fdoe_product_popup_content_spec multiselect Select content for the product popup. Options: image Product Image; meta Product Meta; rating Product Rating; desc Product Description.
Setting Option ID Type Default Description
Menu Layout fdoe_layout select fdoe_onecol –Options: fdoe_onecol One Column; fdoe_twocols Two Columns; fdoe_twentytwenty 2020 Template.
Show Menu like Accordian? fdoe_accordian checkbox no Show only one category at time with accoridan behaviour
Show Sub Categories along with Parent Category? fdoe_subcat_with_parent checkbox no Show sub categories together with their parent category and not as a independent category
Top Bar fdoe_top_bar checkbox no Show a bar above the Menu?
Top Bar Information Message fdoe_top_bar_info text – –
Categories Left Menu fdoe_left_menu checkbox no Show categories in left-bar menu?
Categories Top Menu fdoe_cat_top_menu checkbox no Show categories in top-bar menu?
Mobile Categories Top Menu fdoe_cat_top_menu_mobile select yes Show categories in top-bar menu on mobile devices? Options: yes Show standard menu; collapsed Show dropdown menu; no Hide.
Bottom Mobile Bar fdoe_bottom_bar select yes Show a bottom bar for mobile devices? Options: yes Show at whole site; menu Show at Menu pages; woocommerce Show at woocommerce pages; no Hide Bottom bar.
Setting Option ID Type Default Description
Menu Color fdoe_color text #bf5bb6 –
Menu Background Color fdoe_color_back text #fff –
Menu Items Separator fdoe_item_separator select dashed Style of the Menu items separator? Options: dashed Dashed; solid Solid; dotted Dotted; hidden None.
Menu Items Separator Color fdoe_border_color text #ddd –
Menu Titles Icon fdoe_menu_titles_icon select fas fa-ellipsis-h Icon to display with the menu titles? Options: fas fa-ellipsis-h Dots; fas fa-minus Lines; fas fa-seedling Leef; fas fa-genderless Ring; fas fa-star Star; fas fa-pepper-hot Chili Pepper; fas fa-pizza-slice Pizza; fas fa-hamburger Hamburger; fas fa-apple-alt Apple; `` None.
Item Icon fdoe_item_icon select fas fa-plus-circle Item “Add” icon in the Menu? Options: fas fa-plus-circle Standard; fas fa-plus Plus; fas fa-plus-square Square Shape Plus; fas fa-seedling Leef; fas fa-shopping-basket Shopping Basket; fas fa-shopping-cart Shopping Cart; fas fa-cart-plus Shopping Cart with plus; fas fa-utensils Knife & Fork; `` None.
Product Images fdoe_show_images select rec Show images for products in menu? Options: small Small size; rec Normal Size; big Big Size; hide Hide images.
Product Image Type fdoe_image_size select default Choose product image type? Options: default Default Type; woocommerce_thumbnail WooCommerce Thumbnail.
Product Short Description fdoe_menu_shortdesc checkbox yes Show the product short description in Menu?
Category Images fdoe_cat_image checkbox no Show images for categories in menu?
Category Description fdoe_show_cat_desc checkbox no Show description for categories in menu?

A Google Maps API Key is needed to let customers fill in their delivery address. ( Maps JavaScript API, Places API, Geocoding API, Directions API)

Setting Option ID Type Default Description
Enable Delivery Mode fdoe_enable_delivery_switcher select no Show a switch to let customers choose between “Pick Up” and “Delivery” or make “Delivery” the only alternative and hide the switch. Options: no Disable; yes Show Delivery Switch; dropdown Show Dropdown Selector; only_delivery Only Delivery; only_pickup Only Pickup.
Dropdown Selector Choices fdoe_delivery_dropdown_choices multiselect Select choices for the delivery dropdown. Options: pickup Pick Up; delivery Delivery; eathere Eat at Restaurant.
Google Maps API Key fdoe_google_maps_api text – Visit Google to get your API Key »
Default delivery mode? fdoe_default_for_switch select pickup Select the default mode of the selector at page load. Options: pickup Pick Up; delivery Delivery; eathere Eat at Restaurant (only for dropdown).
User selection mandatory? fdoe_3way checkbox no Make the initial state of the delivery selector neutral and thereby force the user to make an active choice.
Delivery Address & Post Code Validation fdoe_skip_address_validation select no Choose if to validate a delivery address or a delivery post code and thereby let users input their delivery address at checkout page. Options: yes No validation; no Address validation; zip Post Code Validation.
Pick Delivery Location from Map fdoe_pick_delivery_location select no –Options: no Disable; at_fail When address geolocation fails.
Allow users to bypass address validation? fdoe_bypass_address checkbox no Allow users to bypass address validation at Menu page and handle the delivery address at checkout
Minimum Order Value fdoe_min_order number 0 Set a minimum order value limit for delivery, default is 0 which means no limit.
Minimum Items per Order fdoe_min_order_items number 0 Set a minimum of items per order for delivery, default is 0 which means no limit.
Show colors as validation feedback? fdoe_delivery_colormode checkbox no Color code delivery messages and forms depending on positive or negative validation result.
Delivery message format fdoe_message_format select print Choose how to show standard delivery messages. Options: popup Popup; print Print out.
Add shipping cost suffix to the delivery notice? fdoe_del_message_price_suffix checkbox yes Add shipping cost suffix to the delivery notice that shows after address validation.
Show only the best shipping method? fdoe_only_one_method_at_checkout checkbox no At checkout, show only a single shipping method with lowest rate.
Show delivery mode in admin orders table? fdoe_admin_order_mode checkbox no Add a column to the admin orders table to show the selected order type?
Setting Option ID Type Default Description
Force Enqueue Google Maps JS fdoe_force_enqueue_google checkbox no Do not check for other enqueued google scripts
Lazy load Menu images fdoe_lazy_load_menu checkbox no Wait loading Menu images until they appear on screen
Javascript Loading Overlay fdoe_loading_overlay checkbox no Show a overlay while loading content with javascript
Deactivate Google Maps JS fdoe_stop_enqueue_google checkbox no Might be helpful if Google Maps is already activated from another plugin or Theme
Do not restrict Google Autocomplete to IP-located country fdoe_restrict_country checkbox no Allow Google Autocomplete to suggest addresses from whole world
Geolocate user for improved Autocomplete suggestions fdoe_browser_geolocation checkbox yes Let browser geolocate the user for improved address suggestions.
Multiple shortcode instances? fdoe_force_shortcode checkbox no Allow multiple shortcode instances? (not recommended)
Show error messages at checkout? fdoe_show_error_messages checkbox no Show WooCommerce error messages at checkout?
Delete settings? fdoe_clean_settings checkbox no Delete all settings on plugin removal?
Fallback Product Popup Loading? fdoe_fallback_modal checkbox no Load entire product popup content at page load?
Product Sorting by Title? fdoe_product_sorting_title checkbox no Override WooCommerce and sort products by title on shop page?

Calculate an approximate time for an order to be ready.

Setting Option ID Type Default Description
Fixed time per order fdoe_pickup_fixed text 0 Set a fixed time in minutes for preparing an order.
Extra time per processing order fdoe_pickup_var text 0 Set extra time in minutes per order already processing.
Setting Option ID Type Default Description
Time until ready for pickup? fdoe_ready_for_pickup_show select none Set the time until a pickup order is ready. Options: none None; fixedtime By a fixed time; variable By fixed time & orders in progress.
Setting Option ID Type Default Description
Time until ready for Eat at Restaurant? fdoe_ready_for_eathere_show select none Set the time until a “Eat at Restaurant” order is ready. Options: none None; fixedtime By a fixed time; variable By fixed time & orders in progress.
Setting Option ID Type Default Description
Set vehicle shipping_vehicle select driving Select a vehicle type that will be used to calculate shipping time. It will also be used to decide the delivery icon. Options: DRIVING By car or truck; BICYCLING By bicycle.
Time until delivery? fdoe_ready_for_delivery_show select none Set the time until a delivery order can be delivered. Options: none None; fixedtime By a fixed time; variable By fixed time & orders in progress; fixed_ship By fixed time & shipping time; variable_ship By fixed time & orders in progress & shipping time.
Set shipping time fdoe_shipping_time select none Set the time until a delivery order can be delivered. *Disclaimer - a calculated shipping time may not be applicable when using post code validation. Options: none None; fixedtime Fixed shipping time; calculate Calculate shipping time.
Fixed shipping time fdoe_shipping_fixed text 0 Set a fixed time in minutes for shipping an order.
Setting Option ID Type Default Description
Show order times at Menu page fdoe_order_times_menu checkbox yes –
Add to customer processing e-mail? fdoe_add_to_processing checkbox no Add the order time to customer e-mails for processing order.
Add to customer completed e-mail? fdoe_add_to_completed checkbox no Add the order time to customer e-mails for completed order.
Add to new order e-mail? fdoe_add_to_neworder checkbox yes Add the order time to store admin e-mail (New Order).
Add to “Thank You” page? fdoe_add_to_thank_you checkbox no Add the order time to the “Thank You” page showing when an order is received.

A delivery mode needs to be enabled when using the time picker.

Setting Option ID Type Default Description
Selectable days fdoe_timepick_days_qty number 2 Set the number of days to pick time from
Enable maximum orders per time slot fdoe_max_slot_enable checkbox no –
Set maximum orders per time slot fdoe_max_slot number 999 Set the maximum numbers of orders per time slot
Preselect closest timeslot fdoe_preselect_time checkbox no Preselect the closest available time slot (Only when date is today)

Let the customer choose a time for when to pick up their order.

Setting Option ID Type Default Description
Enable fdoe_pickuptimes_enable checkbox no –
Postpone fdoe_pickup_postpone checkbox no Postpone times avalible for selection using the configuration in the “Order Time Managment” Tab.
Step fdoe_pickuptime_step number 15 Set the time step in minutes from which customers can choose from
Monday fdoe_pickup_1_from time no –
Tuesday fdoe_pickup_2_from time no –
Wednesday fdoe_pickup_3_from time no –
Thursday fdoe_pickup_4_from time no –
Friday fdoe_pickup_5_from time no –
Saturday fdoe_pickup_6_from time no –
Sunday fdoe_pickup_0_from time no –
Time slots – time – 21 time fields (from/to, hh:mm) for each weekday and slot.

Let the customer choose a time for when to expect their order to be delivered

Setting Option ID Type Default Description
Enable fdoe_deliverytime_enable checkbox no –
Postpone fdoe_delivery_postpone checkbox no Postpone times avalible for selection using the configuration in the “Order Time Managment” Tab.
Step fdoe_deliverytime_step number 15 Set the time step in minutes from which customers can choose from
Monday fdoe_del_1_from time no –
Tuesday fdoe_del_2_from time no –
Wednesday fdoe_del_3_from time no –
Thursday fdoe_del_4_from time no –
Friday fdoe_del_5_from time no –
Saturday fdoe_del_6_from time no –
Sunday fdoe_del_0_from time no –
Time slots – time – 21 time fields (from/to, hh:mm) for each weekday and slot.