Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
8113 Weergaven

Hi there,

I'm using a PHP script to generate quotation through our website via XMLRPC. In the quotation line description I'd like to insert a new line, so that the format of the line description becomes something like:

Product name

Size: length x width x height

Color: blue

Instead of "Product name, Size x y z, color: blue"

Does somebody has any clue about how to format this in the XMLRPC value? I tried both html, xml and python line breaks/carriage returns.    

Avatar
Annuleer
Beste antwoord

try concatenate string values using '\n' for line break before sendig it via xmlrpc...
syntax should be something like: 

desc = product_name + '\n' '+ 'Size : ' + lenght_val + 'x' + width_val +'x' ...

use desc string value to send description via xmlrpc

hope it helps

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
0
dec. 21
1901
0
mrt. 18
4222
1
mrt. 15
7555
2
mrt. 15
10416
1
jan. 23
5032