Bagisto Forum

    Bagisto

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Payment method: money transfer cannot place line breaks

    General Discussion
    2
    6
    295
    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.
    • freja.athena
      freja.athena last edited by

      Hi! I am trying to place my bank details on the description field of the payment method, but it seems like I can't create line breaks with this one. Tried inserting html tags but still won't work. Can anybody teach me how to do it?

      Thank you!

      1 Reply Last reply Reply Quote 0
      • devansh-webkul
        devansh-webkul last edited by

        Hi @freja-athena,

        We can't provide line breaks or HTML stuff there due to security reasons. This is something that you need to customize at your end.

        freja.athena 1 Reply Last reply Reply Quote 1
        • freja.athena
          freja.athena last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • freja.athena
            freja.athena @devansh-webkul last edited by

            @devansh-webkul Do you have a guide or a sample on how to do this? I would appreciate it if you could show me how to do this on my end. I'm new to bagisto so I don't really know a lot of stuff.

            Thanks in advance.

            1 Reply Last reply Reply Quote 0
            • devansh-webkul
              devansh-webkul last edited by devansh-webkul

              Hi @freja-athena,

              I would not suggest you do this but if still, you want you just need to do this, there are two files one for default and one for velocity,

              1. resources/themes/shop/views/checkout/onepage/payment.blade.php - Shop
              2. resources/themes/velocity/views/checkout/onepage/payment.blade.php - Velocity

              Just check for this variable,

              {{ __($payment['description']) }}
              

              and replace that with

              {!! __($payment['description']) !!}
              

              Done 💯

              freja.athena 1 Reply Last reply Reply Quote 1
              • freja.athena
                freja.athena @devansh-webkul last edited by

                @devansh-webkul will try this. Thanks a lot!

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