3

Is there any way to rename a sellable item in Commerce? I see that the Display Name can be changed, but don't see any way to modify the name?

Is there some reason for this being disallowed?

1 Answer 1

2

A sellable item in Sitecore Commerce is an entity stored in the CatalogEntities table in the SharedEnvironments database. The name of the sellable item is the Id of the entity (ie. Entity-SellableItem-XXXXXX). The Id is a primary key on the CatalogEntities table and I believe it is protected for this reason.

For a normal Sitecore item, the ID of an item and its name are two separate properties (stored in two separate fields in the Items table on the Master or Web database). For a Commerce Sellable Entity there is no distinction of these two properties in the database layer.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.