bleroy / Nwazet.Commerce

Idiomatic commerce module for Orchard CMS.
BSD 3-Clause "New" or "Revised" License
26 stars 21 forks source link

Text Field Attributes display Select #87

Open jonvee opened 8 years ago

jonvee commented 8 years ago

When a product attribute extension is set to Text Field, the attribute displays a select prior to the input (extensionShape).

Playing with if (attributeModel.AttributeExtensionShapes != ... == works as an ugly partial-workaround (apply display:none to select when extensionShape != null) if the product has either select attributes or input extensions, but not if both none and Text Field attributes exist.