Merge branch 'master' of github.com:thelia/thelia

This commit is contained in:
Manuel Raynaud
2013-09-12 15:44:29 +02:00
8 changed files with 228 additions and 44 deletions

View File

@@ -50,6 +50,7 @@ class AttributeAv extends BaseAction implements EventSubscriberInterface
$attribute
->setDispatcher($this->getDispatcher())
->setAttributeId($event->getAttributeId())
->setLocale($event->getLocale())
->setTitle($event->getTitle())
@@ -57,11 +58,6 @@ class AttributeAv extends BaseAction implements EventSubscriberInterface
;
$event->setAttributeAv($attribute);
// Add atribute to all product templates if required
if ($event->getAddToAllTemplates() != 0) {
// TODO: add to all product template
}
}
/**