WooCommerce PDF Catalog Filter & Hooks
Articles 5
- Modify WooCommerce PDF Catalog Category DescriptionAdding the following code into your functions.php will overwrite the category description for the category ID 12. function modify_category_description( $description, $ca…
- Modify PDF category or products layoutIf you want to modify the PDF category or products layout for different categories you can use the following 2 filters: woocommerce_pdf_catalog_category_layout woocommer…
- Are WooCommerce B2B or Discount Plugins supported in PDF?We use the WooCommerce standard get_price_html function to get the price for a product. If your 3rd party B2B or discount plugin hooks into this function, it will work. …
- PDF Catalog Data & HTML Filters for custom post dataAdditional filters have been introduced with version 1.7.1. and up. These can be used to add additional HTML into the data. You need to return an HTML inside your add_fi…
- How to add custom Data to the WooCommerce Products PDF?If you want to add / show some custom data like post meta or similar, you can use one of our hooks. An example: add_filter( 'woocommerce_pdf_catalog_before_product_infor…