Comments Luke started the conversation3 days ago on Monday at 12:41amI have custom code that will pull the date field to show Est Delivery Date for either Variation, Parent orĀ Global date set. I need to know the field names for those specific dates so I can pull the data. 1,542Dustin replied2 days ago on Tuesday at 3:00amHi Luke, For an individual product or variation, you can get the post meta with the key: 'wpced_rules' $rules = get_post_meta( $product_id, 'wpced_rules', true ) ?: []; The result will look like this: If you want to get the calculated date based on all the settings, use the following built-in function: $date = Wpced_Frontend()->get_product_date( 83, 'plain' ); // 83 is product IDBest regards,Dustin Sign in to reply ...
I have custom code that will pull the date field to show Est Delivery Date for either Variation, Parent orĀ Global date set. I need to know the field names for those specific dates so I can pull the data.
Hi Luke,
For an individual product or variation, you can get the post meta with the key: 'wpced_rules'
The result will look like this:
If you want to get the calculated date based on all the settings, use the following built-in function:
Best regards,
Dustin