- Mastering WooCommerce 4
- Patrick Rauland
- 104字
- 2021-06-24 16:46:14
Surbma | WooCommerce Without Marketplace Suggestions
In WooCommerce 3.6, the WooCommerce team announced Marketplace Suggestions (https://woocommerce.wordpress.com/2019/04/03/extension-suggestions-in-3-6/). These inject recommendations for official WooCommerce extensions into the Orders screen and the Products screen for the store owner. They were adjusted just prior to the release and will likely evolve in the next few versions.
There's a plugin on the WordPress site called Surbma | WooCommerce Without Marketplace Suggestions, which disables these promotions, as shown here:
At the moment, there's only one important line in the plugin:
add_filter( 'woocommerce_allow_marketplace_suggestions', '__return_false' );
The code to disable the promotions is quite simple: one filter that removes them completely.
推薦閱讀
- Getting Started with React
- The Android Game Developer's Handbook
- 編程卓越之道(卷3):軟件工程化
- 機械工程師Python編程:入門、實戰與進階
- INSTANT Mercurial SCM Essentials How-to
- Java Web開發就該這樣學
- C# and .NET Core Test Driven Development
- C語言程序設計習題與實驗指導
- Illustrator CC平面設計實戰從入門到精通(視頻自學全彩版)
- Vue.js 3應用開發與核心源碼解析
- Python Machine Learning Blueprints:Intuitive data projects you can relate to
- Getting Started with React VR
- 從零開始:C語言快速入門教程
- VMware vSphere 5.5 Cookbook
- PHP面試一戰到底