Skip to content

Add meta_key property to Coupons and Products#269

Merged
n7studios merged 8 commits intomainfrom
add-meta-key-property
Mar 10, 2026
Merged

Add meta_key property to Coupons and Products#269
n7studios merged 8 commits intomainfrom
add-meta-key-property

Conversation

@n7studios
Copy link
Contributor

Summary

Improves the CKWC_Admin_Post_Type class by adding a meta_key property, and dynamically loading the view based on the Post Type (e.g. Coupon/Product) being edited.

This allows for easier extension when adding fields to the Order Post Type in this PR.

Testing

Existing tests pass.

Checklist

Improves the CKWC_Admin_Post_Type class by adding a `meta_key` property, and dynamically loading the view based on the Post Type (e.g. Coupon/Product) being edited.
@n7studios n7studios self-assigned this Mar 9, 2026
@n7studios n7studios requested review from a team, ciccio-kit and noelherrick and removed request for a team March 9, 2026 10:55
@n7studios n7studios marked this pull request as ready for review March 9, 2026 10:55
Orders: Support Opt In on Manual Orders
@n7studios n7studios merged commit c50e774 into main Mar 10, 2026
54 of 56 checks passed
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.

2 participants