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:
Created a new class "SampleProduct" which extends "GenericProduct".
Added two decimal fields "PriceWithTAX" and "PriceWithoutTAX".
Placed those input fields under a tab name "Price Config".
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.
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.
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:
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!