Knowledge Base

Save us time to focus on some great new features and try our self service knowledge base. Search for anything.

WooCommerce PDF Catalog Filter & Hooks

Modify WooCommerce PDF Catalog Category Description


Adding the following code into your functions.php will overwrite the category description for the category ID 12. function modify_category_description( $description, $category_id) { if($category_id == 12) { $description = 'Modified...

Modify PDF category or products layout


If you want to modify the PDF category or products layout for different categories you can use the following 2 filter: woocommerce_pdf_catalog_category_layout woocommerce_pdf_catalog_products_layout Example how to modify the category...

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. You could hook yourself into the filter applied there like the...

PDF Catalog Data & HTML Filters for custom post data


Additional filters have been introduced with version 1.7.1. and up. These can be used to add addtional HTML into the data. You need to return a HTML inside your add_filters option: // Category HTML apply_filters(...

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_information_categories', 'show_case_pack_in_pdf', 10, 2); function...

Did not found what you was looking for?

Please submit a ticket with a detailed explanation about your problem.

Submit Ticket

We use cookies to give you the best online experience. By agreeing you accept the use of cookies in accordance with our cookie policy.

Close Popup
Privacy Settings saved!
Privacy Settings

When you visit any web site, it may store or retrieve information on your browser, mostly in the form of cookies. Control your personal Cookie Services here.

These cookies are necessary for the website to function and cannot be switched off in our systems.

Technical Cookies
In order to use this website we use the following technically required cookies
  • wordpress_test_cookie
  • wordpress_logged_in_
  • wordpress_sec

Decline all Services
Save
Accept all Services