diff --git a/includes/Api/ProductsController.php b/includes/Api/ProductsController.php index 4d9a373..d391db6 100644 --- a/includes/Api/ProductsController.php +++ b/includes/Api/ProductsController.php @@ -599,6 +599,10 @@ class ProductsController { // Format attributes with human-readable names and values $formatted_attributes = []; + // Debug: Log all meta for this variation + $all_meta = get_post_meta($variation_id); + error_log("Variation #{$variation_id} ALL META: " . print_r($all_meta, true)); + // Get parent product attributes to know what to look for $parent_attributes = $product->get_attributes();