London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

Delete language versions

Vote:
 

According to this forum conversation, language versions of commerce content cannot be deleted:

https://world.optimizely.com/forum/developer-forum/Feature-requests/Thread-Container/2020/11/support-for-deleting-language-branch-of-commerce-content/?_gl=1*1ublwyc*_ga*MTUwNjQ3NzcxNi4xNjIzODQ2NDUy*_ga_C7SLJ6HMJ5*MTY0NDU4MDc2MS4xMjkuMS4xNjQ0NTgxODI5LjM4#231006

But surely there must be some way around this? A client wishes to disable 4 obsolete languages and we have disabled them in Admin and on the catalog but they still appear in the Catalog manager.

How can we get rid of them completely?

#271540
Feb 11, 2022 12:19
Vote:
 

If you unselected the languages from the Catalog, they should be hidden from the product editing view. 

#271546
Feb 11, 2022 14:15
Vote:
 

Thanks, but they will not be deleted from the database?

#271547
Feb 11, 2022 14:16
Vote:
 

No, if I remember correctly, they are not deleted. 

#271550
Feb 11, 2022 14:25
Vote:
 

And there is no way of removing that content? I dont really like the idea of having thousands of objects in the databases that's not used or surfaced anywhere, just because there is no way of cleaning it away?

#271551
Feb 11, 2022 14:28
Vote:
 

In theory there are. The dirty way would be delete them from directly from database. The less dirty way is to export the catalog, delete it, then re-import (but you then lost non published versions).

I will have to check to see if there is a better way, if only I have time :)

#271552
Feb 11, 2022 14:30
Vote:
 

Would be super helpful Quan, thanks.

#271675
Feb 14, 2022 8:37
Vote:
 

Would be super helpful Quan, thanks.

#271676
Feb 14, 2022 8:37
Vote:
 

Hello! I ran into the same issue :D
Any updates on this topic?

#292071
Nov 22, 2022 12:01
Vote:
 

Unfortunately no, I haven't had time to look into that, as usual I got carried away by my other works 

#292073
Nov 22, 2022 12:29
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.