Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

[Resolved] eStore receipt shows \r\n at the beginning of new line

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › eStore receipt shows \r\n at the beginning of new line

Tagged: \r\n at the beginning of new line, eStore receipt

  • This topic has 8 replies, 3 voices, and was last updated 4 years, 3 months ago by wzp.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • February 23, 2021 at 1:46 pm #82611
    Katharina
    Participant

    Hi there,
    I’m using the receipt addon. Everything works fine (translation file would have been helpful), just the PDF customer can download shows the return information \r\n at the beginning of a new line. This occurs in the heading area only where the company information is located.

    Looks like this
    ===
    Jo van Nelsen Online-Shop
    Jo van Nelsen
    \r\nBüro Jo van Nelsen
    \r\nSeilerstraße 10
    \r\n60313 Frankfurt amMain
    \r\nshop@jovannelsen.de
    \r\nUSt-Identnummer: DE111174479
    ===

    Could you pls assist on where to delete this? Thanks.
    Best regards
    Katharina

    February 23, 2021 at 5:32 pm #82614
    wzp
    Moderator

    Everything works fine (translation file…

    Did you change anything? Also, does the receipt body contain any of those characters?

    • This reply was modified 4 years, 3 months ago by wzp.
    February 23, 2021 at 6:23 pm #82617
    admin
    Keymaster

    This is most likely coming from a conflict. Do the following test:

    Test to (How to) Identify a Conflicting Theme or Plugin

    February 24, 2021 at 1:05 am #82620
    Katharina
    Participant

    Thanks.
    In the create-reciept-pdf.php I changed in row #219 the Column titles to have them in German.

    February 24, 2021 at 1:11 am #82621
    Katharina
    Participant

    Please be assured – I checked this before posting here. No caching plugin on site. All plugins deactivated: \r\n stays at the beginning of new line in the area company information

    February 24, 2021 at 1:12 am #82622
    Katharina
    Participant

    Yes, this ony happens in the company details area; body of receipt is fine

    February 24, 2021 at 4:13 pm #82626
    wzp
    Moderator

    In the create-reciept-pdf.php [sic] I changed in row #219 the Column titles to have them in German.

    When you did the editing… did you save the file as a UTF-8 encoded file??? Does using THE ORIGINAL file make any difference???

    • This reply was modified 4 years, 3 months ago by wzp.
    • This reply was modified 4 years, 3 months ago by wzp.
    February 25, 2021 at 2:23 am #82631
    Katharina
    Participant

    Thanks for your help.
    The original file has the same output with \r\n

    The file I changed was saved as UTF-8

    Seems to be a Mac problem – I checked with a PC: everything is fine.

    I will leave it as it is, you may close the topic.

    Best regards
    Katharina

    February 25, 2021 at 3:56 pm #82634
    wzp
    Moderator

    Note to future self: Issue may be caused by Mac O/S being *nix based.

  • Author
    Posts
Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ