# How I can remove or add property to ld+json script?

**URL:** <https://forum.shopware.com/t/how-i-can-remove-or-add-property-to-ld-json-script/60054>\
**Category:** Programmierung\
**Tags:** customelements, shopping-worlds, widgets\
**Created:** [17. Juni 2019 um 17:01 UTC](https://forum.shopware.com/t/how-i-can-remove-or-add-property-to-ld-json-script/60054 "2019-06-17T17:01:24Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrf](https://avatars.discourse-cdn.com/v4/letter/m/c57346/32.png) [@mrf](https://forum.shopware.com/u/mrf)\
**Post date:** [17. Juni 2019 um 17:01 UTC](https://forum.shopware.com/t/how-i-can-remove-or-add-property-to-ld-json-script/60054/1 "2019-06-17T17:01:24Z")

</div>

```
 I see following in shopware page source:

```

&nbsp;

---

<div class="post-metadata">

**Author:** ![Moritz\_Naczenski](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/moritz_naczenski/32/7792_2.png) [@Moritz\_Naczenski](https://forum.shopware.com/u/Moritz_Naczenski)\
**Post date:** [17. Juni 2019 um 17:06 UTC](https://forum.shopware.com/t/how-i-can-remove-or-add-property-to-ld-json-script/60054/2 "2019-06-17T17:06:17Z")

</div>

Everything is just a template file - just search the source code:&nbsp;[shopware/rating.tpl at 96161effd05153d4b95f4a9324998c047988724c · shopware/shopware · GitHub](https://github.com/shopware/shopware/blob/96161effd05153d4b95f4a9324998c047988724c/themes/Frontend/Bare/frontend/_includes/rating.tpl)

You can extend/overwrite it with your own template.

---

<div class="post-metadata">

**Author:** ![mrf](https://avatars.discourse-cdn.com/v4/letter/m/c57346/32.png) [@mrf](https://forum.shopware.com/u/mrf)\
**Post date:** [17. Juni 2019 um 17:10 UTC](https://forum.shopware.com/t/how-i-can-remove-or-add-property-to-ld-json-script/60054/3 "2019-06-17T17:10:02Z")

</div>

Yes I see it but I dont know how I can for example add&nbsp;

```
 priceValidUntil

```

&nbsp;

would you please show me with an example?

---

<div class="post-metadata">

**Author:** ![mrf](https://avatars.discourse-cdn.com/v4/letter/m/c57346/32.png) [@mrf](https://forum.shopware.com/u/mrf)\
**Post date:** [17. Juni 2019 um 17:24 UTC](https://forum.shopware.com/t/how-i-can-remove-or-add-property-to-ld-json-script/60054/4 "2019-06-17T17:24:11Z")

</div>

> [@Moritz Naczenski schrieb:](https://forum.shopware.com/profile/14574/Moritz%20Naczenski "Moritz%20Naczenski")
> 
> Everything is just a template file - just search the source code:&nbsp;[https://github.com/shopware/shopware/blob/96161effd05153d4b95f4a9324998c047988724c/themes/Frontend/Bare/frontend/\_includes/rating.tpl](https://github.com/shopware/shopware/blob/96161effd05153d4b95f4a9324998c047988724c/themes/Frontend/Bare/frontend/_includes/rating.tpl)
> 
> You can extend/overwrite it with your own template.
> 
> &nbsp;
> 
> &nbsp;
> 
> So How I can disable this script?&nbsp;

---

<div class="post-metadata">

**Author:** ![Moritz\_Naczenski](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/moritz_naczenski/32/7792_2.png) [@Moritz\_Naczenski](https://forum.shopware.com/u/Moritz_Naczenski)\
**Post date:** [17. Juni 2019 um 17:27 UTC](https://forum.shopware.com/t/how-i-can-remove-or-add-property-to-ld-json-script/60054/5 "2019-06-17T17:27:11Z")

</div>

There is no easy way or simple example for your purpose. You need to develop your own solution.

You should start by reading the documentation about how to extend the theme:&nbsp;[Shopware 5 Theme Startup Guide](https://developers.shopware.com/designers-guide/theme-startup-guide/)

There is also a free video training for it:&nbsp;[https://www.udemy.com/shopware-template-training-basic/](https://www.udemy.com/shopware-template-training-basic/)

&nbsp;

Wit this knowledge you should be able to extend the theme and add your additional data or remove some other fields completely.

---

<div class="post-metadata">

**Author:** ![mrf](https://avatars.discourse-cdn.com/v4/letter/m/c57346/32.png) [@mrf](https://forum.shopware.com/u/mrf)\
**Post date:** [19. Juni 2019 um 10:43 UTC](https://forum.shopware.com/t/how-i-can-remove-or-add-property-to-ld-json-script/60054/6 "2019-06-19T10:43:12Z")

</div>

another question I have: (how I can remove completely this ld+json that produced, no wants to add )&nbsp;

&nbsp;

can I remove this json+ld by removing this line?

&nbsp;

CodeMirror.defineMIME(„application/ld+json“, {name: „javascript“, jsonld: true});

&nbsp;

&nbsp;
