Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Styling for "Payment instructions"

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 07-21-2020, 05:52 AM
 
bionuts bionuts is offline
 

Senior Member
  
Join Date: Oct 2008
Posts: 109
 

Default 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.
__________________
Four sites using X-Cart 5.4.x.x. Oh the joy
Reply With Quote
  #2  
Old 07-22-2020, 06:20 AM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,060
 

Default Re: Styling for "Payment instructions"

Can we see the shop where this is happening?
__________________
Paul Dodman
e-business & m-commerce consultant
w: www.luminointernet.com
e: xcart@luminointernet.com

Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart.
Reply With Quote
  #3  
Old 07-22-2020, 06:42 AM
 
bionuts bionuts is offline
 

Senior Member
  
Join Date: Oct 2008
Posts: 109
 

Default 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.
__________________
Four sites using X-Cart 5.4.x.x. Oh the joy
Reply With Quote
  #4  
Old 07-22-2020, 07:21 AM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,060
 

Default 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.
__________________
Paul Dodman
e-business & m-commerce consultant
w: www.luminointernet.com
e: xcart@luminointernet.com

Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart.
Reply With Quote
  #5  
Old 07-24-2020, 12:49 AM
 
bionuts bionuts is offline
 

Senior Member
  
Join Date: Oct 2008
Posts: 109
 

Default Re: Styling for "Payment instructions"

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.
Attached Thumbnails
Click image for larger version

Name:	Capture.JPG
Views:	1010
Size:	59.0 KB
ID:	5534  
__________________
Four sites using X-Cart 5.4.x.x. Oh the joy
Reply With Quote
  #6  
Old 07-24-2020, 01:04 AM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,060
 

Default 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
__________________
Paul Dodman
e-business & m-commerce consultant
w: www.luminointernet.com
e: xcart@luminointernet.com

Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart.
Reply With Quote
  #7  
Old 07-24-2020, 01:07 AM
 
bionuts bionuts is offline
 

Senior Member
  
Join Date: Oct 2008
Posts: 109
 

Default Re: Styling for "Payment instructions"

Hi,

Yes, I did. They get stripped out when saving changes.
__________________
Four sites using X-Cart 5.4.x.x. Oh the joy
Reply With Quote
  #8  
Old 07-24-2020, 01:40 AM
 
memoto memoto is offline
 

X-Cart team
  
Join Date: Feb 2018
Posts: 246
 

Default 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
__________________
X-Cart Team
Reply With Quote
  #9  
Old 07-24-2020, 01:49 AM
 
bionuts bionuts is offline
 

Senior Member
  
Join Date: Oct 2008
Posts: 109
 

Default Re: Styling for "Payment instructions"

That's good to know. I'll keep an eye out for the update.
__________________
Four sites using X-Cart 5.4.x.x. Oh the joy
Reply With Quote
  #10  
Old 07-24-2020, 02:28 AM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,060
 

Default 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.
__________________
Paul Dodman
e-business & m-commerce consultant
w: www.luminointernet.com
e: xcart@luminointernet.com

Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart.
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 12:36 PM.

   

 
X-Cart forums © 2001-2020