Your account expired support, please renew to get your support.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #20587
    maucast
    Support Expired

    Hi Billy

    1. I need to edit the booking form located on the sidebar. Can you tell which files I have to edit?

    2. I need to add an additional field in the checkout form
    Following BA Booking plugin, this is possible
    https://wordpress.org/support/topic/custom-fields-in-checkout-page-triply-theme/

    Add custom fields

    They say to use function get_post_meta($post_id, ‘new_field_slug’, 1) to show new field in the booking object post template

    Can you tell me where this template is?

    Thanks
    Mau

    #20603

    Hi you,

    #1. Edit booking form: You can copy file themes/triply/template-parts/booking/single/booking_form.php and paste to child-theme, then edit this file.

    Editing this booking form is very complicated because it also involves js in the plugin, so be careful when making any customizations in this booking form.

    #2. Edit form checkout: You need to copy file themes/triply/template-parts/booking/checkout/information.php and paste to child-theme, then edit this file.

    Use “babe_checkout_before_contact_fields” to add filter data to $args field.
    The link you sent is a guide to add custom fields for single booking tour

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.