• Resolved jpconte1980

    (@jpconte1980)


    Hi, how are you!!!

    I have create somes Booking categorie : tour (basic), experience, tickets etc…
    Each category is configured with a different rule.

    Problem : When I create or edit a Booking Object, I only have the ‘tour’ category which appears in: “Select category to setup other post fields”. if i change it in ‘quick modification’, the ‘tour’ category resets automatically each time the object is edited.

    I tried all I could but I don’t understand what’s wrong

    Thanks

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author bookingalgorithms

    (@bookingalgorithms)

    Hello,

    This is a theme related issue, please, contact the theme authors for the help.
    Also for the Triply theme you can try to use this code in your child theme:

    add_filter('booking_update_cateogries_object', 'triply_booking_update_cateogries_object', 10, 2);
    function triply_booking_update_cateogries_object($args_cat, $prefix) {
    $args_cat = array (
       'name' => __ ('Select category to setup other post fields', 'triply'),
       'id' => $prefix.BABE_Post_types::$categories_tax,
       'taxonomy' => BABE_Post_types::$categories_tax, // Enter Taxonomy Slug
       'type' => 'taxonomy_select',
       'show_option_none' => false,
       'text' => array (
          'no_terms_text' => __ ('Sorry, no terms could be found.', 'triply')
       )
      );
    return $args_cat;
    }


    Best Regards,
    Booking Algorithms team

Viewing 1 replies (of 1 total)
  • The topic ‘Can’t change booking category’ is closed to new replies.