[Enhancement]: Override stock details if global stock management is used but no variations are created #18
Labels
focus: products API
This issue/PR is related to the products API.
pr: minor
Add to a PR to trigger a MINOR version bump when merged.
priority: low
The issue/PR is low priority—not many people are affected or there’s a workaround, etc.
type: enhancement
The issue is a request for an enhancement.
Describe the solution you'd like
It is unlikely a variable product will not have any variations applied but should such a product be published without any, the stock details are not returning correctly should the global stock management be used.
Need to override the following stock values from this:
to this:
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: