Skip to content

Conversation

wjrosa
Copy link
Contributor

@wjrosa wjrosa commented Aug 21, 2025

See peNR48-1Jc-p2

Changes proposed in this Pull Request:

This PR introduces a new helper class to handle order-specific data within the extension. This is related to the previous attempt to add an order model class, which we reverted due to incompatibility.

Instead of a model, this new class will retrieve and update WC_Order data (from existing instances), so we should not encounter instantiation issues.

In this first part, I am adding some querying methods and some flags. In the second part, I will add most of the getters and setters.

Testing instructions

  • Code review
  • Check if the tests are still passing
  • Perform some basic smoke testing to confirm no regression was introduced

  • Covered with tests (or have a good reason not to test in description ☝️)
  • Tested on mobile (or does not apply)

Changelog entry

  • This Pull Request does not require a changelog entry. (Comment required below)
Changelog Entry Comment

Comment

Post merge

@wjrosa wjrosa self-assigned this Aug 21, 2025
@wjrosa wjrosa marked this pull request as ready for review August 21, 2025 23:22
@wjrosa wjrosa added this to the 9.9.0 milestone Aug 21, 2025
@wjrosa wjrosa modified the milestones: 9.9.0, 10.0.0 Aug 22, 2025
@wjrosa wjrosa marked this pull request as draft August 22, 2025 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant