Removed forgotten var_dump().
This commit is contained in:
@@ -279,10 +279,6 @@ class ProductController extends AbstractCrudController
|
|||||||
|
|
||||||
$combinationPseForm = new ProductSaleElementUpdateForm($this->getRequest(), "form", $combinationPseData);
|
$combinationPseForm = new ProductSaleElementUpdateForm($this->getRequest(), "form", $combinationPseData);
|
||||||
$this->getParserContext()->addForm($combinationPseForm);
|
$this->getParserContext()->addForm($combinationPseForm);
|
||||||
|
|
||||||
var_dump($defaultPseData);
|
|
||||||
|
|
||||||
var_dump($combinationPseData);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Prepare the data that will hydrate the form(s)
|
// Prepare the data that will hydrate the form(s)
|
||||||
|
|||||||
@@ -426,6 +426,7 @@ try {
|
|||||||
$stock->setNewness($faker->randomNumber(0,1));
|
$stock->setNewness($faker->randomNumber(0,1));
|
||||||
$stock->setWeight($faker->randomFloat(2, 100,10000));
|
$stock->setWeight($faker->randomFloat(2, 100,10000));
|
||||||
$stock->setIsDefault($i == 0);
|
$stock->setIsDefault($i == 0);
|
||||||
|
$stock->setEanCode(strtoupper($faker->text(13)));
|
||||||
$stock->save();
|
$stock->save();
|
||||||
|
|
||||||
$productPrice = new \Thelia\Model\ProductPrice();
|
$productPrice = new \Thelia\Model\ProductPrice();
|
||||||
|
|||||||
Reference in New Issue
Block a user