diff --git a/core/lib/Thelia/Controller/Admin/ProductController.php b/core/lib/Thelia/Controller/Admin/ProductController.php index a7ee65ccd..85f35f398 100644 --- a/core/lib/Thelia/Controller/Admin/ProductController.php +++ b/core/lib/Thelia/Controller/Admin/ProductController.php @@ -279,10 +279,6 @@ class ProductController extends AbstractCrudController $combinationPseForm = new ProductSaleElementUpdateForm($this->getRequest(), "form", $combinationPseData); $this->getParserContext()->addForm($combinationPseForm); - - var_dump($defaultPseData); - - var_dump($combinationPseData); } // Prepare the data that will hydrate the form(s) diff --git a/install/faker.php b/install/faker.php index 60bc2bb81..58a954ebf 100755 --- a/install/faker.php +++ b/install/faker.php @@ -426,6 +426,7 @@ try { $stock->setNewness($faker->randomNumber(0,1)); $stock->setWeight($faker->randomFloat(2, 100,10000)); $stock->setIsDefault($i == 0); + $stock->setEanCode(strtoupper($faker->text(13))); $stock->save(); $productPrice = new \Thelia\Model\ProductPrice();