Developer forum

Forum » Ecommerce - Standard features » Custom Field type as a Product group field

Custom Field type as a Product group field

Tomas Gomez
Reply

Hi,

I try to create a custom Field type as a Product group field, but the custom field is not displayed in the edit group page.

The steps to reproduce this issue in Rapido are:

  1. Create a new field of the custom type in the Product group fields, e.g. "My length" of type "Lenght calculated"
  2. Open the Edit group of a product group
  3. There is no Control (EditText box) to edit the custom field. See attached image.

Maybe is something related to the ProductFieldTypeProvider, because the LengthFieldTypeProvider inherits it. But there is no such a "ProductGroupFieldTypeProvider".

How can I create a custom field for product groups? Should I inherit from ProductFieldTypeProvider or should I use any other Provider?

Regards,
Tomas

Missing_Product_group_field.png

Replies

 
Viktor Letavin Dynamicweb Employee
Viktor Letavin
Reply
This post has been marked as an answer

Hi,

It seems like it is not implemented for the group edit page yet and seems like a bug, the TFS # 67885 created to fix the issue.

BR, Viktor.

Votes for this answer: 1
 
Steffen Kruse Hansen Dynamicweb Employee
Steffen Kruse Hansen
Reply
This post has been marked as an answer

Hi Tomas,

Currently, Custom Field types with the ProductFieldTypeProvider is only supported for ProductFields and ProductCategoryFields. So, unfortunately, it not just a simple bugfix, to make it work. It has to be implemented for GroupFields for it to work. We have created a feature (TFS#67901) for implementing this for GroupFields, but we can't promise when this will be implemented.

Sorry for the inconvenience.

Best regards,

Steffen 

Votes for this answer: 1
 
Tomas Gomez
Reply

Hi,

Yes, I think the best alternative is using ProductCategoryFields, that is creating the Custom field inside a Category and then associating the Product group to this Category.. It would be nice to have this feature in the future.

Thanks for the answers,
Tomas

 

You must be logged in to post in the forum