bookingalgorithms
Forum Replies Created
-
Forum: Plugins
In reply to: [BA Book Everything] MAJOR ISSUE WITH DATES – WROND PRICE CALCULATIONYou are welcome!
—
Best Regards,
Booking Algorithms teamForum: Plugins
In reply to: [BA Book Everything] Polylang?Hello,
Polylang is not supported.
Currently the plugin supports translations with WPML and qTranslate-x plugins.—
Best Regards,
Booking Algorithms teamForum: Plugins
In reply to: [BA Book Everything] MAJOR ISSUE WITH DATES – WROND PRICE CALCULATIONHello,
Thank you for reporting the bug!
Please, update the plugin to version 1.3.36—
Best Regards,
Booking Algorithms teamHello,
Please, try to switch to another theme and check all things. It looks like theme overrides some functionality of the plugin.
If issue still exists, please, send us support request via site contact form.—
Best Regards,
Booking Algorithms teamHello,
If you have only one predefined date of your tour you should use the booking rule with “Single custom (one-time events, etc.)” option in your tour category.
With these settings, you can get the tour with predefined dates like in the plugin demo.—
Best Regards,
Booking Algorithms teamForum: Plugins
In reply to: [BA Book Everything] Add Shortcode to Custom SectionGood solution, thank you!
—
Best Regards,
Booking Algorithms teamForum: Plugins
In reply to: [BA Book Everything] Add Shortcode to Custom SectionHello,
Thank you for your request.
Shortcodes will be supported in the Custom section from BA Book Everyting next update (1.3.34). Currently, you can use filterapply_filters( 'babe_post_content_tab_content', $tab_content, $post_id, $post)
to replace any content inside sections.—
Best Regards,
Booking Algorithms teamForum: Plugins
In reply to: [BA Book Everything] Disable automatic customer registration at bookingHello,
Currently it’s not possible. A customer account is required to get detailed information and manage a booking.
—
Best Regards,
Booking Algorithms teamForum: Plugins
In reply to: [BA Book Everything] Update Button DisappearingHello,
Since the plugin requires at least one rate to work properly, the publish button is hidden until you create the first rate in new “BA Booking Object”. Please, find details in the BA Book Everything documentation.
—
Best Regards,
Booking Algorithms teamForum: Plugins
In reply to: [BA Book Everything] the booking daysHello,
It looks like you didn’t setup available start and end dates for the tour.
—
Best Regards,
Booking Algorithms teamForum: Plugins
In reply to: [BA Book Everything] Rename PermalinkHello,
You can try to use next code in your child theme functions.php. Note, that after adding the code you need to save permalinks from site dashboard to apply permalink changes.
add_filter('ba_destinations_rewrite_rules', 'ba_destinations_rewrite_rules', 10, 1); function ba_destinations_rewrite_rules($rewrite_rules) { $taxonomy_slug = 'ba_destinations'; $taxonomy_new_slug = 'destinations'; $rewrite_rules = []; $rewrite_rules[$taxonomy_new_slug.'/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$'] = 'index.php?'.$taxonomy_slug.'=$matches[1]&feed=$matches[2]'; $rewrite_rules[$taxonomy_new_slug.'/([^/]+)/(feed|rdf|rss|rss2|atom)/?$'] = 'index.php?'.$taxonomy_slug.'=$matches[1]&feed=$matches[2]'; $rewrite_rules[$taxonomy_new_slug.'/([^/]+)/embed/?$'] = 'index.php?'.$taxonomy_slug.'=$matches[1]&embed=true'; $rewrite_rules[$taxonomy_new_slug.'/([^/]+)/page/?([0-9]{1,})/?$'] = 'index.php?'.$taxonomy_slug.'=$matches[1]&paged=$matches[2]'; $rewrite_rules[$taxonomy_new_slug.'/([^/]+)/?$'] = 'index.php?'.$taxonomy_slug.'=$matches[1]'; return $rewrite_rules; } add_filter( 'term_link', 'ba_destinations_term_permalink', 10, 3 ); function ba_destinations_term_permalink( $url, $term, $taxonomy ){ $taxonomy_name = 'ba_destinations'; // your taxonomy name here $taxonomy_slug = 'ba_destinations'; // the taxonomy slug can be different with the taxonomy name // exit the function if taxonomy slug is not in URL if ( $taxonomy !== $taxonomy_name || strpos($url, $taxonomy_slug) === false ) { return $url; } $url = str_replace('/' . $taxonomy_slug, '/destinations', $url); return $url; }
—
Best Regards,
Booking Algorithms teamForum: Plugins
In reply to: [BA Book Everything] Multiple ItemsHello,
BA Book Everything plugin don’t use a cart. But there is one way you can try to implement this scenario: setup main items as booking items and other things as service items that can be selected in addition to the main item in booking form and calculated per day/night.
Hope this helps you,
—
Best Regards,
Booking Algorithms teamForum: Plugins
In reply to: [BA Book Everything] Remove Rating / Review from booking objectHello,
The favourite icon is not managed by the plugin. You have to look into the theme code for hooks to filter favourite icon and rating on listings.
—
Best Regards,
Booking Algorithms teamForum: Plugins
In reply to: [BA Book Everything] Add custom field at checkoutHello,
You are right. You need one more hook to save custom field and add it to notification email:
add_filter('babe_sanitize_checkout_vars', 'customtheme_sanitize_checkout_vars', 10, 2); /** * Add fields to sanitize checkout vars method */ function customtheme_sanitize_checkout_vars( $output, $arr ) { $output['new_field'] = isset($arr['new_field']) ? sanitize_text_field($arr['new_field']) : ''; return $output; }
You are welcome!
—
Best Regards,
Booking Algorithms teamForum: Plugins
In reply to: [BA Book Everything] Add custom field at checkoutHello,
There are several hooks that you can use in a child theme for your tasks. As a starting solution, this can be:
add_filter('babe_checkout_args', 'customtheme_babe_checkout_args', 10, 2); /** * Add checkout fields */ function customtheme_babe_checkout_args( $args_meta, $args ) { $args_meta['new_field'] = isset($args['meta']['new_field']) ? $args['meta']['new_field'] : ''; return $args_meta; } //////// add_filter('babe_checkout_field_label', 'customtheme_babe_checkout_field_label', 10, 2); /** * Add checkout field title */ function customtheme_babe_checkout_field_label( $field_title, $field_name ) { if (field_name === 'new_field'){ $field_title = __('Field Title', 'textdomain'); } return $field_title; } //////// add_filter('babe_checkout_field_required', 'customtheme_babe_checkout_field_required', 10, 2); /** * Required tag for checkout field */ function customtheme_babe_checkout_field_required($required_tag, $field_name){ if (field_name === 'new_field'){ $required_tag = 'required="required"'; } return $required_tag; }
—
Best Regards,
Booking Algorithms team