SaaS CMS has officially launched! Learn more now.

Custom tab in product information page of CMS went missing after renaming the custom fields


Hello guys,

I have a problem with creating a custom tab in the product information page of CMS via code. The following are the steps I took:

  1. Created a new class "SampleProduct" which extends "GenericProduct".
  2. Added two decimal fields "PriceWithTAX" and "PriceWithoutTAX".
  3. Placed those input fields under a tab name "Price Config".
  4. Renamed the fields "PriceWithTAX" to "PriceWithTax" and "PriceWithoutTAX" to "PriceWithoutTax".

For the steps 1 - 3, it works as intended. I can see the tab "Price Config" and inside it are the input fields, but for step 4 the "Price Config" tab went missing and the two input fields are transferred into the first tab "Content". 

I have really no idea what was happening, hopefully someone here have an idea of what causes this issue. 

Thank you!

Edited, Jul 20, 2021 6:43

Hi Ryan,

Please check the field name in the database, I believe the filed name still exists with the name PriceWithTAX instead of PriceWithTax after renaming, which is causing the issue in rendering.

Jul 20, 2021 11:54
* 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.