Skip to content

Enhancement: Add Fields to Woo Subscriptions when using HPOS#183

Merged
cbravobernal merged 4 commits intotrunkfrom
add/add-fields-woo-subscriptions
Jun 19, 2025
Merged

Enhancement: Add Fields to Woo Subscriptions when using HPOS#183
cbravobernal merged 4 commits intotrunkfrom
add/add-fields-woo-subscriptions

Conversation

@cbravobernal
Copy link
Copy Markdown
Contributor

What

Now the user can add Fields to Woo Subscriptions when using HPOS.

How

By updating the new WC_Order class, checking for the subscriptions page and adding the correspondant metaboxes.

Screenshots

Field Group rule:
Screenshot 2025-06-19 at 12 12 45

Before the PR:
Screenshot 2025-06-19 at 12 10 31

After the PR:
Screenshot 2025-06-19 at 12 11 19

@cbravobernal cbravobernal added this to the 6.5.0 milestone Jun 19, 2025
@cbravobernal cbravobernal self-assigned this Jun 19, 2025
- docs
- lang
- wordpress (?)
- includes/forms/WC_Order.php
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are a couple of phpstubs that need to be updated before we can include this file.
stellarwp/php-stubs-woocommerce-subscriptions#1

@cbravobernal cbravobernal merged commit dd58204 into trunk Jun 19, 2025
5 checks passed
@cbravobernal cbravobernal deleted the add/add-fields-woo-subscriptions branch June 20, 2025 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant