News

New Print Styles for devot:ee Orders

October 21, 2010
by Ryan Masuga

Order receipts have been enhanced with more information and new CSS styles for screen and print.

Print Order We were getting so many requests for some sort of proof-of-sale that we had to improve the orders area immediately. Manually making a receipt in Pages.app for everyone who asked was just getting out of hand. Most of the requests were coming from overseas customers, and we learned that these proofs-of-sale go by many names: receipt, purchase order, order, invoice, etc etc. We also learned that these words have different meanings (and that you have some pretty strict bookkeepers over there!) but whatever you want to call them, the bottom line is we beefed up the order history in your Members area. We added more information to each single-entry order template, and through the magic of CSS, you can now see what you're going to get before you print. Apparently it was important to have the word "Invoice" on the document, and that it had to be numbered. So the top of the receipt has the invoice number very clearly shown, with the order number directly below it. Thanks to Richard Hordern from France for taking the time to help us understand how the E.U. handles this sort of thing. If there is something else you think needs to be on the order receipts, please let us know.

6 Comments:

Craig Allen 10.24.10

Craig Allen

Does the invoice print the value in the local currency? PayPal receipts have this. However, haven’t it configured so that the item name is sent to PayPal for printing on their receipts. Could you do that please.

Craig Allen 10.24.10

Craig Allen

Sorry, I garbled the grammar in that last comment. I meant to say “you haven’t configured it so that the item name is sent to PayPal”.

Ryan Masuga 10.25.10

Ryan Masuga

Craig, our invoices don’t show the amount in the local currency. As of this writing, I don’t think I can send the item info to PayPal with CartThrob (the module we’re using for our store) out of the box. (See this forum post)

Craig Allen 10.26.10

Craig Allen

Ryan, the ExchangeRates plugin should allow you to add the local currency amount to your invoice pretty easily.

{if country_code!="USA"}
  {exp:exchange_rates:get_rate from="USA" to="{country_code}" decimals="2"}
  <p>(If the exchange rate changes during the processing of your purchase, the local currency amount printed here may be slightly inaccurate.)</p>
&#123;/if&#125;

Ryan Masuga 10.26.10

Ryan Masuga

Craig, that’s an interesting solution. In your opinion, would we try to capture the rate as it was at the time of purchase, or is the slight (possible) variation OK? Do you know if this is how PayPal does it (with possible inaccuracy)?

Craig Allen 10.26.10

Craig Allen

PayPal gives you the conversion using the exchange rate at the moment they bill you. But for tax purposes it doesn’t really matter if the amount is a little out. It won’t ever be by a quantity that matters. Just add a note like the one I suggest above.

You must be registered member to comment. If you're already a member, log in now, and if not go register (it's free and easy!).