' . esc_html( $label ) . ''; } /** * The help page. */ function dayslot_render_help() { if ( ! current_user_can( 'manage_woocommerce' ) ) { return; } $pro = (bool) apply_filters( 'dayslot_is_pro', false ); $steps = array( array( __( 'Days and limits', 'dayslot' ), __( 'On which days you deliver, how many days you need to prepare, how many deliveries fit in a day, days off.', 'dayslot' ), dayslot_help_tab( 'general', __( 'Delivery → General', 'dayslot' ) ) ), array( __( 'Delivery times and prices', 'dayslot' ), __( 'Time windows, exact times and night: hours, step, limits and three prices (Monday–Saturday, Sunday, holiday). The price becomes the shipping cost.', 'dayslot' ), dayslot_help_tab( 'delivery', __( 'Delivery → Delivery options & prices', 'dayslot' ) ) ), array( __( 'Place on the checkout', 'dayslot' ), __( 'Before or after the address, or exactly where you want with the block, the Elementor widget or the [dayslot_checkout_field] shortcode. FunnelKit and other builders are found automatically.', 'dayslot' ), dayslot_help_tab( 'checkout', __( 'Checkout → Checkout', 'dayslot' ) ) ), array( __( 'Look', 'dayslot' ), __( 'Colours, corners, sizes and ready-made looks, with a live preview on a phone and a computer.', 'dayslot' ), dayslot_help_tab( 'appearance', __( 'Checkout → Appearance', 'dayslot' ) ) ), array( __( 'Texts and language', 'dayslot' ), __( 'The plugin speaks the language of your WordPress. Any text customers see can be changed.', 'dayslot' ), dayslot_help_tab( 'texts', __( 'More → Texts', 'dayslot' ) ) ), array( __( 'Calendar and your phone', 'dayslot' ), __( 'All orders in a month / week / day view; a private link puts them into Google Calendar, iPhone or Outlook.', 'dayslot' ), dayslot_help_tab( 'calendars', __( 'Calendar → Calendar sync', 'dayslot' ) ) ), ); if ( $pro ) { $steps[] = array( __( 'Pickup, delivery zone and km', 'dayslot' ), __( 'Free pickup with its own hours; a zone for your city and a price per km outside it (your own Google key).', 'dayslot' ), dayslot_help_tab( 'pickup', __( 'Delivery → Pickup', 'dayslot' ) ) . ' · ' . dayslot_help_tab( 'zones', __( 'Delivery → Delivery zone', 'dayslot' ) ) ); $steps[] = array( __( 'Checkout and My Account in your design', 'dayslot' ), __( 'The whole checkout and My Account in the same look as the delivery box; customers change the date themselves.', 'dayslot' ), dayslot_help_tab( 'checkout_design', __( 'Checkout → Checkout design', 'dayslot' ) ) . ' · ' . dayslot_help_tab( 'account_design', __( 'Customers → My Account', 'dayslot' ) ) ); } $faq = array( array( __( 'The delivery box does not show on the checkout.', 'dayslot' ), __( 'Check the Quick start list above: the "Delivery by date" method must be in a WooCommerce shipping zone that covers the customer\'s address. With a page builder, put the "Delivery date & time" widget or block on the checkout page. Products that don\'t need shipping (virtual) don\'t show it.', 'dayslot' ) ), array( __( 'A day can\'t be chosen.', 'dayslot' ), __( 'It is a day off, too early (preparation time) or full: the daily limit or all time windows are taken. The admin calendar shows how many places are used (e.g. 2/5).', 'dayslot' ) ), array( __( 'A time shows "full".', 'dayslot' ), __( 'The limit of that time window (or of the night) is reached. Change it in Delivery options & prices, field "Max orders"; 0 = no limit.', 'dayslot' ) ), array( __( 'The price does not change on Sunday or a holiday.', 'dayslot' ), __( 'Fill in the Sunday price of each delivery kind; an empty holiday price is the same as Sunday. Polish holidays are counted automatically when chosen in General.', 'dayslot' ) ), array( __( 'Kilometres are not counted.', 'dayslot' ), __( 'A delivery zone must be saved (Delivery zone tab: find your city, "Use this boundary", Save) and a Google API key added. Without the key only the city name is checked.', 'dayslot' ) ), array( __( 'How do I move an order to another day?', 'dayslot' ), __( 'In the admin calendar drag the order to another day or time, or change it on the order page. You are asked whether to e-mail the customer.', 'dayslot' ) ), array( __( 'Can I switch off what I don\'t need?', 'dayslot' ), __( 'Yes: More → Modules. A switched-off module isn\'t loaded at all, so it doesn\'t slow the site down. Your settings stay and come back when you switch it on.', 'dayslot' ) ), array( __( 'Does it slow down my shop?', 'dayslot' ), __( 'No: on the home page, the catalogue and product pages the plugin loads no files and makes no database queries. On the checkout it adds about 10 KB.', 'dayslot' ) ), ); $docs = (string) apply_filters( 'dayslot_docs_url', '' ); ?>

↗