QloApps Forums
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Hotel location not correctly displayed after pressing "book now"

    General Discussion
    3
    2
    458
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N
      namaste7 last edited by

      Hello,

      if I define my location other than US below hotel the displayed hotel location after pressing "book now" is shown as "Paris, , France". Usually it should be: "Paris, France" without an extra comma. This is because France has no "State" such as Alabama like US has.

      Where is the bug site?

      Thanks!

      namaste7

      A 1 Reply Last reply Reply Quote 0
      • A
        akr Global Moderator @namaste7 last edited by

        @namaste7 The displayed hotel lacation on the room type detail page is generated in ProductController.php. You can modify the given line to remove double commas.

        Line 285: https://github.com/webkul/hotelcommerce/blob/v1.5.2/controllers/front/ProductController.php#L285

        1 Reply Last reply Reply Quote 0
        • First post
          Last post