Your account expired support, please renew to get your support.

Tagged: 

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #37392
    gntnikos
    Support Expired

    Hey, i want to create a transfers section for my website and i dont want to create them in the tours section. Do i need to create some different categories(like the booking locations) or something like that?

    #37422

    I don’t understand what you mean, please take a screenshot and explain this better.

    #37437
    gntnikos
    Support Expired

    So, in my website i have a section for tours in Greece.
    Now, i want to add a transfer section (for example airport-hotel, port-hotel).
    Is that helpfull?
    Let me show you a different website(they have a section for the tours, and they they have a different section for transfers, that is what i am trying to do)
    https://www.myathenstransfers.com/transfers/

    #37454

    Oh, I see it shows the same as a tour booking, no difference so you can use the booking object for the transfer section

    #37460
    gntnikos
    Support Expired

    yes but if i create them in the same category they get mixed with the tours

    #37461
    gntnikos
    Support Expired

    i am going to need to add some special fields on the checkout like the airort flight number etc, how can i do that too?
    Exactly like the other site

    #37483

    1. You will have to create another category booking object to categorize with the current tour category.

    2. You can customize this information to the checkout form.

    If you need custom assistance with issues.

    #37499
    gntnikos
    Support Expired

    ok so i created a different category for the transfer section.
    Now, for the checkout i am going to need to create a custom one when they proceed that will include sections like time of arrival, flight number, names etc.
    How can i do that only for the category of transfer?

    #37517

    1. You need to override this file in child-theme:
    themes/triply/template-parts/booking/checkout/information.php
    => themes/triply-child/template-parts/booking/checkout/information.php

    Then add your custom field here.

    2. Use add_filter to Add custom field checkout:

    add_filter('babe_checkout_field_label', 'triply_babe_checkout_field_label', 10, 2);
    function triply_babe_checkout_field_label($output, $field_name){
    //check code
    }
    
    add_filter('babe_sanitize_checkout_vars', 'triply_babe_sanitize_checkout_vars', 10, 2);
    function triply_babe_sanitize_checkout_vars($output, $arr){
    //check code
    }
Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.