PrestaShop Forum

The best place in the world to ask questions about PrestaShop and get advice from our passionate community!

PrestaShop Forum

Jump to content

 

OrdersPDF with templates

10 replies to this topic
#1
carlos-

    PrestaShop Newbie

  • Members
  • Pip
  • 6 posts
We have just developed a module which allows to generate PDF files of our orders.

Allows you to filter by date and status. It also allows multiple templates, as well as editing.

He is currently in beta, we expect your suggestions.

Thank you very much.


2010-February-10 : 1.2
-------------------------

Fixed the bug of creating and editing templates
Compatible with version 1.3.0.1 (SVN)

Attached Files



#2
Abh

    PrestaShop Apprentice

  • Members
  • PipPip
  • 467 posts
Great, this is one of the things prestashop was missing.

I just can't seem to make the templates apear when online. Works great on local though. I gave 777 perms to templates directory, then to the templates themselves, then to the whole module directory and files, but still no template to choose from.

#3
jmacias

    PrestaShop Apprentice

  • Members
  • PipPip
  • 37 posts
Hi, needs php 5.3, tomorrow will change some functions to make it function with previous PHP version.

#4
carlos-

    PrestaShop Newbie

  • Members
  • Pip
  • 6 posts
Hello everyone.

OrdersPDF has been updated to version 1.2.

Fixed some bugs related to creating and editing templates.
Compatible with older versions of php.
Compatible with prestashop 1.3.0.2

Thank you very much.

#5
Abh

    PrestaShop Apprentice

  • Members
  • PipPip
  • 467 posts
Works now, thank you, this is really a complex module. You thought of everything.

#6
mooshi

    PrestaShop Apprentice

  • Members
  • PipPip
  • 168 posts
Hi! Carlos

Excellent! mod thanks very much...can I ask when the PDF are generated where are they stored? I know that you can download, but do you need to go into the DB if you wanted to retrieve all your orders?

#7
carlos-

    PrestaShop Newbie

  • Members
  • Pip
  • 6 posts
Abh and amikka thanks.

The PDF is generated by PHP and offers it for download, but not stored on the server.

If you need to be saved on the server can be changed easily, let me know if you need.

#8
mooshi

    PrestaShop Apprentice

  • Members
  • PipPip
  • 168 posts
Hi! Carlos.....no that is fine thanks very much. I just wasn't sure if after they were generated, they would accumulate on the server (cache).

Thank you again, it's a very generous! contribution

#9
wallacept

    PrestaShop Apprentice

  • Members
  • PipPip
  • 170 posts
not working.

not appear number order, not appear number customer, not appear prices products, not appear products, not appear reference products, ...
nothing...
CCampea Store- http://www.ccampea.com/lojacc - Store online motos, bikes, helmets

CCampea Twitter- http://twitter.com/ccampealoja

CCampea Facebook - CCampea Facebook - Store Online Motos, Bikes and Accessories

CCampea ThisNext - CCampea This

#10
carlos-

    PrestaShop Newbie

  • Members
  • Pip
  • 6 posts
wallacept hello.

It's just a beta, we're working on it and expanding it.

The number order and customer number are the "id" field of order and customer.

Moreover, the module is not prepared to handle products, but we planning to do another version which can handle products.

Thank you very much.

#11
radders

    PrestaShop Apprentice

  • Members
  • PipPip
  • 255 posts
Looks interesting.
Can you choose the template based on the delivery country (include/exclude)? If this were possible then it could maybe allow Prestashop to be used internationally.