PDF-Katalogdaten & HTML-Filter für benutzerdefinierte Postdaten

Zusätzliche Filter wurden mit Version 1 eingeführt.7.1. und aufwärts. Diese können verwendet werden, um zusätzliches HTML zu den Daten hinzuzufügen. Sie müssen ein HTML innerhalb Ihrer add_filters Option zurückgeben:

// Kategorie HTMLapply_filters( 'woocommerce_pdf_catalog_category_html', $categoryTemplate->get_template($categoryLayout), $category_id);// Produkt-HTMLapply_filters('woocommerce_pdf_catalog_single_product_html', $html, $this->data->ID)// Alle Produktdatenapply_filters('woocommerce_pdf_catalog_catalog_product_data', $this->data);// Produktinformationsfilter - Rückgabe $HTMLapply_filters('woocommerce_pdf_catalog_before_product_information', '', $this->data->ID);apply_filters('woocommerce_pdf_catalog_before_product_information_start', '', $this->data->ID);apply_filters('woocommerce_pdf_catalog_before_product_information_read_more', '', $this->data->ID);apply_filters('woocommerce_pdf_catalog_before_product_information_categories', '', $this->data->ID);apply_filters('woocommerce_pdf_catalog_before_product_information_end', '', $this->data->ID);apply_filters('woocommerce_pdf_catalog_after_product_information', '', $this->data->ID);

4 Meinungen zu “PDF-Katalogdaten & HTML-Filter für benutzerdefinierte Postdaten

  1. Santiago sagt:

    Hi guys, I need to modify the template or create a new one, I used the custom css option that enabled debug mode, but when I disable it again, the style code doesn’t work.

  2. Tahir sagt:

    Hi,
    I have the problem that Santiago is experiencing.
    I added the code “Custom CSS> .product-sku b {display: none;}”.
    But it didn’t work in PDF.
    What should I do?

    best regards,
    Tahir

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert