Linux 软件免费装
Banner图

SyncFields

开发者 pjfc
更新时间 2024年4月8日 20:32
捐献地址: 去捐款
PHP版本: 3.8.6 及以上
WordPress版本: 6.5
版权: GPL2 or later
版权网址: 版权信息

标签

woocommerce sync custom fields database usermeta

下载

详情介绍:

What does it do? With this plugin you can map and synchronize fields in the WordPress user and usermeta database. Note: This plugin syncs one way only! The plugin adds a new menu in the backend called 'SyncFields', which allows you to control the plugin settings. Give me an example please When you install plugins such as WooCommerce, the Wordpress usermeta database table is populated with new fields. You can map these fields and choose to automatically sync these with other usermeta fields, or with the Wordpress regular user fields. For example, you can choose to Sync WooCommerce billing_country usermeta field with the WordPress main Country user field. And lot's of other ways to sync data within WordPress, and keep it synced automatically. Does it work with plugin xyz...? Yes, it works with ANY plugin which creates usermeta fields. The plugin automatically finds new fields every time you install a new plugin. To create a new Sync between two database fields: To delete a field mapping: To edit a field mapping: Caution: Make sure database fields which you intend to sync are of the same type. So for example do not sync an email field with a Country field, this will result in invalid data in the synced fields. If in doubt do NOT sync fields with each other, it may break your site in extreme cases. Tested at plugintests.com Wonder if it will slow down your site? Wonder it creates PHP errors? It doesn't. Check this out: https://plugintests.com/plugins/wporg/syncfields/latest

安装:

For an automatic installation through WordPress:
  1. Go to the 'Add New' plugins screen in your WordPress admin area
  2. Search for 'SyncFields'
  3. Click 'Install Now' and activate the plugin
  4. Go the 'Export User Data' menu, under 'Users'
For a manual installation via FTP:
  1. Upload the synfields directory to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' screen in your WordPress admin area
  3. Go the 'SyncFields' menu
To upload the plugin through WordPress, instead of FTP:
  1. Upload the downloaded zip file on the 'Add New' plugins screen (see the 'Upload' tab) in your WordPress admin area and activate.
  2. Go the 'SyncFields' menu

屏幕截图:

  • The 'Add New Mapping' screen.
  • The 'Edit Mapping' screen.

常见问题:

I'm missing usermeta fields

So you activated a new plugin, and expected new usermeta fields to appear in SyncFields. But they didn't. Why does this happen: Most usermeta fields only get created in the WordPress database once they are needed for the first time. This typically is when a user first populates a field, and not once a plugin gets activated! What can you do about it: If you miss a specific usermeta field, create a test customer and use the field you want to appear. For example: to make WooCommerce billing_country usermeta field appear, create a testcustomer and purchase a test product whilst populating the checkout fields including the billing country for the test customer. At that moment new usermeta fields for WooCommerce are created for the first time in the WordPress database (Tip: use the 'Cash on Delivery' payment method so you don't have to set up any real payment methods yet to place the test order). After this, these usermeta fields are created, and therefore available to SyncFields. For details please check this: https://wordpress.org/support/topic/adding-fields-6

Does this plugin work with Headless /JamStack WordPress sites?

Yes it works.

What is Cron Scheduling?

If you want to run a regular Sync on a Cron schedule, please use this option. It normally should not be necessary because syncs are saved upon every commit.

Where can I find the documentation

The plugin is documented in the backend. If you have any questions, feel free to pose them in the Support section here https://wordpress.org/support/plugin/syncfields

更新日志: