Support » Plugin: Germanized for WooCommerce » Add ability to use link in “Versandzeit”/Add custom “Versandinfo” page

  • Resolved MichaelNi


    Some shop owners ship to different countries and therefore need to various delivery times to different countries. This is usually implemented using a “Versandzeit: 2-3 Tage nach DE, Ausland l√§nger, {link}Versandinfo{/link}”-like template. Unfortunately, in the current version of WooCommerce Germanized, it does not look as if this was possible. I can’t add a link using a href or any other means of code.

    I do know about the possibility to remove the WC germanized hook, but I’m fairly sure that I’m not the only one with this problem.

    Feature requests:
    – Add possibility to add link to “Versandzeit”-settings
    – Add a custom “Versandinfo” page, similar to AGB, Versandarten, etc.
    – It may be possible to merge the “Versandarten” and “Versandinfo”-page

    • This topic was modified 2 years, 3 months ago by MichaelNi.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Dennis


    Hi there,

    hm, that is exactly what the page “Versandarten” is for. You should inform the customer about your shipping costs on this page. By using the shortcode {link}{/link} within the corresponding setting you may link to your shipping costs page.


    Thread Starter MichaelNi


    Dear Dennis,

    I need to add a link under “Lieferzeit Text”. This is not possible at the moment. The {link} can only be used in “Versandkosten Text”. I have modified the plugin myself in a awy that a {versand}-tag is possible, however, {link} does not work in the “Lieferzeit Text”-field.

    Please see (screenshots there) for details.


    Plugin Contributor Dennis



    yes, the shortcode is limited to the actual use case, e.g. the link to your shipping costs can only be added within the shipping costs text option.

    I’ll eventually add a new shortcode for the delivery time text. Currently you could add the following snippet to your functions.php

    add_filter( 'woocommerce_germanized_delivery_time_html', 'my_child_adjust_delivery_time_html', 10, 3 );
    function my_child_adjust_delivery_time_html( $html_replaced, $html, $product ) {
        if ( $product->get_delivery_time_term() ) {
    	$html = $product->get_delivery_time_term()->name;
        } else {
    	$html = apply_filters( 'woocommerce_germanized_empty_delivery_time_text', '', $product );
        if ( ! empty( $html ) ) {
            $html = str_replace( '{delivery_time}', '<a href="link_zur_seite">' . $html . '</a>', get_option( 'woocommerce_gzd_delivery_time_text' ) );
        return $html;

    You may adjust the link within the snippet to your needs.


Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Add ability to use link in “Versandzeit”/Add custom “Versandinfo” page’ is closed to new replies.