Title: Availability date [availability_date]
Last modified: August 1, 2024

---

# Availability date [availability_date]

 *  [Floris](https://wordpress.org/support/users/flo80/)
 * (@flo80)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/availability-date-availability_date/)
 * Is this plugin suitable to add a dynamic availability_date for WooCommerce products
   in a google product feed (I use RexTheme Product Feed Manager) that are available
   on backorder?
   I want the availability_date to be “today +3 weeks”, on a rolling
   window basis. See [https://support.google.com/merchants/answer/6324470?hl=en](https://support.google.com/merchants/answer/6324470?hl=en)
   If that is possible, any example on how to do it?

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [1 year, 8 months ago](https://wordpress.org/support/topic/availability-date-availability_date/#post-17927238)
 * Honestly, CMB2 is more a library to create metabox UI to be used for keying in
   and storing the data more than anything. What it sounds like you most need is
   just a way to take that “today+3 weeks” and various future iterations to calculate
   say a UTC timestamp and whatnot to be stored.
 * Even with using a field from CMB2, you’d need to calculate that value ahead of
   time to be passed to the WordPress meta field functions, as well as do something
   with it in your templates.
 *  Thread Starter [Floris](https://wordpress.org/support/users/flo80/)
 * (@flo80)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/availability-date-availability_date/#post-17927258)
 * Thank you for your quick reply!
   Is my request that out of the ordinary that this
   is not easily done? I’m wondering if I’m even taking the right approach or if
   there’s an easier way.
 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [1 year, 8 months ago](https://wordpress.org/support/topic/availability-date-availability_date/#post-17927306)
 * It’s not that it can’t be done, it’s just that CMB2 doesn’t have any functionality
   specific to this request outside of generating UI in the admin to type in a value.
   With the dynamic-ness of the topic and incoming data, you wouldn’t want to be
   typing it in manually, it’d be better to set up automation to calculate and store
   data as it comes rolling in regularly. No UI needed for that.
 * If you wanted a spot to see the current value, and perhaps manually touch up 
   the result, in some way, then CMB2 could be of value. The only other way I can
   think of CMB2 being of use would be if you’re calculating the date to use manually
   as well, but that’d take out the dynamic-ness of it all

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Availability date [availability_date]’ is closed to new replies.

 * ![](https://ps.w.org/cmb2/assets/icon.svg?rev=2866672)
 * [CMB2](https://wordpress.org/plugins/cmb2/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cmb2/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cmb2/)
 * [Active Topics](https://wordpress.org/support/plugin/cmb2/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cmb2/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cmb2/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * Last activity: [1 year, 8 months ago](https://wordpress.org/support/topic/availability-date-availability_date/#post-17927306)
 * Status: not resolved