• Resolved mediaburg

    (@mediaburg)


    Hi,

    in Verbindung mit dem Plugin “WooCommerce Product Bundles” und einem Variablem Produkt kommt es zu einem Server Error 500 weil die Funktion in einen Loop reinläuft.

    Datei: wp-content/plugins/woocommerce-germanized/includes/abstracts/abstract-wc-gzd-product.php
    Funktion: hide_shopmarks_due_to_missing_price

    Code alt:

    if ( ! doing_action( 'woocommerce_get_price_html' ) ) {
      $price_html_checked = ( '' === $this->child->get_price_html() );
    }

    Gefixt habe ich es mit einer weiteren Abfrage:

    if ( ! doing_action( 'woocommerce_get_price_html' ) && ! doing_action( 'woocommerce_bundled_item_price_html' ) ) {
      $price_html_checked = ( '' === $this->child->get_price_html() );
    }

    Könnt ihr das bitte im Code fixen und in das nächste Release übernehmen?

    Danke!

Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Internal Server Error 500’ is closed to new replies.