Hi. We are trying to split the Short Description for some products over two lines to tidy them up. Can't find a way to do it. Any suggestions?
Thanks for any help.
Ted
Thanks for any help.
Ted
Edit OrderScript.pl (back it up first - use a text editor, not a word processor). Look for the line $objOrderBlob->AddString($sNameTemp); # the product description Replace with my $sNameTemp = $$pProduct{"NAME"}; # the product description $sNameTemp =~ s/!!<|>!!//g; # strip HTML escapes $sNameTemp =~ s/<br>/\r\n/ig; # replace <br> with cr/lf $objOrderBlob->AddString($sNameTemp); # the tidied product description Look for the 2 lines MailOrderLine( $$pProduct{REFERENCE}, $$pProduct{NAME}, Replace these 2 lines with my $sNameTemp = $$pProduct{"NAME"}; # the product description $sNameTemp =~ s/!!<|>!!//g; # strip HTML escapes $sNameTemp =~ s/<br>/\r\n/ig; # replace <br> with cr/lf MailOrderLine( $$pProduct{REFERENCE}, $sNameTemp, # the tidied name
Comment