Skip to content

Commit

Permalink
related PrestaShop#35591 - bug 3 : remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mattgoud committed Apr 23, 2024
1 parent 1324b84 commit 8435f4c
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/PrestaShopBundle/Form/Admin/Sell/Catalog/AttributeType.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ public function buildForm(FormBuilderInterface $builder, array $options)
. ' ' . $this->trans('Invalid characters:', 'Admin.Notifications.Info')
. ' ' . TypedRegexValidator::CATALOG_CHARS,
])

->add('color', ColorType::class, [
'label' => $this->trans('Color', 'Admin.Global'),
'row_attr' => array(
Expand All @@ -120,16 +119,6 @@ public function buildForm(FormBuilderInterface $builder, array $options)
'required' => false,
]);

// if ($hasAttributeGroupId === true && $attributeGroup->group_type === AttributeGroupType::ATTRIBUTE_GROUP_TYPE_COLOR) {
// $builder->add('color', ColorType::class, [
// 'label' => $this->trans('Color', 'Admin.Global'),
// 'required' => false,
// ])->add('texture', FileType::class, [
// 'label' => $this->trans('Texture', 'Admin.Global'),
// 'required' => false,
// ]);
// }

if ($this->multistoreFeature->isUsed()) {
$builder->add('shop_association', ShopChoiceTreeType::class, [
'label' => $this->trans('Shop association', 'Admin.Global'),
Expand Down

0 comments on commit 8435f4c

Please sign in to comment.