Hi,
habs gefunden :-) Scheint auch zu funzen.
Für alle die das ebenfalls optisch nicht so schön finden wie ich und es aus jedem Produkt in der
Übersicht weg haben wollen, hier die Lösung:
In folgemden Verzeichnis
wp-content/plugins/woocommerce-germanized/templates/single-product/
findet Ihr die Datei
tax-info.php
In dieser Datei gibt es diesen Code:
<?php
/**
* The Template for displaying tax notice for a certain product.
*
* This template can be overridden by copying it to yourtheme/woocommerce-germanized/single-product/tax-info.php.
*
* HOWEVER, on occasion Germanized will need to update template files and you
* (the theme developer) will need to copy the new files to your theme to
* maintain compatibility. We try to do this as little as possible, but it does
* happen. When this occurs the version of the template file will be bumped and
* the readme will list any important changes.
*
* @see https://github.com/vendidero/wooc…nized-Templates
* @package Germanized/Templates
* @version 3.0.0
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
} // Exit if accessed directly
global $product;
?>
<?php if ( wc_gzd_get_product( $product )->get_tax_info() ) : ?>
<p class="wc-gzd-additional-info tax-info"><?php echo wc_gzd_get_product( $product )->get_tax_info(); ?></p>
<?php elseif ( get_option( 'woocommerce_gzd_small_enterprise' ) == 'no' ) : ?>
<p class="wc-gzd-additional-info small-business-info"><?php echo wc_gzd_get_small_business_product_notice(); ?></p>
<?php endif; ?>
In der 3. letzten Zeile ist das was wir suchen:
<?php elseif ( get_option( 'woocommerce_gzd_small_enterprise' ) == 'yes' ) : ?>
Wenn Ihr nun aus dem yes ein no macht, verschwindet der Hinweis bei den Artikeln in der Übersicht.
Der Hinweis im Footer jeder Seite, auf den Produktseiten der einzelnen Produkte, im Warenkorb und
abschließend im Kassenvorgang bleibt der Hinweis vorhanden.
Ich hoffe ich konnte dem ein oder anderen helfen.
Gruß
Özden