Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix product reports for simple products converted to variable. #2814
This PR seeks to fix Product Report data when a Simple product (that has sales) has been converted into a Variable product.
We were previously excluding products from the query where
This PR does not:
Handle comparisons including the original simple product. It will simply be omitted from results if selected since the variation ID is
Detailed test instructions:
Enhancement: handle simple to variable product changes in reports.
psealock left a comment
This is testing well for me. I can see the historic orders before the product was changed.
I think thats fine.
Code LGTM and testing well.