Alexandru Pupsa
Alexandru Pupsa

Reputation: 1868

How can I delete a field from a Sitecore template?

I've tried the following:

Deleting the fields Name and Type, saving the template (red square in screenshot)

Selecting the field on the left tree and pressing delete (green in screenshot)

Using the Builder Options menu and pressing Remove button (blue in screenshot)

enter image description here

After any of these actions, the field would magically reappear. I've also tried renaming the field and the old name comes back. Does anyone have any idea why this might be happening? I thought it would be the easiest thing to delete a property.

Upvotes: 2

Views: 865

Answers (2)

Vlad Iobagiu
Vlad Iobagiu

Reputation: 4118

If you are using Ucommerce you need to delete from product definition field not from Sitecore templates.

UCommerce is using a data provider to bring product fields from ucommerce db to Sitecore db.

That's the reason why fields are reaper in Sitecore.

Please check here how to add and delete product definition fields : http://docs.ucommerce.net/ucommerce/v6.9/getting-started/catalog-foundation/product-definitions.html

Upvotes: 7

nickwesselman
nickwesselman

Reputation: 6890

You need to save the template after making these changes. Use Ctrl+S or click Save in the Home ribbon.

To remove a field, you can also right click > delete in the Content Tree.

Upvotes: 1

Related Questions