chavife
Forum Replies Created
-
Forum: Plugins
In reply to: [Stock Manager for WooCommerce] Stock manager – loading failedHi 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.0Forum: Plugins
In reply to: [Stock Manager for WooCommerce] Save all bugthanks,
fixed 🙂
Forum: Plugins
In reply to: [Stock Manager for WooCommerce] Sales prices brokenAwesome mate,
works like a charm now 😉
thanks for great support
Forum: Plugins
In reply to: [Stock Manager for WooCommerce] Sales prices brokenHi,
thanks but it didn`t fix.
still the same problem.sending screenshots of the Sales bug:
https://drive.google.com/open?id=0B3mKw1trf7NcbXREQjFMRkRXX3c
https://drive.google.com/open?id=0B3mKw1trf7NceUMwbTBSQXdBRkU
https://drive.google.com/open?id=0B3mKw1trf7NcejlTcGwxME9lb2sAnd also an another bug..
Where is the regular price from of an variable product?? It even doesn`t exist normaly in woocommerce.
https://drive.google.com/open?id=0B3mKw1trf7NccWpYUDAyUHVrQ0UThanks for beign kind and helpful 😉