I am using Drupal commerce 2 with Drupal 9. I added few products and I need to access their revisions, but there is no revision option for products in Drupal commerce.
How can I enable revisions for a product?
I am using Drupal commerce 2 with Drupal 9. I added few products and I need to access their revisions, but there is no revision option for products in Drupal commerce.
How can I enable revisions for a product?
As of today, the answer is "You can't." The rationale is that the kinds of things people tended to do with revisions weren't really best solved by revisions within Drupal. Consider, for example, the challenges of representing referenced entities in other contexts (i.e. rendering a product title to an order page). There is no reference relationship that would ensure the appropriate revision of the product is loaded in the future, meaning what an order page shows may change over time accidentally / inappropriately.
While a patch is in progress for this (linked above in the comments), you should consider whether you really need revisions. If you merely want to log changes made to a product, you might consider some other mechanism instead.