• Hi,

    After the latest update, the inventory is not visible anymore. It is showing as “loading failed.”

    I am using admin account.

    Please help

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter souvikbiswassxcs

    (@souvikbiswassxcs)

    I have the following config:
    Stock MAanger : Version 2.5.7
    Woocommerce: Version 5.2.2
    Wordpress: version: 5.7.1

    Hi Support team,
    Same to me on my page. I guess there is an update in need.
    Best Alex

    Plugin Author storeapps

    (@storeapps)

    Hi there,

    To rule out any possible plugin/theme conflict-related issue, please install the free plugin Health Check & Troubleshooting by WordPress and keep only WooCommerce and WooCommerce Stock Manager plugins active on the admin side of your site and then try to reproduce the same issue.
    This doc will help you with setting it up.

    Please try it and let us know how that goes for you.

    Hi I have the same issue and managed to find the issue. I am running code snippets plugin and one specific snippet is doing this issue.

    the following snippet looks like

    function edit_price_display($price, $product) {
      
      $min_price = $product->get_variation_price('min');
      $max_price = $product->get_variation_price('max');
      
      $min_price_excl_tax = $min_price / 1.2;
      $max_price_excl_tax = $max_price / 1.2;
     
      $min_price_excl_tax = number_format($min_price_excl_tax, 2, ",", "."); 
      $min_price = number_format($min_price, 2, ",", "."); 
      $max_price_excl_tax = number_format($max_price_excl_tax, 2, ",", "."); 
      $max_price = number_format($max_price, 2, ",", "."); 
     
      if($min_price == $max_price){
    	$display_price = '<span class="price">';
      	$display_price .= '<span class="amount">' . $min_price .' €<small class="woocommerce-price-suffix"> s DPH</small></span>';
      	$display_price .= '<br>';
      	$display_price .= '<span class="amount amount-excl">' . $min_price_excl_tax .' €<small class="woocommerce-price-suffix"> bez DPH</small></span>';
      	$display_price .= '</span>';
      }else{
    	$display_price = '<span class="price">';
      	$display_price .= '<span class="amount">' . $min_price .' €<small class="woocommerce-price-suffix"> - </small>' . $max_price .' €<small class="woocommerce-price-suffix"> s DPH</small></span>';
      	$display_price .= '<br>';
      	$display_price .= '<span class="amount amount-excl">' . $min_price_excl_tax .' €<small class="woocommerce-price-suffix"> - </small>' . $max_price_excl_tax .' €<small class="woocommerce-price-suffix"> bez DPH</small></span>';
      	$display_price .= '</span>';
      }
     
      echo $display_price;
    }
     
    //add_filter('woocommerce_price_html', 'edit_price_display', 10, 2);
    add_filter('woocommerce_variable_price_html', 'edit_price_display', 10, 2);

    and even if I enable it only in the front end the stock manager will not work
    I am running
    WordPress 5.1.10 with Butique theme
    Woocommerce 3.5.7
    Woocommerce stock manager 2.6.0

    Plugin Author storeapps

    (@storeapps)

    Hi there,

    Sorry for the trouble.

    We will have a check with the same code snippet and do let you know our findings.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Stock manager – loading failed’ is closed to new replies.