gbruzzo
Forum Replies Created
-
Dear @hristo-sg
Thank you very much for taking the time to address my questions above, this enables me to better understand.
Are there any specific hooks which, when triggered, cause partial or total recrawling?
Example : if you have a product counter on the single product page and the customer buys that product, you might want to allow for that cache to refresh reflecting the new stock availability etc.
Thanks for any further info.
Giacomo Bruzzo
Forum: Plugins
In reply to: [Speed Optimizer - The All-In-One Performance-Boosting Plugin] some conflictForum: Plugins
In reply to: [Speed Optimizer - The All-In-One Performance-Boosting Plugin] some conflictHello there @shorki
have you updated Paypal for Woocommerce to version 2.5.1?
We had the same issue – got in touch with the developer and they resolved it.
See https://www.ads-software.com/support/topic/conflict-with-paypal-for-woocommerce-angelleye/
Cheers
Giacomo Bruzzo
Hello there
problem is for Angelleye Paypal for Woocommerce (available from angelleye.com)
Problem was resolved with version 2.5.1 of the plugin.
Giacomo
Hello there @stoyangeorgiev,
thank you for responding. I have written a message to the developer yesterday, will update as soon as I receive an answer, which is hopefully soon.
Giacomo Bruzzo
Hello @stoyangeorgiev, thanks for your answer.
Have you (Siteground) considered the possibility of offering per page optimization (or per page exclusion from optimization)?
Example : Cart and Checkout – for whatever reason, stores might like to not optimize (or only partially optimize) these (and other) pages.
I genuinely think this would be a very welcome addition to the plugin’s arsenal.
(Also
– Please increase the dynamic/memcached caching time to hours/days (it seems like minutes now)
– Please consider a cache warming method (for local cache – I understand it is impossible for edge/cloudflare cache).
)thank you in advance
Giacomo Bruzzo
Forum: Plugins
In reply to: [Facebook for WooCommerce] Missing Required Information From DeveloperSame here, using plugin 1.11.4 allowed us to reconnect with FB.
Many thanks
Giacomo Bruzzo
Forum: Plugins
In reply to: [Facebook for WooCommerce] “missing required information from developer”Hi there
thank you for your response.
We just tried that method – all seems to go well, until we input the final ‘OK’.
Then we get a (Woocommerce) notice saying something went wrong and to try again.
We truly would appreciate @skyverge intervention on this matter.
Thanks in any case
Forum: Plugins
In reply to: [Facebook for WooCommerce] Missing Required Information From DeveloperHi there,
tried this – after pasting the truncated link we are offered the option of configuring again. after we save the configuration all seems to be fine
“You’ve now linked WooCommerce Extension V2 to Facebook
You can update what WooCommerce Extension V2 can do in your Business integrations settings. To finish setting up, WooCommerce Extension V2 may require additional steps.”After clicking OK, we should get the Auttomatic redirect. Instead we get an Auttomatic notice saying
“Something went wrong when connecting to Facebook!
Please try again.”Hello @ospiotr
I think you can replace parts of your plugin code (all excluding notices, which need to be addressed independently I believe) with
add_filter( 'woocommerce_admin_features', 'disable_features' ); function disable_features( $features ) { $marketing = array_search('marketing', $features); unset( $features[$marketing] ); $analytics = array_search('analytics', $features); unset( $features[$analytics] ); return $features; }
I think the list of ‘features’ can be found in
/woocommerce/packages/woocommerce-admin/src/FeaturesGiacomo
Hello @ospiotr
just a heads up: I received a response to my questions on Github
The Marketing Tab is set up as a feature in WC-Admin. To disable it you can use woocommerce_admin_features
This is the gist you should look at
This should enable you to update your plugin
Cheers
Giacomo
Hello @ospiotr
I let WC devs know on GitHub Github
Thank you for your hint about removing a menu page via Remove Menu Page
This alas is only cosmetic, as I assume all the marketing modules would still be loaded?
More generally: I really hope they allow for this utterly useless functionality to be removed. Forcing people to adopt Admin (today lacking fundamental functionality, maybe better in future), Marketing and tomorrow Payments is a sign of things to come.
Automattic has been unable to innovate at the platform level. They have therefore decided to copy Shopify. Soon there will be a fully hosted version of Woocommerce platform (without WordPress).
By then though, I will have already jumped over to Shopify.
Heartbreaking, really.
Hello @ospiotr
let me try to clarify my point
your plugin instantiates three filters
add_filter( 'woocommerce_admin_disabled', '__return_true' );
add_filter( 'woocommerce_marketing_menu_items', '__return_empty_array' );
add_filter( 'woocommerce_helper_suppress_admin_notices', '__return_true' );
It is my understanding, that up to WC 4.2.2 the three filters could be applied independently
The first controlled the appearance of the Admin Tab, the second of the Marketing Tab, the third of the Admin Notices.
Since 4.3.0-beta.1 the first filter removes both Admin and Marketing, the second one has become ineffective.
I have reinstalled WC 4.3.0-rc1 – using the filter
add_filter( 'woocommerce_marketing_menu_items', '__return_empty_array' );
on its own does not cause it to crash anymore.The only problem we have is we cannot independently remove admin and marketing any more.
Can you confirm it from your side?
Hello there!
Try to only keep the marketing filter (remove the Admin and notices filters) in you plugin – you will cause a crash.
(Not your fault – there was a code change)
An update :
up to Woocommerce 4.2,
add_filter( ‘woocommerce_marketing_menu_items’, ‘__return_empty_array’ );
removes the Marketing Menuin Woocommerce 4.3 beta, this does not work any more. The line
$marketing_pages = apply_filters( ‘woocommerce_marketing_menu_items’);(usually on line 77 of woocommerce/packages/woocommerce-admin/src/Features/Marketing.php in function add_parent_menu_item()
has been moved to function register_pages() (about 30 lines down as
$marketing_pages = apply_filters( ‘woocommerce_marketing_menu_items’, []);)in fact
add_filter( ‘woocommerce_marketing_menu_items’, ‘__return_empty_array’ );
on its own causes a crashDo you have any suggestions?
Giacomo Bruzzo