• Resolved kratkyk

    (@kratkyk)


    Your invoicing plugin is perfect, but I would need to set it up to create invoices outside of the database.

    They are currently creating invoices directly into the database, which causes the database to gradually grow :-(.

    There is an option to set invoices to be saved outside the database, e.g. to /wp-content/uploads/woocommerce_uploads/……

    Thank you for answer.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author EDGARROJAS

    (@edgarrojas)

    Hello!

    Are you using a recent version of the plugin? The recent versions no longer save the pdf (the html code) in the database. There are still some stuff that are saved like the invoice id and date but the html code of the pdf is not saved anymore.

    Thread Starter kratkyk

    (@kratkyk)

    Hi,

    I am currently using the version available on WordPress 1.2.80:
    https://ww.wp.xz.cn/plugins/woo-pdf-invoice-builder/
    Yes, the files have shrunk, but there is still a lot of information in the field: fields_dictionary mediumtext e.g.

    {“pdfField_45”:{“targetId”:”header”,”styles”:{“left”:”562px”,”top”:”16.50000762939453px”,”z-index”:500,”position”:”absolute “,”font-size”:”14px”,”width”:16.6,”height”:”264px”}, etc…………………. ……………………………..

    That’s why I was wondering if further data reduction is being considered?

    Plugin Author EDGARROJAS

    (@edgarrojas)

    Oh actually that field is not used anymore either, thanks for pointing that out, it will no longer save any information in the next release.

    Thread Starter kratkyk

    (@kratkyk)

    Hello,

    Thank you for answer.

    Where exactly does the plugin save the created invoices within the directory (I can’t find it in the directories)?

    Plugin Author EDGARROJAS

    (@edgarrojas)

    Hello!

    For security reasons the pdfs are deleted after use, they are not permanently saved anywhere although you can configure the plugin to send the pdf to another place like google drive.

    Regards!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Saving invoices outside the database’ is closed to new replies.