Johannes
Forum Replies Created
-
Could you add a filter so we’re able to rename the action to e.g. woocommerce_my_account_referral ?
$this->loader->add_action(‘woocommerce_my_account_referral’, $plugin_public, ‘account_page_show_link’);
Forum: Plugins
In reply to: [PHP/MySQL CPU performance statistics] Test is Ok but mysql perfs are notI have also very low results for MySQL Query test:
Query test (200 times): 25.35 seconds (8/sec)
Any suggestions on how to improve these?
Running on Nginx, php7, with redis cache.
Forum: Plugins
In reply to: [WooCommerce] email notification to admin when order status is 'on-hold'I’m also not receiving notification emails for on-hold orders. The customer receives the email. But admin doesn’t. Also I can’t change the recipients for this email notifications.
In the email settings list it just says “Customer”.
It’s important to know when an order is on hold, so staff can check whether a bank transfer payment was made oder not.
Using WooCommerce 2.6.2
Forum: Plugins
In reply to: [Refer A Friend for WooCommerce by WPGens] Shortcodeyes please let me know ones it is available. Thanks!
I installed Postman instead. Works perfect.
yes please add this feature.
E.g. in case autofill is active in the browser the password will be stored visible for everyone, which is a huge security risk. Please store the password encrypted in the database.
yes, but I only wanted to remove that button, so no one accidentally clicks it.
Thanks!This worked for me:
// Remove Order Actions button if ( class_exists( 'woocommerce' ) ) { add_filter('woocommerce_admin_order_actions','woo_disable_complete_action'); function woo_disable_complete_action( $actions ){ unset($actions['complete']); return $actions; } }And in case user role editor is installed:
// Remove Order Actions button if ( class_exists( 'woocommerce' ) && class_exists( 'User_Role_Editor' )) { add_filter('woocommerce_admin_order_actions','woo_disable_complete_action'); function woo_disable_complete_action( $actions ){ if( !current_user_can('mark_order_complete') ) { unset($actions['complete']); } return $actions; } }have you found a solution?
I need to remove the “Complete” Button.
Is there a hook for it?
Forum: Reviews
In reply to: [MINDBODY Widget] A let down – Not what you expectHave you found another solution that fits your needs?
Many thanks for this review!Forum: Themes and Templates
In reply to: Mystile – Woo commerce theme is showing blank page.Ok looks like a Mystile problem. Even the demo on woothemes doesn’t work anymore. I switched to storefront theme.
Forum: Themes and Templates
In reply to: Mystile – Woo commerce theme is showing blank page.I have the same problem. The page is not loading. Showing only a blank page.
Forum: Plugins
In reply to: [Search Everything] Error Saving CSS Colors on Settings PageThanks a lot!
Cool. Thanks for the hint!
Yeah I think one should wait until object-fit has a wider support. The lack of browser support for object-fit is actually the only reason I’m still using background-images 😉
I have had the same problem and came up with a custom php snippet that generates a style tag for each background image.
Not a very clean solution, but it works.<?php $my-image = MY-IMAGE-URL; $my-image-retina = str_replace(".jpg", "@2x.jpg", $my-image); echo '<style> .my-background-image { background-image: url(' . $my-image . '); } @media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi), (min-device-pixel-ratio: 1.5) { .my-background-image { background-image: url(' . $my-image-retina . '); } } </style>'; ?>… Browser should automatically search and load retina images. Maybe in a near future.