array(
'name' => __('Main Settings', 'fdoep'),
'type' => 'title',
'id' => 'fdoe_visibility',
'desc' => __('Either show the Menu on shop page or use shortcode [foodonline] or [foodonline2] on any page.', 'fdoep'),
),
array(
'name' => __('Main shop page', 'fdoep'),
'id' => 'fdoe_override_shop',
'type' => 'select',
'desc' => __('Choose what to show at WooCommerce shop page', 'fdoep'),
'default' => 'yes',
'options' => array(
'no' => __('None', 'fdoep'),
'yes' => __('Show menu', 'fdoep'),
'delivery' => __('Show only delivery feature', 'fdoep'),
),
),
array(
'name' => __('Sticky', 'fdoep'),
'id' => 'fdoe_sticky_bar',
'type' => 'checkbox',
'default' => 'no',
'desc' => __('Make side bars and category top bar sticky?', 'fdoep')
),
array(
'name' => __('Sticky for mobile devices?', 'fdoep'),
'id' => 'fdoe_sticky_mobile',
'type' => 'select',
'default' => 'no',
'desc' => __('Choose what to make sticky on mobile devices?', 'fdoep'),
'options' => array(
'cats' => __('Top Category Menu', 'fdoep'),
'selector' => __('Delivery Selector', 'fdoep'),
'both' => __('Top Category Menu & Delivery Selector', 'fdoep'),
'no' => __('None', 'fdoep'),
),
),
array(
'name' => __('Smooth Scrolling', 'fdoep'),
'id' => 'fdoe_smooth_scrolling',
'type' => 'checkbox',
'default' => 'no',
'desc' => __('Use smooth scrolling navigating in the Menu?', 'fdoep')
),
array(
'name' => __('Show confirmation when added to cart', 'fdoep'),
'id' => 'fdoe_show_confirmation',
'type' => 'checkbox',
'default' => 'no',
'desc' => __('Show confirmation when an item is added to cart?', 'fdoep')
),
array(
'name' => __('Hide the Storefront Theme Headings', 'fdoep'),
'id' => 'fdoe_hide_storefront_head',
'type' => 'checkbox',
'default' => 'yes', ,
'desc' => __('Hide the Menu, Search fields and Cart in the page headings? (Only for the Storefront Theme)', 'fdoep')
),
array(
'type' => 'sectionend',
'id' => 'fdoe_visibility'
),
array(
'name' => __('Checkout Settings', 'fdoep'),
'type' => 'title',
'id' => 'fdoe_visibility',
),
array(
'name' => __('Checkout', 'fdoep'),
'id' => 'fdoe_limited_fields',
'type' => 'select',
'options' => array(
'phone' => __('Phone Only', 'fdoep'),
'e-mail' => __('Phone and E-mail', 'fdoep'),
'name' => __('Phone, E-mail and Name', 'fdoep'),
'woo_default' => __('Default Woocommerce Setup', 'fdoep')
),
'desc' => __('Checkout field for "Pick Up" or when the delivery Switch is turned off.', 'fdoep'),
'default' => 'woo_default'
),
array(
'id' => 'fdoe_limited_fields2',
'type' => 'select',
'options' => array(
'limited' => __('Limited field', 'fdoep'),
'woo_default' => __('Default Woocommerce Setup', 'fdoep')
),
'desc' => __('Checkout field for "Delivery" choice ', 'fdoep'),
'default' => 'woo_default'
),
array(
'id' => 'fdoe_eathere_checkout',
'type' => 'select',
'options' => array(
'table_nr' => __('Only Table Number', 'fdoep'),
'name' => __('Only Name', 'fdoep'),
'woo_default' => __('Default Woocommerce Setup', 'fdoep')
),
'desc' => __('Checkout field for "Eat at Restaurant" choice ', 'fdoep'),
'default' => 'woo_default'
),
array(
'name' => __('Extra? Popup', 'fdoep'),
'id' => 'fdoe_extra_popup',
'type' => 'checkbox',
'desc' => __('Show a popup on checkout with featured products as supplementary?', 'fdoep'),
'default' => 'no'
),
array(
'type' => 'sectionend',
'id' => 'fdoe_checkout'
),
array(
'name' => __('Minicart Settings', 'fdoep'),
'type' => 'title',
'id' => 'fdoe_minicart_style'
),
array(
'name' => __('Hide the Cart', 'fdoep'),
'id' => 'fdoe_hide_minicart',
'type' => 'checkbox',
'desc' => __('Hide the Cart from Menu page?', 'fdoep'),
'default' => 'no'
),
array(
'name' => __('Minicart Style', 'fdoep'),
'id' => 'fdoe_minicart_style',
'default' => 'popover',
'type' => 'select',
'options' => array(
'popover' => __('Popup Style', 'fdoep'),
'basic' => __('Basic Style', 'fdoep'),
'increment' => __('+ / - Buttons', 'fdoep'),
'theme' => __('Theme Default', 'fdoep'),
),
'desc' => __('Choose how to style the minicart?', 'fdoep')
),
array(
'name' => __('Minicart Order', 'fdoep'),
'id' => 'fdoe_minicart_reverse_order',
'default' => 'no',
'type' => 'select',
'options' => array(
'no' => __('Add to bottom', 'fdoep'),
'yes' => __('Add to top', 'fdoep'),
),
'desc' => __('Select where added products appear in minicart', 'fdoep')
),
array(
'type' => 'sectionend',
'id' => 'fdoe_minicart_style'
),
array(
'name' => __('Product Popup Options', 'fdoep'),
'type' => 'title',
'id' => 'fdoe_popup_options'
),
array(
'name' => __('Pop-up simple products?', 'fdoep'),
'id' => 'fdoe_popup_simple',
'type' => 'select',
'desc' => __('Use pop-up for simple products when add-to-cart.', 'fdoep'),
'default' => 'yes',
'options' => array(
'yes' => __('Use Popups', 'fdoep'),
'no' => __('Add to cart instantly', 'fdoep'),
'redirect' => __('Redirect to product page', 'fdoep'),
),
),
array(
'name' => __('Pop-up variable products?', 'fdoep'),
'id' => 'fdoe_popup_variable',
'type' => 'select',
'desc' => __('The "Add to cart instantly" option is applicable when variation products doesn´t have options', 'fdoep'),
'default' => 'yes',
'options' => array(
'yes' => __('Use Popups', 'fdoep'),
'add' => __('Add to cart instantly', 'fdoep'),
'no' => __('Redirect to product page', 'fdoep'),
),
),
array(
'name' => __('Pop-up grouped products?', 'fdoep'),
'id' => 'fdoe_popup_grouped',
'type' => 'select',
'default' => 'redirect',
'options' => array(
'popup' => __('Use Popups', 'fdoep'),
'redirect' => __('Redirect to product page', 'fdoep'),
),
),
array(
'name' => __('Pop-up composite products?', 'fdoep'),
'id' => 'fdoe_popup_composite',
'type' => 'select',
'default' => 'redirect',
'options' => array(
'popup' => __('Use Popups', 'fdoep'),
'instant' => __('Add to cart instantly', 'fdoep'),
'redirect' => __('Redirect to product page', 'fdoep'),
),
),
array(
'name' => __('Pop-up bundle products?', 'fdoep'),
'id' => 'fdoe_popup_bundle',
'type' => 'select',
'desc' => __('The "Add to cart instantly" option is applicable for bundle products only containing simple products', 'fdoep'),
'default' => 'redirect',
'options' => array(
'popup' => __('Use Popups', 'fdoep'),
'instant' => __('Add to cart instantly', 'fdoep'),
'redirect' => __('Redirect to product page', 'fdoep'),
),
),
array(
'name' => __('Product Popup Source', 'fdoep'),
'id' => 'fdoe_product_popup_content',
'default' => 'custom',
'type' => 'select',
'options' => array(
'theme' => __('Theme Template', 'fdoep'),
'custom' => __('Food Online Original', 'fdoep'),
'style-1' => __('Food Online Style 1', 'fdoep'),
),
'desc' => __('Choose how to display content in product popup?', 'fdoep')
),
array(
'name' => __('Product Popup Content', 'fdoep'),
'id' => 'fdoe_product_popup_content_spec',
'default' => array(),
'type' => 'multiselect',
'class' => 'wc-enhanced-select',
'options' => array(
'image' => __('Product Image', 'fdoep'),
'meta' => __('Product Meta', 'fdoep'),
'rating' => __('Product Rating', 'fdoep'),
'desc' => __('Product Description', 'fdoep'),
),
'desc' => __('Select content for the product popup.', 'fdoep')
),
array(
'type' => 'sectionend',
'id' => 'fdoe_popup_options'
),
array(
'name' => __('Menu Layout', 'fdoep'),
'type' => 'title',
'id' => 'fdoe_menu_layout'
),
array(
'name' => __('Menu Layout', 'fdoep'),
'id' => 'fdoe_layout',
'default' => 'fdoe_onecol',
'type' => 'select',
'options' => array(
'fdoe_onecol' => __('One Column', 'fdoep'),
'fdoe_twocols' => __('Two Columns', 'fdoep'),
'fdoe_twentytwenty' => __('2020 Template', 'fdoep')
)
),
array(
'name' => __('Show Menu like Accordian?', 'fdoep'),
'id' => 'fdoe_accordian',
'type' => 'checkbox',
'desc' => __('Show only one category at time with accoridan behaviour', 'fdoep'),
'default' => 'no'
),
array(
'name' => __('Show Sub Categories along with Parent Category?', 'fdoep'),
'id' => 'fdoe_subcat_with_parent',
'type' => 'checkbox',
'desc' => __('Show sub categories together with their parent category and not as a independent category', 'fdoep'),
'default' => 'no'
),
array(
'name' => __('Top Bar', 'fdoep'),
'id' => 'fdoe_top_bar',
'type' => 'checkbox',
'desc' => __('Show a bar above the Menu?', 'fdoep'),
'default' => 'no'
),
array(
'name' => __('Top Bar Information Message', 'fdoep'),
'id' => 'fdoe_top_bar_info',
'type' => 'text',
),
array(
'name' => __('Categories Left Menu', 'fdoep'),
'id' => 'fdoe_left_menu',
'type' => 'checkbox',
'default' => 'no',
'desc' => __('Show categories in left-bar menu?', 'fdoep')
),
array(
'name' => __('Categories Top Menu', 'fdoep'),
'id' => 'fdoe_cat_top_menu',
'type' => 'checkbox',
'default' => 'no',
'desc' => __('Show categories in top-bar menu?', 'fdoep')
),
array(
'name' => __('Mobile Categories Top Menu', 'fdoep'),
'id' => 'fdoe_cat_top_menu_mobile',
'type' => 'select',
'default' => 'yes',
'desc' => __('Show categories in top-bar menu on mobile devices?', 'fdoep'),
'options' => array(
'yes' => __('Show standard menu', 'fdoep'),
'collapsed' => __('Show dropdown menu', 'fdoep'),
'no' => __('Hide', 'fdoep'),
)
),
array(
'name' => __('Bottom Mobile Bar', 'fdoep'),
'id' => 'fdoe_bottom_bar',
'desc' => __('Show a bottom bar for mobile devices?', 'fdoep'),
'default' => 'yes',
'type' => 'select',
'options' => array(
'yes' => __('Show at whole site', 'fdoep'),
'menu' => __('Show at Menu pages', 'fdoep'),
'woocommerce' => __('Show at woocommerce pages', 'fdoep'),
'no' => __('Hide Bottom bar', 'fdoep'),
)
),
array(
'type' => 'sectionend',
'id' => 'fdoe_menu_layout'
),
array(
'name' => __('Menu Style', 'fdoep'),
'type' => 'title',
'id' => 'fdoe_menu_style'
),
array(
'name' => __('Menu Color', 'fdoep'),
'id' => 'fdoe_color',
'type' => 'text',
'class' => 'fdoe-color-picker',
'default' => '#bf5bb6'
),
array(
'name' => __('Menu Background Color', 'fdoep'),
'id' => 'fdoe_color_back',
'type' => 'text',
'class' => 'fdoe-color-picker',
'default' => '#fff'
),
array(
'name' => __('Menu Items Separator', 'fdoep'),
'id' => 'fdoe_item_separator',
'default' => 'dashed',
'type' => 'select',
'options' => array(
'dashed' => __('Dashed', 'fdoep'),
'solid' => __('Solid', 'fdoep'),
'dotted' => __('Dotted', 'fdoep'),
'hidden' => __('None', 'fdoep')
),
'desc' => __('Style of the Menu items separator?', 'fdoep')
),
array(
'name' => __('Menu Items Separator Color', 'fdoep'),
'id' => 'fdoe_border_color',
'type' => 'text',
'class' => 'fdoe-color-picker',
'default' => '#ddd'
),
array(
'name' => __('Menu Titles Icon', 'fdoep'),
'id' => 'fdoe_menu_titles_icon',
'default' => 'fas fa-ellipsis-h',
'class' => 'fdoe-icon-picker',
'type' => 'select',
'options' => array(
'fas fa-ellipsis-h' => __('Dots', 'fdoep'),
'fas fa-minus' => __('Lines', 'fdoep'),
'fas fa-seedling' => __('Leef', 'fdoep'),
'fas fa-genderless' => __('Ring', 'fdoep'),
'fas fa-star' => __('Star', 'fdoep'),
'fas fa-pepper-hot' => __('Chili Pepper', 'fdoep'),
'fas fa-pizza-slice' => __('Pizza', 'fdoep'),
'fas fa-hamburger' => __('Hamburger', 'fdoep'),
'fas fa-apple-alt' => __('Apple', 'fdoep'),
'' => __('None', 'fdoep')
),
'desc' => __('Icon to display with the menu titles?', 'fdoep')
),
array(
'name' => __('Item Icon', 'fdoep'),
'id' => 'fdoe_item_icon',
'default' => 'fas fa-plus-circle',
'class' => 'fdoe-icon-picker',
'type' => 'select',
'options' => array(
'fas fa-plus-circle' => __('Standard', 'fdoep'),
'fas fa-plus' => __('Plus', 'fdoep'),
'fas fa-plus-square' => __('Square Shape Plus', 'fdoep'),
'fas fa-seedling' => __('Leef', 'fdoep'),
'fas fa-shopping-basket' => __('Shopping Basket', 'fdoep'),
'fas fa-shopping-cart' => __('Shopping Cart', 'fdoep'),
'fas fa-cart-plus' => __('Shopping Cart with plus', 'fdoep'),
'fas fa-utensils' => __('Knife & Fork', 'fdoep'),
'' => __('None', 'fdoep')
),
'desc' => __('Item "Add" icon in the Menu?', 'fdoep')
),
array(
'name' => __('Product Images', 'fdoep'),
'id' => 'fdoe_show_images',
'default' => 'rec',
'type' => 'select',
'options' => array(
'small' => __('Small size', 'fdoep'),
'rec' => __('Normal Size', 'fdoep'),
'big' => __('Big Size', 'fdoep'),
'hide' => __('Hide images', 'fdoep')
),
'desc' => __('Show images for products in menu?', 'fdoep')
),
array(
'name' => __('Product Image Type', 'fdoep'),
'id' => 'fdoe_image_size',
'default' => 'default',
'type' => 'select',
'options' => array(
'default' => __('Default Type', 'fdoep'),
'woocommerce_thumbnail' => __('WooCommerce Thumbnail', 'fdoep'),
),
'desc' => __('Choose product image type?', 'fdoep')
),
array(
'name' => __('Product Short Description', 'fdoep'),
'id' => 'fdoe_menu_shortdesc',
'type' => 'checkbox',
'default' => 'yes',
'desc' => __('Show the product short description in Menu?', 'fdoep')
),
array(
'name' => __('Category Images', 'fdoep'),
'id' => 'fdoe_cat_image',
'type' => 'checkbox',
'default' => 'no',
'desc' => __('Show images for categories in menu?', 'fdoep')
),
array(
'name' => __('Category Description', 'fdoep'),
'id' => 'fdoe_show_cat_desc',
'type' => 'checkbox',
'default' => 'no',
'desc' => __('Show description for categories in menu?', 'fdoep')
),
array(
'type' => 'sectionend',
'id' => 'fdoe_menu_style'
),
array(
'name' => __('Delivery Features Settings', 'fdoep'),
'type' => 'title',
'desc' => __('A Google Maps API Key is needed to let customers fill in their delivery address. ( Maps JavaScript API, Places API, Geocoding API, Directions API)', 'fdoep'),
'id' => 'fdoe_delivery_swithcher'
),
array(
'name' => __('Enable Delivery Mode', 'fdoep'),
'id' => 'fdoe_enable_delivery_switcher',
'default' => 'no',
'type' => 'select',
'options' => array(
'no' => __('Disable', 'fdoep'),
'yes' => __('Show Delivery Switch', 'fdoep'),
'dropdown' => __('Show Dropdown Selector', 'fdoep'),
'only_delivery' => __('Only Delivery', 'fdoep'),
'only_pickup' => __('Only Pickup', 'fdoep'),
),
'desc' => __('Show a switch to let customers choose between "Pick Up" and "Delivery" or make "Delivery" the only alternative and hide the switch.', 'fdoep')
),
array(
'name' => __('Dropdown Selector Choices', 'fdoep'),
'id' => 'fdoe_delivery_dropdown_choices',
'default' => array(),
'type' => 'multiselect',
'class' => 'wc-enhanced-select',
'options' => array(
'pickup' => __('Pick Up', 'fdoep'),
'delivery' => __('Delivery', 'fdoep'),
'eathere' => __('Eat at Restaurant', 'fdoep'),
),
'desc' => __('Select choices for the delivery dropdown.', 'fdoep')
),
array(
'name' => __('Google Maps API Key', 'fdoep'),
'id' => 'fdoe_google_maps_api',
'type' => 'text',
'desc' => __(' <p><a href="https://cloud.google.com/maps-platform/#get-started" target="_blank">Visit Google to get your API Key »</a></p>', 'fdoep')
),
array(
'name' => __('Default delivery mode?', 'fdoep'),
'id' => 'fdoe_default_for_switch',
'default' => 'pickup',
'type' => 'select',
'options' => array(
'pickup' => __('Pick Up', 'fdoep'),
'delivery' => __('Delivery', 'fdoep'),
'eathere' => __('Eat at Restaurant (only for dropdown)', 'fdoep'),
),
'desc' => __('Select the default mode of the selector at page load.', 'fdoep')
),
array(
'name' => __('User selection mandatory?', 'fdoep'),
'id' => 'fdoe_3way',
'default' => 'no',
'type' => 'checkbox',
'desc' => __('Make the initial state of the delivery selector neutral and thereby force the user to make an active choice.', 'fdoep')
),
array(
'name' => __('Delivery Address & Post Code Validation', 'fdoep'),
'id' => 'fdoe_skip_address_validation',
'default' => 'no',
'type' => 'select',
'options' => array(
'yes' => __('No validation', 'fdoep'),
'no' => __('Address validation', 'fdoep'),
'zip' => __('Post Code Validation', 'fdoep'),
),
'desc' => __('Choose if to validate a delivery address or a delivery post code and thereby let users input their delivery address at checkout page.', 'fdoep')
),
array(
'name' => __('Pick Delivery Location from Map', 'fdoep'),
'id' => 'fdoe_pick_delivery_location',
'default' => 'no',
'type' => 'select',
'options' => array(
'no' => __('Disable', 'fdoep'),
'at_fail' => __('When address geolocation fails', 'fdoep'),
),
),
array(
'name' => __('Allow users to bypass address validation?', 'fdoep'),
'id' => 'fdoe_bypass_address',
'default' => 'no',
'type' => 'checkbox',
'desc' => __('Allow users to bypass address validation at Menu page and handle the delivery address at checkout', 'fdoep')
),
array(
'name' => __('Minimum Order Value', 'fdoep'),
'id' => 'fdoe_min_order',
'default' => 0,
'type' => 'number',
'desc' => __('Set a minimum order value limit for delivery, default is 0 which means no limit.', 'fdoep')
),
array(
'name' => __('Minimum Items per Order', 'fdoep'),
'id' => 'fdoe_min_order_items',
'default' => 0,
'type' => 'number',
'desc' => __('Set a minimum of items per order for delivery, default is 0 which means no limit.', 'fdoep')
),
array(
'name' => __('Show colors as validation feedback?', 'fdoep'),
'id' => 'fdoe_delivery_colormode',
'default' => 'no',
'type' => 'checkbox',
'desc' => __('Color code delivery messages and forms depending on positive or negative validation result.', 'fdoep')
),
array(
'name' => __('Delivery message format', 'fdoep'),
'id' => 'fdoe_message_format',
'default' => 'print',
'type' => 'select',
'options' => array(
'popup' => __('Popup', 'fdoep'),
'print' => __('Print out', 'fdoep'),
),
'desc' => __('Choose how to show standard delivery messages.', 'fdoep')
),
array(
'name' => __('Add shipping cost suffix to the delivery notice?', 'fdoep'),
'id' => 'fdoe_del_message_price_suffix',
'default' => 'yes',
'type' => 'checkbox',
'desc' => __('Add shipping cost suffix to the delivery notice that shows after address validation.', 'fdoep')
),
array(
'name' => __('Show only the best shipping method?', 'fdoep'),
'id' => 'fdoe_only_one_method_at_checkout',
'default' => 'no',
'type' => 'checkbox',
'desc' => __('At checkout, show only a single shipping method with lowest rate.', 'fdoep')
),
array(
'name' => __('Show delivery mode in admin orders table?', 'fdoep'),
'id' => 'fdoe_admin_order_mode',
'default' => 'no',
'type' => 'checkbox',
'desc' => __('Add a column to the admin orders table to show the selected order type?', 'fdoep')
),
array(
'type' => 'sectionend',
'id' => 'fdoe_delivery_swithcher'
),
array(
'name' => __('Advanced Settings', 'fdoep'),
'type' => 'title',
'id' => 'fdoe_advanced'
),
array(
'name' => __('Force Enqueue Google Maps JS', 'fdoep'),
'id' => 'fdoe_force_enqueue_google',
'default' => 'no',
'type' => 'checkbox',
'desc' => __('Do not check for other enqueued google scripts', 'fdoep'),
),
array(
'name' => __('Lazy load Menu images', 'fdoep'),
'id' => 'fdoe_lazy_load_menu',
'default' => 'no',
'type' => 'checkbox',
'desc' => __('Wait loading Menu images until they appear on screen', 'fdoep'),
),
array(
'name' => __('Javascript Loading Overlay', 'fdoep'),
'id' => 'fdoe_loading_overlay',
'default' => 'no',
'type' => 'checkbox',
'desc' => __('Show a overlay while loading content with javascript', 'fdoep'),
),
array(
'name' => __('Deactivate Google Maps JS', 'fdoep'),
'id' => 'fdoe_stop_enqueue_google',
'default' => 'no',
'type' => 'checkbox',
'desc' => __('Might be helpful if Google Maps is already activated from another plugin or Theme', 'fdoep'),
),
array(
'name' => __('Do not restrict Google Autocomplete to IP-located country', 'fdoep'),
'id' => 'fdoe_restrict_country',
'default' => 'no',
'type' => 'checkbox',
'desc' => __('Allow Google Autocomplete to suggest addresses from whole world', 'fdoep'),
),
array(
'name' => __('Geolocate user for improved Autocomplete suggestions', 'fdoep'),
'id' => 'fdoe_browser_geolocation',
'default' => 'yes',
'type' => 'checkbox',
'desc' => __('Let browser geolocate the user for improved address suggestions.', 'fdoep'),
),
array(
'name' => __('Multiple shortcode instances?', 'fdoep'),
'id' => 'fdoe_force_shortcode',
'type' => 'checkbox',
'desc' => __('Allow multiple shortcode instances? (not recommended)', 'fdoep'),
'default' => 'no'
),
array(
'name' => __('Show error messages at checkout?', 'fdoep'),
'id' => 'fdoe_show_error_messages',
'type' => 'checkbox',
'desc' => __('Show WooCommerce error messages at checkout?', 'fdoep'),
'default' => 'no'
),
array(
'name' => __('Delete settings?', 'fdoep'),
'id' => 'fdoe_clean_settings',
'type' => 'checkbox',
'desc' => __('Delete all settings on plugin removal?', 'fdoep'),
'default' => 'no'
),
array(
'name' => __('Fallback Product Popup Loading?', 'fdoep'),
'id' => 'fdoe_fallback_modal',
'type' => 'checkbox',
'desc' => __('Load entire product popup content at page load?', 'fdoep'),
'default' => 'no'
),
array(
'name' => __('Product Sorting by Title?', 'fdoep'),
'id' => 'fdoe_product_sorting_title',
'type' => 'checkbox',
'desc' => __('Override WooCommerce and sort products by title on shop page?', 'fdoep'),
'default' => 'no'
),
array(
'type' => 'sectionend',
'id' => 'fdoe_advanced'
)
array(
'name' => __('Time to finished order', 'fdoep'),
'type' => 'title',
'id' => 'fdoe_time_to_delivery',
'desc' => __('Calculate an approximate time for an order to be ready.', 'fdoep'),
),
array(
'name' => __('Fixed time per order', 'fdoep'),
'id' => 'fdoe_pickup_fixed',
'default' => '0',
'type' => 'text',
'desc' => __('Set a fixed time in minutes for preparing an order.', 'fdoep')
),
array(
'name' => __('Extra time per processing order', 'fdoep'),
'id' => 'fdoe_pickup_var',
'default' => '0',
'type' => 'text',
'desc' => __('Set extra time in minutes per order already processing.', 'fdoep')
),
array(
'type' => 'sectionend',
'id' => 'fdoe_time_to_delivery',
),
array(
'name' => __('Pickup Orders', 'fdoep'),
'type' => 'title',
'id' => 'fdoe_time_to_delivery_pickup',
),
array(
'name' => __('Time until ready for pickup?', 'fdoep'),
'id' => 'fdoe_ready_for_pickup_show',
'type' => 'select',
'options' => array(
'none' => __('None', 'fdoep'),
'fixedtime' => __('By a fixed time', 'fdoep'),
'variable' => __('By fixed time & orders in progress', 'fdoep')
),
'desc' => __('Set the time until a pickup order is ready.', 'fdoep'),
'default' => 'none'
),
array(
'type' => 'sectionend',
'id' => 'fdoe_time_to_delivery_pickup',
),
array(
'name' => __('Eat at Restaurant Orders', 'fdoep'),
'type' => 'title',
'id' => 'fdoe_time_to_delivery_eathere',
),
array(
'name' => __('Time until ready for Eat at Restaurant?', 'fdoep'),
'id' => 'fdoe_ready_for_eathere_show',
'type' => 'select',
'options' => array(
'none' => __('None', 'fdoep'),
'fixedtime' => __('By a fixed time', 'fdoep'),
'variable' => __('By fixed time & orders in progress', 'fdoep')
),
'desc' => __('Set the time until a "Eat at Restaurant" order is ready.', 'fdoep'),
'default' => 'none'
),
array(
'type' => 'sectionend',
'id' => 'fdoe_time_to_delivery_eathere',
),
array(
'name' => __('Delivery Orders', 'fdoep'),
'type' => 'title',
'id' => 'fdoe_time_to_delivery_del',
),
array(
'name' => __('Set vehicle', 'fdoep'),
'id' => 'shipping_vehicle',
'type' => 'select',
'options' => array(
'DRIVING' => __('By car or truck', 'fdoep'),
'BICYCLING' => __('By bicycle', 'fdoep'),
),
'desc' => __('Select a vehicle type that will be used to calculate shipping time. It will also be used to decide the delivery icon.', 'fdoep'),
'default' => 'driving'
),
array(
'name' => __('Time until delivery?', 'fdoep'),
'id' => 'fdoe_ready_for_delivery_show',
'type' => 'select',
'options' => array(
'none' => __('None', 'fdoep'),
'fixedtime' => __('By a fixed time', 'fdoep'),
'variable' => __('By fixed time & orders in progress', 'fdoep'),
'fixed_ship' => __('By fixed time & shipping time', 'fdoep'),
'variable_ship' => __('By fixed time & orders in progress & shipping time', 'fdoep')
),
'desc' => __('Set the time until a delivery order can be delivered.', 'fdoep'),
'default' => 'none'
),
array(
'name' => __('Set shipping time', 'fdoep'),
'id' => 'fdoe_shipping_time',
'type' => 'select',
'options' => array(
'none' => __('None', 'fdoep'),
'fixedtime' => __('Fixed shipping time', 'fdoep'),
'calculate' => __('Calculate shipping time', 'fdoep'),
),
'desc' => __('Set the time until a delivery order can be delivered. *Disclaimer - a calculated shipping time may not be applicable when using post code validation.', 'fdoep'),
'default' => 'none'
),
array(
'name' => __('Fixed shipping time', 'fdoep'),
'id' => 'fdoe_shipping_fixed',
'default' => '0',
'type' => 'text',
'desc' => __('Set a fixed time in minutes for shipping an order.', 'fdoep')
),
array(
'type' => 'sectionend',
'id' => 'fdoe_time_to_delivery_del',
),
array(
'name' => __('Implementation', 'fdoep'),
'type' => 'title',
'id' => 'fdoe_order_time_imple',
),
array(
'name' => __('Show order times at Menu page', 'fdoep'),
'id' => 'fdoe_order_times_menu',
'type' => 'checkbox',
'default' => 'yes'
),
array(
'name' => __('Add to customer processing e-mail?', 'fdoep'),
'id' => 'fdoe_add_to_processing',
'type' => 'checkbox',
'desc' => __('Add the order time to customer e-mails for processing order.', 'fdoep'),
'default' => 'no'
),
array(
'name' => __('Add to customer completed e-mail?', 'fdoep'),
'id' => 'fdoe_add_to_completed',
'type' => 'checkbox',
'desc' => __('Add the order time to customer e-mails for completed order.', 'fdoep'),
'default' => 'no'
),
array(
'name' => __('Add to new order e-mail?', 'fdoep'),
'id' => 'fdoe_add_to_neworder',
'type' => 'checkbox',
'desc' => __('Add the order time to store admin e-mail (New Order).', 'fdoep'),
'default' => 'yes'
),
array(
'name' => __('Add to "Thank You" page?', 'fdoep'),
'id' => 'fdoe_add_to_thank_you',
'type' => 'checkbox',
'desc' => __('Add the order time to the "Thank You" page showing when an order is received.', 'fdoep'),
'default' => 'no'
),
array(
'type' => 'sectionend',
'id' => 'fdoe_order_time_imple',
),
array(
'name' => __('Time Picker Settings', 'fdoep'),
'type' => 'title',
'id' => 'fdoe_timepicker_settings',
'desc' => __('A delivery mode needs to be enabled when using the time picker.', 'fdoep'),
),
array(
'name' => __('Selectable days', 'fdoep'),
'id' => 'fdoe_timepick_days_qty',
'default' => 2,
'type' => 'number',
'desc' => __('Set the number of days to pick time from', 'fdoep'),
'custom_attributes' => array('min' => 1, 'step' => 1, 'required' => 'required'),
),
array(
'name' => __('Enable maximum orders per time slot', 'fdoep'),
'id' => 'fdoe_max_slot_enable',
'default' => 'no',
'type' => 'checkbox',
),
array(
'name' => __('Set maximum orders per time slot', 'fdoep'),
'id' => 'fdoe_max_slot',
'default' => 999,
'type' => 'number',
'desc' => __('Set the maximum numbers of orders per time slot', 'fdoep'),
'custom_attributes' => array('min' => 1),
),
array(
'name' => __('Preselect closest timeslot', 'fdoep'),
'id' => 'fdoe_preselect_time',
'type' => 'checkbox',
'desc' => __('Preselect the closest available time slot (Only when date is today)', 'fdoep'),
'default' => 'no'
),
array(
'type' => 'sectionend',
'id' => 'fdoe_timepicker_settings',
),
array(
'name' => __('Time Picker for Pick Up Orders', 'fdoep'),
'type' => 'title',
'id' => 'fdoe_pickuptimes',
'desc' => __('Let the customer choose a time for when to pick up their order.', 'fdoep'),
'class' => 'fdoe_'
),
array(
'name' => __('Enable', 'fdoep'),
'id' => 'fdoe_pickuptimes_enable',
'default' => 'no',
'type' => 'checkbox',
),
array(
'name' => __('Postpone', 'fdoep'),
'id' => 'fdoe_pickup_postpone',
'default' => 'no',
'type' => 'checkbox',
'desc' => __('Postpone times avalible for selection using the configuration in the "Order Time Managment" Tab.', 'fdoep'),
),
array(
'name' => __('Step', 'fdoep'),
'id' => 'fdoe_pickuptime_step',
'default' => 15,
'type' => 'number',
'custom_attributes' => array('min' => 1, 'step' => 1, 'required' => 'required'),
'desc' => __('Set the time step in minutes from which customers can choose from', 'fdoep'),
),
array(
'name' => __('Monday', 'fdoep'),
'id' => 'fdoe_pickup_1_from',
'default' => false,
'type' => 'time',
'class' => 'fdoe_time_slot_from',
'placeholder' => __('hh:mm', 'fdoep'),
'custom_attributes' => array('pattern' => '[0-9]{2}:[0-9]{2}'),
),
array(
'id' => 'fdoe_pickup_1_to',
'default' => false,
'type' => 'time',
'class' => 'fdoe_time_slot_to',
'placeholder' => __('hh:mm', 'fdoep'),
'custom_attributes' => array('pattern' => '[0-9]{2}:[0-9]{2}'),
),
array(
'id' => 'fdoe_pickup_1_from_',
'default' => false,
'type' => 'time',
'class' => 'fdoe_time_slot_from',
'placeholder' => __('hh:mm', 'fdoep'),
'custom_attributes' => array('pattern' => '[0-9]{2}:[0-9]{2}'),
),
array(
'id' => 'fdoe_pickup_1_to_',
'default' => false,
'type' => 'time',
'class' => 'fdoe_time_slot_to',
'placeholder' => __('hh:mm', 'fdoep'),
'custom_attributes' => array('pattern' => '[0-9]{2}:[0-9]{2}'),
),
array(
'name' => __('Tuesday', 'fdoep'),
'id' => 'fdoe_pickup_2_from',
'default' => false,
'type' => 'time',
'class' => 'fdoe_time_slot_from',
'placeholder' => __('hh:mm', 'fdoep'),
'custom_attributes' => array('pattern' => '[0-9]{2}:[0-9]{2}'),
),
array(
'id' => 'fdoe_pickup_2_to',
'default' => false,
'type' => 'time',
'class' => 'fdoe_time_slot_to',
'placeholder' => __('hh:mm', 'fdoep'),
'custom_attributes' => array('pattern' => '[0-9]{2}:[0-9]{2}'),
),
array(
'id' => 'fdoe_pickup_2_from_',
'default' => false,
'type' => 'time',
'class' => 'fdoe_time_slot_from',
'placeholder' => __('hh:mm', 'fdoep'),
'custom_attributes' => array('pattern' => '[0-9]{2}:[0-9]{2}'),
),
array(
'id' => 'fdoe_pickup_2_to_',
'default' => false,
'type' => 'time',
'class' => 'fdoe_time_slot_to',
'placeholder' => __('hh:mm', 'fdoep'),
'custom_attributes' => array('pattern' => '[0-9]{2}:[0-9]{2}'),
),
array(
'name' => __('Wednesday', 'fdoep'),
'id' => 'fdoe_pickup_3_from',
'default' => false,
'type' => 'time',
'class' => 'fdoe_time_slot_from',
'placeholder' => __('hh:mm', 'fdoep'),
'custom_attributes' => array('pattern' => '[0-9]{2}:[0-9]{2}'),
),
array(
'id' => 'fdoe_pickup_3_to',
'default' => false,
'type' => 'time',
'class' => 'fdoe_time_slot_to',
'placeholder' => __('hh:mm', 'fdoep'),
'custom_attributes' => array('pattern' => '[0-9]{2}:[0-9]{2}'),
),
array(
'id' => 'fdoe_pickup_3_from_',
'default' => false,
'type' => 'time',
'class' => 'fdoe_time_slot_from',
'placeholder' => __('hh:mm', 'fdoep'),
'custom_attributes' => array('pattern' => '[0-9]{2}:[0-9]{2}'),
),
array(
'id' => 'fdoe_pickup_3_to_',
'default' => false,
'type' => 'time',
'class' => 'fdoe_time_slot_to',
'placeholder' => __('hh:mm', 'fdoep'),
'custom_attributes' => array('pattern' => '[0-9]{2}:[0-9]{2}'),
),
array(
'name' => __('Thursday', 'fdoep'),
'id' => 'fdoe_pickup_4_from',
'default' => false,
'type' => 'time',
'class' => 'fdoe_time_slot_from',
'placeholder' => __('hh:mm', 'fdoep'),
'custom_attributes' => array('pattern' => '[0-9]{2}:[0-9]{2}'),
),
array(
'id' => 'fdoe_pickup_4_to',
'default' => false,
'type' => 'time',
'class' => 'fdoe_time_slot_to',
'placeholder' => __('hh:mm', 'fdoep'),
'custom_attributes' => array('pattern' => '[0-9]{2}:[0-9]{2}'),
),
array(
'id' => 'fdoe_pickup_4_from_',
'default' => false,
'type' => 'time',
'class' => 'fdoe_time_slot_from',
'placeholder' => __('hh:mm', 'fdoep'),
'custom_attributes' => array('pattern' => '[0-9]{2}:[0-9]{2}'),
),
array(
'id' => 'fdoe_pickup_4_to_',
'default' => false,
'type' => 'time',
'class' => 'fdoe_time_slot_to',
'placeholder' => __('hh:mm', 'fdoep'),
'custom_attributes' => array('pattern' => '[0-9]{2}:[0-9]{2}'),
),
array(
'name' => __('Friday', 'fdoep'),
'id' => 'fdoe_pickup_5_from',
'default' => false,
'type' => 'time',
'class' => 'fdoe_time_slot_from',
'placeholder' => __('hh:mm', 'fdoep'),
'custom_attributes' => array('pattern' => '[0-9]{2}:[0-9]{2}'),
),
array(
'id' => 'fdoe_pickup_5_to',
'default' => false,
'type' => 'time',
'class' => 'fdoe_time_slot_to',
'placeholder' => __('hh:mm', 'fdoep'),
'custom_attributes' => array('pattern' => '[0-9]{2}:[0-9]{2}'),
),
array(
'id' => 'fdoe_pickup_5_from_',
'default' => false,
'type' => 'time',
'class' => 'fdoe_time_slot_from',
'placeholder' => __('hh:mm', 'fdoep'),
'custom_attributes' => array('pattern' => '[0-9]{2}:[0-9]{2}'),
),
array(
'id' => 'fdoe_pickup_5_to_',
'default' => false,
'type' => 'time',
'class' => 'fdoe_time_slot_to',
'placeholder' => __('hh:mm', 'fdoep'),
'custom_attributes' => array('pattern' => '[0-9]{2}:[0-9]{2}'),
),
array(
'name' => __('Saturday', 'fdoep'),
'id' => 'fdoe_pickup_6_from',
'default' => false,
'type' => 'time',
'class' => 'fdoe_time_slot_from',
'placeholder' => __('hh:mm', 'fdoep'),
'custom_attributes' => array('pattern' => '[0-9]{2}:[0-9]{2}'),
),
array(
'id' => 'fdoe_pickup_6_to',
'default' => false,
'type' => 'time',
'class' => 'fdoe_time_slot_to',
'placeholder' => __('hh:mm', 'fdoep'),
'custom_attributes' => array('pattern' => '[0-9]{2}:[0-9]{2}'),
),
array(
'id' => 'fdoe_pickup_6_from_',
'default' => false,
'type' => 'time',
'class' => 'fdoe_time_slot_from',
'placeholder' => __('hh:mm', 'fdoep'),
'custom_attributes' => array('pattern' => '[0-9]{2}:[0-9]{2}'),
),
array(
'id' => 'fdoe_pickup_6_to_',
'default' => false,
'type' => 'time',
'class' => 'fdoe_time_slot_to',
'placeholder' => __('hh:mm', 'fdoep'),
'custom_attributes' => array('pattern' => '[0-9]{2}:[0-9]{2}'),
),
array(
'name' => __('Sunday', 'fdoep'),
'id' => 'fdoe_pickup_0_from',
'default' => false,
'type' => 'time',
'class' => 'fdoe_time_slot_from',
'placeholder' => __('hh:mm', 'fdoep'),
'custom_attributes' => array('pattern' => '[0-9]{2}:[0-9]{2}'),
),
array(
'id' => 'fdoe_pickup_0_to',
'default' => false,
'type' => 'time',
'class' => 'fdoe_time_slot_to',
'placeholder' => __('hh:mm', 'fdoep'),
'custom_attributes' => array('pattern' => '[0-9]{2}:[0-9]{2}'),
),
array(
'id' => 'fdoe_pickup_0_from_',
'default' => false,
'type' => 'time',
'class' => 'fdoe_time_slot_from',
'placeholder' => __('hh:mm', 'fdoep'),
'custom_attributes' => array('pattern' => '[0-9]{2}:[0-9]{2}'),
),
array(
'id' => 'fdoe_pickup_0_to_',
'default' => false,
'type' => 'time',
'class' => 'fdoe_time_slot_to',
'placeholder' => __('hh:mm', 'fdoep'),
'custom_attributes' => array('pattern' => '[0-9]{2}:[0-9]{2}'),
),
array(
'type' => 'sectionend',
'id' => 'fdoe_pickuptimes',
),
array(
'name' => __('Time Picker for Delivery Orders', 'fdoep'),
'type' => 'title',
'id' => 'fdoe_deliverytimes',
'desc' => __('Let the customer choose a time for when to expect their order to be delivered', 'fdoep'),
),
array(
'name' => __('Enable', 'fdoep'),
'id' => 'fdoe_deliverytime_enable',
'default' => 'no',
'type' => 'checkbox',
),
array(
'name' => __('Postpone', 'fdoep'),
'id' => 'fdoe_delivery_postpone',
'default' => 'no',
'type' => 'checkbox',
'desc' => __('Postpone times avalible for selection using the configuration in the "Order Time Managment" Tab.', 'fdoep'),
),
array(
'name' => __('Step', 'fdoep'),
'id' => 'fdoe_deliverytime_step',
'default' => '15',
'type' => 'number',
'custom_attributes' => array('min' => 1, 'step' => 1, 'required' => 'required'),
'desc' => __('Set the time step in minutes from which customers can choose from', 'fdoep'),
),
array(
'name' => __('Monday', 'fdoep'),
'id' => 'fdoe_del_1_from',
'default' => false,
'type' => 'time',
'class' => 'fdoe_time_slot_from',
'placeholder' => __('hh:mm', 'fdoep'),
'custom_attributes' => array('pattern' => '[0-9]{2}:[0-9]{2}'),
),
array(
'id' => 'fdoe_del_1_to',
'default' => false,
'type' => 'time',
'class' => 'fdoe_time_slot_to',
'placeholder' => __('hh:mm', 'fdoep'),
'custom_attributes' => array('pattern' => '[0-9]{2}:[0-9]{2}'),
),
array(
'id' => 'fdoe_del_1_from_',
'default' => false,
'type' => 'time',
'class' => 'fdoe_time_slot_from',
'placeholder' => __('hh:mm', 'fdoep'),
'custom_attributes' => array('pattern' => '[0-9]{2}:[0-9]{2}'),
),
array(
'id' => 'fdoe_del_1_to_',
'default' => false,
'type' => 'time',
'class' => 'fdoe_time_slot_to',
'placeholder' => __('hh:mm', 'fdoep'),
'custom_attributes' => array('pattern' => '[0-9]{2}:[0-9]{2}'),
),
array(
'name' => __('Tuesday', 'fdoep'),
'id' => 'fdoe_del_2_from',
'default' => false,
'type' => 'time',
'class' => 'fdoe_time_slot_from',
'placeholder' => __('hh:mm', 'fdoep'),
'custom_attributes' => array('pattern' => '[0-9]{2}:[0-9]{2}'),
),
array(
'id' => 'fdoe_del_2_to',
'default' => false,
'type' => 'time',
'class' => 'fdoe_time_slot_to',
'placeholder' => __('hh:mm', 'fdoep'),
'custom_attributes' => array('pattern' => '[0-9]{2}:[0-9]{2}'),
),
array(
'id' => 'fdoe_del_2_from_',
'default' => false,
'type' => 'time',
'class' => 'fdoe_time_slot_from',
'placeholder' => __('hh:mm', 'fdoep'),
'custom_attributes' => array('pattern' => '[0-9]{2}:[0-9]{2}'),
),
array(
'id' => 'fdoe_del_2_to_',
'default' => false,
'type' => 'time',
'class' => 'fdoe_time_slot_to',
'placeholder' => __('hh:mm', 'fdoep'),
'custom_attributes' => array('pattern' => '[0-9]{2}:[0-9]{2}'),
),
array(
'name' => __('Wednesday', 'fdoep'),
'id' => 'fdoe_del_3_from',
'default' => false,
'type' => 'time',
'class' => 'fdoe_time_slot_from',
'placeholder' => __('hh:mm', 'fdoep'),
'custom_attributes' => array('pattern' => '[0-9]{2}:[0-9]{2}'),
),
array(
'id' => 'fdoe_del_3_to',
'default' => false,
'type' => 'time',
'class' => 'fdoe_time_slot_to',
'placeholder' => __('hh:mm', 'fdoep'),
'custom_attributes' => array('pattern' => '[0-9]{2}:[0-9]{2}'),
),
array(
'id' => 'fdoe_del_3_from_',
'default' => false,
'type' => 'time',
'class' => 'fdoe_time_slot_from',
'placeholder' => __('hh:mm', 'fdoep'),
'custom_attributes' => array('pattern' => '[0-9]{2}:[0-9]{2}'),
),
array(
'id' => 'fdoe_del_3_to_',
'default' => false,
'type' => 'time',
'class' => 'fdoe_time_slot_to',
'placeholder' => __('hh:mm', 'fdoep'),
'custom_attributes' => array('pattern' => '[0-9]{2}:[0-9]{2}'),
),
array(
'name' => __('Thursday', 'fdoep'),
'id' => 'fdoe_del_4_from',
'default' => false,
'type' => 'time',
'class' => 'fdoe_time_slot_from',
'placeholder' => __('hh:mm', 'fdoep'),
'custom_attributes' => array('pattern' => '[0-9]{2}:[0-9]{2}'),
),
array(
'id' => 'fdoe_del_4_to',
'default' => false,
'type' => 'time',
'class' => 'fdoe_time_slot_to',
'placeholder' => __('hh:mm', 'fdoep'),
'custom_attributes' => array('pattern' => '[0-9]{2}:[0-9]{2}'),
),
array(
'id' => 'fdoe_del_4_from_',
'default' => false,
'type' => 'time',
'class' => 'fdoe_time_slot_from',
'placeholder' => __('hh:mm', 'fdoep'),
'custom_attributes' => array('pattern' => '[0-9]{2}:[0-9]{2}'),
),
array(
'id' => 'fdoe_del_4_to_',
'default' => false,
'type' => 'time',
'class' => 'fdoe_time_slot_to',
'placeholder' => __('hh:mm', 'fdoep'),
'custom_attributes' => array('pattern' => '[0-9]{2}:[0-9]{2}'),
),
array(
'name' => __('Friday', 'fdoep'),
'id' => 'fdoe_del_5_from',
'default' => false,
'type' => 'time',
'class' => 'fdoe_time_slot_from',
'placeholder' => __('hh:mm', 'fdoep'),
'custom_attributes' => array('pattern' => '[0-9]{2}:[0-9]{2}'),
),
array(
'id' => 'fdoe_del_5_to',
'default' => false,
'type' => 'time',
'class' => 'fdoe_time_slot_to',
'placeholder' => __('hh:mm', 'fdoep'),
'custom_attributes' => array('pattern' => '[0-9]{2}:[0-9]{2}'),
),
array(
'id' => 'fdoe_del_5_from_',
'default' => false,
'type' => 'time',
'class' => 'fdoe_time_slot_from',
'placeholder' => __('hh:mm', 'fdoep'),
'custom_attributes' => array('pattern' => '[0-9]{2}:[0-9]{2}'),
),
array(
'id' => 'fdoe_del_5_to_',
'default' => false,
'type' => 'time',
'class' => 'fdoe_time_slot_to',
'placeholder' => __('hh:mm', 'fdoep'),
'custom_attributes' => array('pattern' => '[0-9]{2}:[0-9]{2}'),
),
array(
'name' => __('Saturday', 'fdoep'),
'id' => 'fdoe_del_6_from',
'default' => false,
'type' => 'time',
'class' => 'fdoe_time_slot_from',
'placeholder' => __('hh:mm', 'fdoep'),
'custom_attributes' => array('pattern' => '[0-9]{2}:[0-9]{2}'),
),
array(
'id' => 'fdoe_del_6_to',
'default' => false,
'type' => 'time',
'class' => 'fdoe_time_slot_to',
'placeholder' => __('hh:mm', 'fdoep'),
'custom_attributes' => array('pattern' => '[0-9]{2}:[0-9]{2}'),
),
array(
'id' => 'fdoe_del_6_from_',
'default' => false,
'type' => 'time',
'class' => 'fdoe_time_slot_from',
'placeholder' => __('hh:mm', 'fdoep'),
'custom_attributes' => array('pattern' => '[0-9]{2}:[0-9]{2}'),
),
array(
'id' => 'fdoe_del_6_to_',
'default' => false,
'type' => 'time',
'class' => 'fdoe_time_slot_to',
'placeholder' => __('hh:mm', 'fdoep'),
'custom_attributes' => array('pattern' => '[0-9]{2}:[0-9]{2}'),
),
array(
'name' => __('Sunday', 'fdoep'),
'id' => 'fdoe_del_0_from',
'default' => false,
'type' => 'time',
'class' => 'fdoe_time_slot_from',
'placeholder' => __('hh:mm', 'fdoep'),
'custom_attributes' => array('pattern' => '[0-9]{2}:[0-9]{2}'),
),
array(
'id' => 'fdoe_del_0_to',
'default' => false,
'type' => 'time',
'class' => 'fdoe_time_slot_to',
'placeholder' => __('hh:mm', 'fdoep'),
'custom_attributes' => array('pattern' => '[0-9]{2}:[0-9]{2}'),
),
array(
'id' => 'fdoe_del_0_from_',
'default' => false,
'type' => 'time',
'class' => 'fdoe_time_slot_from',
'placeholder' => __('hh:mm', 'fdoep'),
'custom_attributes' => array('pattern' => '[0-9]{2}:[0-9]{2}'),
),
array(
'id' => 'fdoe_del_0_to_',
'default' => false,
'type' => 'time',
'class' => 'fdoe_time_slot_to',
'placeholder' => __('hh:mm', 'fdoep'),
'custom_attributes' => array('pattern' => '[0-9]{2}:[0-9]{2}'),
),
array(
'type' => 'sectionend',
'id' => 'fdoe_deliverytimes',
),