Add CRM custom field links to WC > Product > Subscription setup
In addtion to having WC Subscriptions information option to write data to the CRM custom fields as set in WPF Settings > Contacts, also add that same capability to set the custom field links under the WC > Products setup. The limitation as it currently stands is that there is just a global linkage for all subscriptions and the last subscription is what gets written to the CRM.
But if you allow linking the custom fields from the WC > Products > Subscriptions setup, then we can define custom CRM fields for each subscription product and link that information.
See: https://nimb.ws/WEGANV
It’s an interesting idea.
I’m a bit hesitant because at the moment all our field mapping is in one place…. folks do often have problems with fields not syncing at the right time / in the right format, and at the moment we can go to WP Fusion >> Contact Fields and quickly review their setup…. without having to edit on every subscription product.
But I’ll leave this up and we can see what other folks think.
In the meantime, we have done this before with a snippet: https://gist.github.com/verygoodplugins/8908a0af208f8b6b70813a46b5c0fa7e
That will register a separate “Subscription Renewal Date” field for sync for all your subscription products, in the main WPF settings. That lets you map different subscription products to different custom fields.
If you need additional fields beyond Renewal Date let me know and we can update the example.
This is complete and was released today in v3.38.22: https://wpfusion.com/documentation/ecommerce/woocommerce-subscriptions/#syncing-subscription-fields
I’m constantly amazed at the speed at which you guys continue to innovate and integrate new ideas. Keep it up Jack and company