X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (X-Cart 5) (https://forum.x-cart.com/forumdisplay.php?f=56)
-   -   Styling for "Payment instructions" (https://forum.x-cart.com/showthread.php?t=77920)

bionuts 07-21-2020 05:52 AM

Styling for "Payment instructions"
 
Hi all,

I've created a new payment method and want to use the "Payment instructions" field to give some directions to the customer of what they should do to complete their order.

This field, though, doesn't seem to allow any styling - not even simple line breaks - and I'm wondering if it's possible at all?

At the moment, everything's running into one long paragraph which doesn't help with clarity.

This is on X-Cart Business 5.4.1.6.

Thanks in advance. :-)

pauldodman 07-22-2020 06:20 AM

Re: Styling for "Payment instructions"
 
Can we see the shop where this is happening?

bionuts 07-22-2020 06:42 AM

Re: Styling for "Payment instructions"
 
Hi,

It's www.petvits.co.uk.

Please note, though, that this is a live site and these instructions are only visible after an order is placed.

pauldodman 07-22-2020 07:21 AM

Re: Styling for "Payment instructions"
 
Ah right - sorry I thought it was in the checkout.
I would need to place a test order to see it - so if that's not possible I wouldn't be able to advise really.

bionuts 07-24-2020 12:49 AM

Re: Styling for "Payment instructions"
 
1 Attachment(s)
Hi,

Attached is a screen shot of what I'm seeing, using some test text.

The text that shows as:

Call us on +44 1234 5678 We're here to help It would be great to hear from you

Should show as:

Call us on +44 1234 5678
We're here to help
It would be great to hear from you

And that is how I've entered it in the "Payment Instructions" box for the relevant payment method.

All I really want to do is to have the line breaks come through to the customer invoice so that any instructions I enter are easier to read.

Thanks for your help.

pauldodman 07-24-2020 01:04 AM

Re: Styling for "Payment instructions"
 
Did you actually use html line breaks - thus:


Call us on +44 1234 5678<br />
We're here to help<br />
It would be great to hear from you

bionuts 07-24-2020 01:07 AM

Re: Styling for "Payment instructions"
 
Hi,

Yes, I did. They get stripped out when saving changes.

memoto 07-24-2020 01:40 AM

Re: Styling for "Payment instructions"
 
Payment instructions filed will include WYSIWYG editor in future updates to allow users use html codding inside payment description. Keep an eye on our blogposts with changelogs. Approximate branch that includes feature is 5.4.1.x

bionuts 07-24-2020 01:49 AM

Re: Styling for "Payment instructions"
 
That's good to know. I'll keep an eye out for the update.

pauldodman 07-24-2020 02:28 AM

Re: Styling for "Payment instructions"
 
OK, so it's either wait, or look at doing a modification to remove the code that strips out the html.
Or modifying the invoice template to add that text directly.


All times are GMT -8. The time now is 04:28 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.