Bladeren bron

Ajout du champ behaviorAddToCart

reduction
Fab 4 jaren geleden
bovenliggende
commit
172fcefbe2
1 gewijzigde bestanden met toevoegingen van 11 en 0 verwijderingen
  1. +11
    -0
      ShopBundle/Controller/Admin/ProductFamilyController.php

+ 11
- 0
ShopBundle/Controller/Admin/ProductFamilyController.php Bestand weergeven

@@ -69,6 +69,17 @@ class ProductFamilyController extends AdminController
'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(
'choices' => array(
'field.ProductFamily.organicLabelOptions.ab' => 'ab',

Laden…
Annuleren
Opslaan