Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Addon Related › eStore – Receipt Creator: Data content of PDF receipts
Tagged: edit data content, receipt creator, shopping cart
- This topic has 9 replies, 3 voices, and was last updated 12 years, 2 months ago by
GWslade.
-
AuthorPosts
-
June 16, 2013 at 2:38 pm #9223
AddiktivMuzik
MemberHi! I have a simple question: How can I change the data content of the PDF receipts? So basically my question is: Which .PHP file do I have to edit? I would like to show more information, a change design a little bit, and translate it to Hungarian.
(P.S.: Excuse my English)
June 16, 2013 at 5:56 pm #56193AddiktivMuzik
MemberSorry, I solved the problem by myself. There’s another thing that I can’t really solve: I don’t want decimal amount to be displayed. We don’t have cent or anything like that, so I don’t want that. How can I do it? Thanks!
June 17, 2013 at 1:18 am #56194admin
KeymasterYou want that currency display change in the PDF receipt? Can you please give me an example of how your currency display looks like?
June 20, 2013 at 7:50 pm #56195AddiktivMuzik
MemberYes, in the PDF receipt and everywhere else, haha. Actually price is displayed like this: “2990.00 Ft” (Hungarian Forint). I don’t want eStore to show decimal values, because we don’t use them (besides that we don’t use 1 and 2 Ft coins, but it doesn’t matter in this case). So price should look like this: “2990 Ft”. Hope you can help me. Thanks!
June 21, 2013 at 8:24 am #56196admin
KeymasterI have added a new settings option in the plugin to format the price display. I think it will help. We haven’t released this version yet but I have sent you an updated copy of the eStore plugin to test it out.
August 12, 2013 at 9:40 pm #56197GWslade
MemberI would like to edit the format of the PDF so I could use the receipt and mail it out in a /10 window envelope. So please answer, which PHP file in the receipt creator plugin I can edit.
August 13, 2013 at 3:10 am #56198admin
KeymasterCheck in the “create-receipt-pdf.php” file.
August 13, 2013 at 7:20 pm #56199GWslade
MemberThank you very much.
August 16, 2013 at 7:39 pm #56200GWslade
MemberIn the “create-receipt-pdf.php” file. the customer address information is collected in one line, with the following;
$cust_address = $cust_details;
I would like to retain the <CR> that seem to be in the text that format the address for mailing.
How would I do that?
August 16, 2013 at 7:54 pm #56201GWslade
MemberAlso, is there a way to trigger creation of a new receipt, without executing a new order, to recreate the receipt with a new PDF template.
-
AuthorPosts
- You must be logged in to reply to this topic.