Jump to content

How to re-generate thumbnails on invoice and delivery slips PDF?


Recommended Posts

Hi!

This "problem" has been taunting me for some wile now, both with Prestashop 1.6, 1.7 and 8.0.

Whenever I update any product images, maybe because of better quality, new design etc., the old photos are still generated in invoice pdf and delivery slips pdf. I have regenerated all the images / thumbnails in BO but they won't update in the PDF's. Cleared cache both in BO and manually.

Thanks in advance.

Best regards,

Link to comment
Share on other sites

This one is really bugging me, I have updated the product image of most products (newer "better looking" images), but all the invoices I generate in the BO and such, displays the old product images. This is the same between Prestashop 1.6, 1.7 and 8.0 as far as I can tell.

There must be someway to update the images on the invoice and delivery slips as well? Some "hidden cache" I don't know about, which contains those photos?

Thanks in advance,

Best regards,

Link to comment
Share on other sites

Doesn't anyone know? :(

This must have been an issue for a lot of store owners, although I can't find anything when searching the forums and github.

The invoice and delivery slip PDF must be fetching the images from some folder? Why won't this folder update with new product images if provided for that product? For example, if I add a basic product image at first, then after two or three months I taka a professional image and replace the previous one, I would surely like the invoice PDF to also get this new photo.

Best regards,

Link to comment
Share on other sites

We too have the same problem.
previously it was enough to delete the images present in the img/tmp folder

product_mini_ for images on the delivery note
thickbox_default_ for the images in the invoice

example
thickbox_default_PRODUCT-ID_VARIANT-ID.jpg

But this today with us (PS 1.7.7.7.) is no longer working

Link to comment
Share on other sites

Hi, thanks for the info.

I remember something like that for 1.6 as well, when you mention it.

Anyone knows how to solve this with 1.7 and 8.0 (I guess it's the same between these two versions)?

Many thanks.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...