Remove pricing title from title & ability to complete translations needed

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #22793
    amy@inet-media.ca
    Participant

    Hello,

    I have a few items I need help with please.

    • I would like to remove the pricing name from the title within the booking/checkout sections.

      • Currently it shows as: ‘Trip Name (Pricing name)’
      • I would like it to show as: ‘Trip Name’
      • I saw in a forum you had resolved the translation issue for ‘Adult’ however I still cannot translate this text. I am using Loco Translation as suggested on your website. I am also having issues translating “Departure Date” & “Group (min-max)”. Please help me complete these translations or where I can locate them to translate manually.
    #22795
    amy@inet-media.ca
    Participant

    I was able to create the custom label for ‘Adult’ completing the translation for the French side, however when you select 1 adult, the select label updates to ‘undefined x 1’ it should be ‘adulte x 1’

    #22806
    wensolutions
    Keymaster

    Hello,

    Regarding your query related to removing the pricing name from the title within the booking/checkout sections, the feature you have requested is not available. However, we will work on it regarding providing filter so that user can remove the pricing name from title easily.

    Also, regarding your query related to translation using loco translate, both strings ‘Group (min-max)’ and ‘Adult’ are translation ready and can be translated using loco translate. You can refer below given screen record for detail assistance regarding how to translate string using loco translate.

    https://www.loom.com/share/9146f4dc04b5448cad55cc02413a7515

    Further, Can you please provide us with screenshot of the section where string ‘Departure Date’ has been located so that we can check if the string is translation ready or not?

    Also, regarding custom label for ‘Adult’, can you please mention that why you are using custom label for ‘Adult’ as the category ‘Adult’ is already available?

    Hope this helps.

    If you have any queries further, let us know.

    Thank you.

    #22826
    amy@inet-media.ca
    Participant

    Hello,

    That is too bad about the title, I need it fixed – I guess I will have to figure it out myself!

    ‘Group (min-max)’ is not able to be translated by Loco translate. It does appear to be available, however it does not update the field in the table once you add your translation. I have translated the bulk of my site using Loco translate.

    Translated is shown completed:

    Translation does not show.

    The French site language has been set for the site.

    Adult – as noted, I was able to be translated using a the custom label. But this breaks the placeholder for the select dropdown to say ‘undefined x1’ instead of ‘adulte x1’. ‘Adult’ is not found in loco translate.

    The departure date, I do apologize, this was added to the section by another developer and needed custom translation. This was not part of your plugin. I was able to complete the translation within the functions file, I am using multi-site.

    For other users: I added in the Departure Date into the summary section with translations within the cart page by adding the below to the functions.php file. My code is below:

    function checkout_summary($args)
    {
    global $wt_cart;
    $trips = $wt_cart->getItems();
    foreach ($trips as $cart_id => $trip) {
    $arrival_date = isset( $trip[‘arrival_date’] ) && ! empty( $trip[‘arrival_date’] ) ?
    wp_travel_format_date( $trip[‘arrival_date’], true, ‘Y-m-d’ ) : false;
    }
    if ($arrival_date ) { ?>
    <div class=”date-row”>
    <?php if(get_current_blog_id()==3):?>
    <div class=”lable” style=”text-transform:none;”>Date de départ</div>
    <?php else:?>
    <div class=”lable”>Departure Date</div>
    <?php endif ?>
    <div class=”value”><?php echo $arrival_date ?></div>
    </div>
    <?php }
    return $args;
    }
    add_filter(‘wp_travel_cart_mini_custom_partial_value’, ‘checkout_summary’);

    #22833
    wensolutions
    Keymaster

    Hello,

    Can you please provide your login detail in the email below so that we can inspect the issue further and help you?

    support@wptravel.io

    Thank you.

    #22854
    amy@inet-media.ca
    Participant

    I am not able to provide access to our website for security reasons.

    The biggest issue is the “undefined x 1” within the selection box when using a custom label.

    “Adult – as noted, I was able to be translated using a the custom label. But this breaks the placeholder for the select dropdown to say ‘undefined x1’ instead of ‘adulte x1’. ‘Adult’ is not found in loco translate”

    I also noticed “this field is required” is not able to be translated.

    #22869
    wensolutions
    Keymaster

    Hello @amyinet-media-ca,

    First of all, we would like to apologize for the inconvenience.

    The issue regarding the undefined index is noted as the known issue which we will fix and release in the next update.

    Also, as for the translation, we will make the string translation ready in the coming updates of the plugin.

    Hoping for your kind co-operation.

    Thank you.

Viewing 7 posts - 1 through 7 (of 7 total)
  • The forum ‘WP Travel Pro’ is closed to new topics and replies.