konsument
Forum Replies Created
-
Forum: Plugins
In reply to: [Contact Form 7] Last version 6.1.2 conflicts with HTML Template for CF7https://ww.wp.xz.cn/support/topic/tabs-broken-in-6-1-2/
Fix: https://github.com/mariovalney/cf7-html-email-template-extension/commit/a9054c7e5aef5a91d87a22a2cba1a6137c9f11c2- This reply was modified 8 months ago by konsument.
Forum: Plugins
In reply to: [Contact Form 7] p tag around checkbox is newDid you tried adding
define( 'WPCF7_AUTOP', false );to wp-config?
https://contactform7.com/controlling-behavior-by-setting-constants/
Forum: Plugins
In reply to: [Germanized for WooCommerce] Paypal Checkout – AGB CheckboxWir nutzen dieses
Forum: Plugins
In reply to: [Germanized for WooCommerce] “incl. VAT” ändernok. Danke
Forum: Plugins
In reply to: [Germanized for WooCommerce] “incl. VAT” ändernIch habe es nun erfolglos so versucht. Vermutlich hab ich es mir zu einfach gemacht, oder?
function wc_gzd_get_tax_rate_label_new( $rate_percentage, $type = 'incl' ) { if ( 'incl' === $type ) { $label = ( get_option( 'woocommerce_tax_total_display' ) == 'itemized' ? sprintf( __( 'incl. %s%% VAT', 'woocommerce-germanized' ), wc_gzd_format_tax_rate_percentage( $rate_percentage ) ) : __( 'incl. VAT*', 'woocommerce-germanized' ) ); } else { $label = ( get_option( 'woocommerce_tax_total_display' ) == 'itemized' ? sprintf( __( '%s%% VAT', 'woocommerce-germanized' ), wc_gzd_format_tax_rate_percentage( $rate_percentage ) ) : __( 'VAT', 'woocommerce-germanized' ) ); } return apply_filters( 'woocommerce_gzd_tax_rate_label', $label, $rate_percentage, $type ); } add_filter('wc_gzd_get_tax_rate_label', 'wc_gzd_get_tax_rate_label_new');Forum: Plugins
In reply to: [Germanized for WooCommerce] “incl. VAT” ändernIch nutze bereits WPML. Dort kann ich die originalen Strings leider nicht ändern. Da es nur um diesen String geht, würde ich das gerne ohne extra Plugin machen. Mir geht es nur um ein Sternchen was ich hinzufügen möchte (incl. VAT*).
Die Funktion steht ja in der “wz-gzd-core-functions” – gibt es da keine elegantere Lösung, z.B. über die functions.php o.ä.?
function wc_gzd_get_tax_rate_label( $rate_percentage, $type = 'incl' ) { if ( 'incl' === $type ) { $label = ( get_option( 'woocommerce_tax_total_display' ) == 'itemized' ? sprintf( __( 'incl. %s%% VAT', 'woocommerce-germanized' ), wc_gzd_format_tax_rate_percentage( $rate_percentage ) ) : __( 'incl. VAT', 'woocommerce-germanized' ) ); } else { $label = ( get_option( 'woocommerce_tax_total_display' ) == 'itemized' ? sprintf( __( '%s%% VAT', 'woocommerce-germanized' ), wc_gzd_format_tax_rate_percentage( $rate_percentage ) ) : __( 'VAT', 'woocommerce-germanized' ) ); } /** * Allow adjusting the tax rate label e.g. "incl. 19% tax". * * @param string $label The label. * @param int $rate_percentage The percentage e.g. 19. * * @since 2.3.3 * */ return apply_filters( 'woocommerce_gzd_tax_rate_label', $label, $rate_percentage, $type ); }Forum: Plugins
In reply to: [Germanized for WooCommerce] Textblöcke “suggested text” in E-MailsHi, habs gerade gefunden. Blöd, wenn man den Standard-Editor deaktiviert hat ohne die Inhalte darin vorher zu löschen. Danke!
Forum: Plugins
In reply to: [Germanized for WooCommerce] Variables Produkt – Preis verschieben pt.2Hi,
das der Preis für die Variation nicht angezeigt wird, wenn alle Variationen den selben Preis haben, scheint wohl schon ein längeres Thema bei WC zu sein. Die Lösung dafür habe ich hier gefunden.
Nun bleibt noch eine “Kleinigkeit” offen, bei der du mir vielleicht noch helfen kannst.
Wenn Produkte in einer Kategorieseite geteasert werden, dann zeigt germanized bei variablen Preisen entsprechend den Hinweis “inkl. MwSt.” bzw. “inkl. 19% MwSt.” bei einfachen Produkten an. Nun zeigt mir germanized bei Produkten, die alle den selben Variations-Preis haben, eben “inkl. MwSt.” statt “inkl. 19% MwSt.” an.
Gibt es eine Möglichkeit, mir dauerhaft “inkl. 19% MwSt.” anzeigen zu lassen? Da ich keine anderen Produkte habe die unter einem anderen Steuersatz fallen, wäre das die perfekte Lösung für mich.
Forum: Plugins
In reply to: [Germanized for WooCommerce] Variables Produkt – Preis verschieben pt.2Hi,
das Update hat schon mal einen Teilerfolg gebracht. Offen bleibt die Frage, weshalb kein Preis gesetzt wird, wenn ich in den Variationen die Einstellung “irgendwelche …” verwende, die alle den selben Preis haben. Erst wenn es eine Variation mit einem anderen Preis einstelle, wird der Preis auch in meinem eigenen p.price-Tag angezeigt.
Forum: Plugins
In reply to: [Germanized for WooCommerce] Variables Produkt – Preis verschiebenHi,
die Position des Hinweises lässt sich im Backend leider nicht an die Stelle bringen die ich benötige. Bei variablen Produkten, werden die Auswahlmöglichkeiten direkt vor dem Warenkorb-Button gezeigt. Mein Ziel war es, den Preis zwischen den Variablen und den Button zu bekommen. Gelöst habe ich es nun so:
Preis entfernt
remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_price', 10 );Da germanized scheinbar automatisch nach p.price sucht, erübrigt sich die extra Funktion. Also habe ich in meiner variation-add-to-cart-button einfach folgendes probiert
<div class="priceWrap"> <p class="price"></p> <?php wc_get_template( 'single-product/legal-info.php' ); ?> </div>was wunderbar funktioniert.
Forum: Plugins
In reply to: [Germanized for WooCommerce] Variables Produkt – Preis verschiebenDanke für die Rückmeldung.
Da mich die von-bis-Preise stören, lade ich meine Produkte schon mit vorausgewählten Attributen.
Ich hatte davor (vor germanized) den Preis zunächst ausgeblendet und dann den variablen Preis eben verschoben. Damit hatte ich auch nicht das kurze “Blinken” des von-bis-Preises.
Die Lösung, den Preis einem anderen Element zuzuweisen, ist schon passend für meine Bedürfnisse. Damit blitzt auch der v-b-Preis nicht mehr auf. Nur eben hätte ich noch gerne den “legal-price-info” Container darunter. Welchen Sinn macht es sonst nur den Preis zu verschieben, wenn nicht gleich die ganze Info?
Forum: Plugins
In reply to: [WooCommerce] Sort Attributes (not terms)Hi and thanks for your reply. Since I need a custom order I did it this way
$order = array(6,1,2,3,4,5,0); uksort($attribute_taxonomies, function($a, $b) use ($order) { return (array_search($a, $order) > array_search($b, $order)); }); return $attribute_taxonomies;I just was hoping theres a way to sort them in backend somehow.
Forum: Plugins
In reply to: [YITH WooCommerce Wishlist] Wishlist button after add to cart buttonSince your button is translated on your page, you should mark the thread as resolved.
Forum: Plugins
In reply to: [YITH WooCommerce Wishlist] Count items on wishlistHey,
thanks again for your reply. In the meantime I found the problem. I had two elements with class “counter” in my theme. One for the items on my wishlist and the other I used for filtering products to show the amount after filter-action. This of course also wrote the numbers in my wishlist-counter element. Im so sorry that I wasted your time just because I was too stupid to give proper classes.
Thanks anyway for your great support.