I am not finding either of these strings in the Woo core (or anywhere in my site for that matter): ‘recommended shipping solutions’, ‘we recommend adding’
Do you have any more details about what could be producing the message?
Screenshots only go so far. Sometimes seeing the actual HTML helps track the source.
Or maybe a WP status report showing all your plugins?
The code is not present in the HTML, so it’s apparently loaded through JS. I studied page loading with some throttling and discovered that this block is loaded last and most probably the library responsible for this is shipping-recommendations.js ( full path https://mysite.com/wp-content/plugins/woocommerce/packages/woocommerce-admin/dist/chunks/shipping-recommendations.js?ver=2.7.2 ). The script itself is initiated via https://mysite.com/wp-content/plugins/woocommerce/packages/woocommerce-admin/dist/app/index.js?ver=2.7.2 which can be found at the very beginning of page HTML.
This plugin (last I looked) is for server-side bloat only.
I am expecting the end-user experience of Woo to deteriorate more and more as they follow the current fad of “responsive” websites where as much processing as possible is dumped onto the client device.
I’ve been around a very long time, and this will be the third cycle of “thin client, thick client, thin client”. Thick client only makes the code more complex, less efficient, and less reliable, but nobody learns from history. 😉
The tipping point this time will be due to the terabytes of JS file transfers along with horridly bloated HTML that will cost the end users actual money. It already is, they just haven’t figured it out yet. 😉
@simonkane – completely agree with you, for me as a noob PHP is much easier to read, understand and modify than the code heavily relying on JS. Also most of websites relying on JS are bloated indeed for some reason. When the transition to blocks will be finished I expect WooCommerce to become much less customizable for an average Joe.
Considering the original issue – actually I did not expect any WC Admin JS to be loaded at all. Is it already used for some core functionality or these files were just overlooked by the plugin and can be safely removed?
The way this WC Admin stuff is changing, almost daily, there’s really no way to know what would happen. Maybe try to hard-code kill them (via modding the actual woo files) on a TEST server , but then extensive testing will be needed — and then Woo may change something that causes the removal to break.
Most of the core Woo (and the vast majority of other) developers neither understand nor care about performance and resource usage. “just add another GB or 10 of RAM”.
Such really ticks me off coming from the days when we ran 25,000 simultaneous users on a 16MB, 40MHz single-core computer with a total of 16MBs of I/O. That is a fraction of not just a smartphone, but a smartWATCH nowadays. :/
Hello. This also happens with the WooCommerce Stripe Payment Gateway by Woocommerce plugin. Unchecking the Disable WordPress Admin restores it.
@ospiotr please check this issue when you have some time.
Plugin Contributor
ospiotr
(@ospiotr)
Dear @titsmaker
As far as I know, there is a built-in option to hide this banner.
Just click this option and it will stay hidden: https://i.imgur.com/Xz3xUEd.png
Am I right?