-
Fixed: The logo in the PDF datasheet header was distorted — logos that are not very wide were stretched to 5 cm width and small logos were enlarged. With the new default CSS the logo keeps its aspect ratio: at most 50 px high, at most 5 cm wide, small logos stay at their original size.
Heads-up: Existing installations keep their saved CSS under "PDF Style". To get the new behaviour, replace header .main-logo{ width: 5cm; max-height:50px; } there with header .main-logo{ max-width: 5cm; max-height: 50px; }.
-
Improved: With image recompression enabled, PNG images without an alpha channel, transparency or colour palette are now converted much faster; the result is unchanged. The option's help text now explains that large PNG images with an alpha channel, transparency or a colour palette and without thumbnails noticeably lengthen generation.
-
Added: The PDF datasheet can now show the product's manufacturer — with its logo, or with its name when no logo is assigned. It appears as the first row of the key-facts table; variants show the manufacturer of their main product unless they have their own. The logo is never re-compressed, so transparency is kept. The "Show manufacturer (logo, or name if no logo)" option under "PDF content" is off by default.
-
Added: When a manufacturer is saved (e.g. a new logo or a changed name), the cached datasheets of its products are regenerated automatically shortly afterwards.
-
Added: The PDF datasheet can now show selected product custom fields in a separate "Additional information" section, one row per field with its label and value. Choose the fields under "PDF content" in "Product custom fields shown in the datasheet" — none are selected by default, so the datasheet stays unchanged. Supported are text, number, yes/no, date, and single and multiple selection (shown with the option labels); labels and values appear in the datasheet's language. Empty fields and fields of other types (e.g. media or formatted text) are left out; if a product has no value in any selected field, the section is omitted. Variants use the values of their main product unless they have their own.
-
Added: When a custom field is changed (e.g. its label or the labels of its options), the cached datasheets that show it are regenerated automatically shortly afterwards.
- Improved: Images and fonts for the PDF datasheet are now loaded directly from the shop's file system instead of through internal HTTP calls. PDF generation no longer occupies additional web server processes, so datasheets for products with many images are generated noticeably more reliably, even with a cold cache. Images embedded in the product description continue to be loaded from their address.
- Added: New setting "Use image thumbnails instead of original images" under "PDF content". When enabled, the main image and gallery images are taken from the existing media thumbnails, producing smaller PDF files at a lower image resolution. Off by default — without changing it, the datasheet looks exactly as before.
- Added: Product description, short description, properties, additional images and the main image can now be shown or hidden individually for the datasheet in the plugin settings under "PDF content". All sections are enabled by default.
- Fixed: The main image is no longer duplicated in the datasheet's "Additional images" gallery.
- Set table font to DejaVuSans
- Added font: DejaVuSans Bold
- Generated PDF responses are now cached via the Shopware HTTP cache when the new "Enable HTTP caching for PDF datasheets" option is active (default: true). A dedicated subscriber invalidates the cache immediately when any plugin configuration is changed via force-invalidation.
- Fixes a potential out-of-memory error in PDF generation for variant products with many siblings. New configuration option "Variant data scope in PDF template" with three levels (None / Basic / Full) controls how much variant data is loaded into the PDF template.
- Changed font to DejaVuSans
- Returning 404 code for inactive products PDf links
- Bugfix: Articles additional media is now correctly added to PDF
- Shopware 6.7 compatibility
-
Fixed: The logo in the PDF datasheet header was distorted — logos that are not very wide were stretched to 5 cm width and small logos were enlarged. With the new default CSS the logo keeps its aspect ratio: at most 50 px high, at most 5 cm wide, small logos stay at their original size.
Heads-up: Existing installations keep their saved CSS under "PDF Style". To get the new behaviour, replace header .main-logo{ width: 5cm; max-height:50px; } there with header .main-logo{ max-width: 5cm; max-height: 50px; }.
-
Improved: With image recompression enabled, PNG images without an alpha channel, transparency or colour palette are now converted much faster; the result is unchanged. The option's help text now explains that large PNG images with an alpha channel, transparency or a colour palette and without thumbnails noticeably lengthen generation.
-
Added: The PDF datasheet can now show the product's manufacturer — with its logo, or with its name when no logo is assigned. It appears as the first row of the key-facts table; variants show the manufacturer of their main product unless they have their own. The logo is never re-compressed, so transparency is kept. The "Show manufacturer (logo, or name if no logo)" option under "PDF content" is off by default.
-
Added: When a manufacturer is saved (e.g. a new logo or a changed name), the cached datasheets of its products are regenerated automatically shortly afterwards.
-
Added: The PDF datasheet can now show selected product custom fields in a separate "Additional information" section, one row per field with its label and value. Choose the fields under "PDF content" in "Product custom fields shown in the datasheet" — none are selected by default, so the datasheet stays unchanged. Supported are text, number, yes/no, date, and single and multiple selection (shown with the option labels); labels and values appear in the datasheet's language. Empty fields and fields of other types (e.g. media or formatted text) are left out; if a product has no value in any selected field, the section is omitted. Variants use the values of their main product unless they have their own.
-
Added: When a custom field is changed (e.g. its label or the labels of its options), the cached datasheets that show it are regenerated automatically shortly afterwards.
- Improved: Images and fonts for the PDF datasheet are now loaded directly from the shop's file system instead of through internal HTTP calls. PDF generation no longer occupies additional web server processes, so datasheets for products with many images are generated noticeably more reliably, even with a cold cache. Images embedded in the product description continue to be loaded from their address.
- Added: New setting "Use image thumbnails instead of original images" under "PDF content". When enabled, the main image and gallery images are taken from the existing media thumbnails, producing smaller PDF files at a lower image resolution. Off by default — without changing it, the datasheet looks exactly as before.
- Added: Product description, short description, properties, additional images and the main image can now be shown or hidden individually for the datasheet in the plugin settings under "PDF content". All sections are enabled by default.
- Fixed: The main image is no longer duplicated in the datasheet's "Additional images" gallery.
- Set table font to DejaVuSans
- Font DejaVuSans Bold added
- Missing font DejaVuSans added
- Generated PDF responses are now cached via the Shopware HTTP cache when the new "Enable HTTP caching for PDF datasheets" option is active (default: true). A dedicated subscriber invalidates the cache immediately when any plugin configuration is changed via force-invalidation.
- Fixes a potential out-of-memory error in PDF generation for variant products with many siblings. New configuration option "Variant data scope in PDF template" with three levels (None / Basic / Full) controls how much variant data is loaded into the PDF template.
- Changed font to DejaVuSans
- Returning 404 code for inactive products PDf links
- Added possibility to change icon on product detail page
- Fixed issue with style applying
- Shopware 6.6 compatibility
- Returning 404 code for inactive products PDf links
- Added possibility to change icon on product detail page
- Fixed issue with style applying
- Added more data / associations
- Shopware 6.5 Compatibility
- Returning 404 code for inactive products PDf links
- Added possibility to change icon on product detail page
- Fixed issue with style applying
Added "options.group" association
- "PDF can by found by search engines" does not set a rel="nofollow" / rel="follow" tag to the PDF link.
Compatibility for Shopware version >= 6.4.19.x
- Compatibility for Shopware version >= 6.4.7.0
- Fixes a bug within the PDF-generation when the product name contains special characters
- Support for product detail shopping experiences