Payment method: money transfer cannot place line breaks
-
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!
-
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.
-
This post is deleted! -
@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.
-
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,
resources/themes/shop/views/checkout/onepage/payment.blade.php
- Shopresources/themes/velocity/views/checkout/onepage/payment.blade.php
- Velocity
Just check for this variable,
{{ __($payment['description']) }}
and replace that with
{!! __($payment['description']) !!}
Done
-
@devansh-webkul will try this. Thanks a lot!