HasteDesign / Registrations-for-WooCommerce

Add a registration product type to your WooCommerce installation.
GNU General Public License v2.0
38 stars 16 forks source link

Store the product IDs with the meta data #39

Closed clamburger closed 4 years ago

clamburger commented 5 years ago

If an order has multiple products, it's not easy to match up the registration fields to the product, as the metadata array only contains the human readable product name and date. This change adds product_id and variation_product_id to the metadata array to remove that ambiguity.