torbent
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Free shipping for a minimum cart value is not workingThey are both in one zone, yes:
Additionally I have this code in my functions.php:
add_filter( 'woocommerce_shipping_free_shipping_is_available', 'free_shipping_based_on_cart_shipping_class' ); function free_shipping_based_on_cart_shipping_class( $is_available ) { /** * This example enables free shipping only when an item is found in the cart with a class named 'free_shipping' */ $cart_items = WC()->cart->get_cart(); $found = false; foreach ( $cart_items as $cart_item ) { $product = $cart_item['data']; $class = $product->get_shipping_class(); if ( 'buchversand' === $class ) { $found = true; break; } } return $is_available && $found; } /** * Hide shipping rates when free shipping is available. * Updated to support WooCommerce 2.6 Shipping Zones. * * @param array $rates Array of rates found for the package. * @return array */ function my_hide_shipping_when_free_is_available( $rates ) { $free = array(); foreach ( $rates as $rate_id => $rate ) { if ( 'free_shipping' === $rate->method_id ) { $free[ $rate_id ] = $rate; break; } } return ! empty( $free ) ? $free : $rates; } add_filter( 'woocommerce_package_rates', 'my_hide_shipping_when_free_is_available', 100 );
Forum: Plugins
In reply to: [WooCommerce] Follow-up email in case somebody left the checkout?Do you know if this Extension sends the email automatically? To me it looks more like a reporting tool…
Forum: Plugins
In reply to: [WooCommerce] WooCommerce breadcrumbs – exclude parent category?Hey Caleb,
I am comfortable with writing code – I just thought that there might be a snippet that I can use. Then I need to create my own ??Thanks!
Forum: Plugins
In reply to: [WooCommerce] Sorting of search resultsMike, do you mean this one?
https://www.ads-software.com/plugins/search-everything/
There is no easy and quick snippet that changes the order or search criteria?
Forum: Plugins
In reply to: [Media from FTP] Images are not found why?Hey Katsushi,
thanks for the quick reply. I know, but can’t I scan for files which are in the wp-content/uploads folder and are not registered in the media library? Somehow I have this issue on one of my websites…Forum: Fixing WordPress
In reply to: Media Library shows only pictures of 2015 / 2016Any chance that somebody knows the answer to reindex the wp-content/upload folder?
Forum: Fixing WordPress
In reply to: Media Library shows only pictures of 2015 / 2016In 2014 the blog moved from Blogger to www.ads-software.com … does that ring a bell?
Forum: Fixing WordPress
In reply to: Media Library shows only pictures of 2015 / 2016But is there any possibility to reindex all files which are uploaded in wp-content/uploads?
Forum: Plugins
In reply to: [The Events Calendar] Language of WidgetIts here on the right sidebar, below “Schau mal vorbei”
II found it. It was a problem with the WP SMTP Plugin, when I change the setting from
Send all WordPress emails via SMTP.
to:
Use the PHP mail() function to send emails.
everything works…
Hey,
I get this one:[Fri Feb 19 14:38:48 2016] [warn] [client 31.18.178.43] mod_fcgid: read data timeout in 60 seconds, referer: https://www.example.com/bestellung_pruefen_bezahlen/ [Fri Feb 19 14:38:48 2016] [error] [client 31.18.178.43] Premature end of script headers: index.php, referer: https://www.example.com/bestellung_pruefen_bezahlen/
Do you know what this is and how I can fix it?
Forum: Fixing WordPress
In reply to: What is yts/jsbin/player ?Thanks James.
Forum: Fixing WordPress
In reply to: What is yts/jsbin/player ?Not really. Can I deactivate it?
I deactivated GermanMarket – no change. I now identified that the Shipping Costs in WC are set to 0 after the first invoice has been printed. Thats why it is missing when I print it the second time. Hm, any idea?
Forum: Fixing WordPress
In reply to: High CPU Load After Update to v4.3Hello,
I did implemented the fix in the mu-plugins directory and edited the taxonomy.php, but still my site shows a white screen.How can I do the necessary actions directly in the database?
Thanks!