CV - Matthias Buchner
| Zeitraum | Tätigkeit | |
|---|---|---|
| Seit 07/2014 | Selbstständige Tätigkeit (Webprojekte) | |
| Seit 05/2023 | Applikations- und Projektmanager LMS/CMS, FORUM VERLAG HERKERT GMBH | |
| 05/2021 - 08/2022 | Projektmanager, tourware GmbH | |
| 03/2017 – 09/2020 | Projektmanager, Carl Hanser Verlag GmbH & Co. KG | |
| 03/2016 - 09/2020 | Teamleitung Content Management, Henrich Publikationen GmbH | |
| 01/2012 – 09/2013 | Teamleitung Auftragsabwicklung, Buchhaltung & Controlling, infoteam Software AG | |
| 12/2008 – 12/2011 | Corporate Controlling, infoteam Software AG | |
| 08/2007 – 11/2008 | Assistenz der Geschäftsleitung, COPRA System GmbH | |
Produkte einer bestimmten Kategorie auf Shopseite ausblenden
Machmal ist es gewünscht, dass Produkte einer bestimmten Produkt-Kategorie nicht auf der Shop-Seite ausgespielt werden sollen, sondern nur auf den Produkt-Kategorieseiten.
Mit Hilfe des folgenden Snippets ist dies möglich. Produkte, denen die Kategorie mit dem Slug „clothing“ zugeordnet ist, werden nicht mehr auf der Shop-Seite ausgespielt.
Das Snippet ist wie üblich in die functions.php zu kopieren.
// Quelle: https://docs.woocommerce.com/document/exclude-a-category-from-the-shop-page/#
function custom_pre_get_posts_query( $q ) {
$tax_query = (array) $q->get( 'tax_query' );
$tax_query[] = array(
'taxonomy' => 'product_cat',
'field' => 'slug',
'terms' => array( 'clothing' ), // Don't display products in the clothing category on the shop page.
'operator' => 'NOT IN'
);
$q->set( 'tax_query', $tax_query );
}
add_action( 'woocommerce_product_query', 'custom_pre_get_posts_query' );