Issue with seller store description output

Discussion in 'Technical Support' started by jason1971, Jul 11, 2015.

  1. jason1971 Customer

    Hi all,

    I have the seller store installed and all works well. apart from one issue.

    I added a test description of a few lines like this

    this is a sample

    so is this

    so is this

    so is this

    (using the return key to leave spaces between each line, I then saved it.)

    When I went back to the amend it on the user side, it looked the same as above, but on showlisting.tpl it reproduces it like this

    this is a sample so is this so is this so is this (without the line breaks)

    Any ideas how I can get it to reproduce exactly as it is placed with the line breaks, without my users having to put things like <p> and <br /> in ?

    Cheers

    Jason
  2. Mike-N-Tosh Owner

    This module is very, very old and hasn't been supported in years. It also isn't even offered as a download in the customer area.

    The only suggestion that I would have is that perhaps you could try using the smarty nl2br modifier on the store description variable.
    {$storedescription|nl2br}
  3. jason1971 Customer

    Mike,
    I just don't know how you do it.

    It worked like a charm

    Thank you very much
    Jason
  4. Mike-N-Tosh Owner

    Glad it worked out for you.

Share This Page