Browse Source

Ajout du champ behaviorAddToCart

reduction
Fab 4 years ago
parent
commit
172fcefbe2
1 changed files with 11 additions and 0 deletions
  1. +11
    -0
      ShopBundle/Controller/Admin/ProductFamilyController.php

+ 11
- 0
ShopBundle/Controller/Admin/ProductFamilyController.php View File

'expanded' => true 'expanded' => true
)); ));


$formBuilder->add('behaviorAddToCart', ChoiceType::class, array(
'empty_data' => 'by-product-family',
'choices' => array(
'field.ProductFamily.behaviorAddToCartOptions.simple' => 'simple',
'field.ProductFamily.behaviorAddToCartOptions.multiple' => 'multiple'
),
'translation_domain' => 'lcshop',
'multiple' => false,
'expanded' => true
));

$formBuilder->add('propertyOrganicLabel', ChoiceType::class, array( $formBuilder->add('propertyOrganicLabel', ChoiceType::class, array(
'choices' => array( 'choices' => array(
'field.ProductFamily.organicLabelOptions.ab' => 'ab', 'field.ProductFamily.organicLabelOptions.ab' => 'ab',

Loading…
Cancel
Save