cancel
Showing results for 
Search instead for 
Did you mean: 

No restriction in Smartedit product subtype selection

michielc
Explorer
249

Hi all,

We created a component with an attribute that is a subtype of 'Product', e.g. 'SubtypeProduct' with the following items.xml:

<itemtype code="SubtypeProduct" extends="Product" autocreate="true" generate="true">
<attributes>
<attribute qualifier="attribute1" type="java.lang.String">
<persistence type="property"/>
</attribute>
<attribute qualifier="attribute2" type="localized:java.lang.String">
<persistence type="property"/>
</attribute>
</attributes>
</itemtype>

When we want to select an item for this attribute in Backoffice, everything is fine and only products of type 'SubtypeProduct' are shown. However, when we want to select an item for the same attribute in Smartedit, all items of type 'Product' are shown, including other subtypes.

It seems that the out-of-the-box selection is not capable of restricting to the specified subtype, like this is the case for Backoffice. Does anyone know how to solve this?

Thanks in advance!


Kind regards,
Michiel

Accepted Solutions (0)

Answers (0)