# Update sw cms constants

**URL:** <https://forum.shopware.com/t/update-sw-cms-constants/104805>\
**Category:** Administration (EN)\
**Tags:** administration, programming\
**Created:** [12. August 2024 um 13:07 UTC](https://forum.shopware.com/t/update-sw-cms-constants/104805 "2024-08-12T13:07:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sr.strangas](https://avatars.discourse-cdn.com/v4/letter/s/71c47a/32.png) [@sr.strangas](https://forum.shopware.com/u/sr.strangas)\
**Post date:** [12. August 2024 um 13:07 UTC](https://forum.shopware.com/t/update-sw-cms-constants/104805/1 "2024-08-12T13:07:55Z")

</div>

Hey there, i was wondering if there is a way to update / override the sw-cms.constant.js file in the administration, i have to remove product description reviews cms element from the unique slots.

---

<div class="post-metadata">

**Author:** ![sr.strangas](https://avatars.discourse-cdn.com/v4/letter/s/71c47a/32.png) [@sr.strangas](https://forum.shopware.com/u/sr.strangas)\
**Post date:** [12. August 2024 um 15:33 UTC](https://forum.shopware.com/t/update-sw-cms-constants/104805/2 "2024-08-12T15:33:16Z")

</div>

i am not sure if this is the correct way to do it but i got it to work by overriding the product detail components method where the validation happens and imported my custom sw-cm.constant.js file where i removed the entry from the array
