Merge branch 'master' of https://github.com/thelia/thelia into coupon
# By Etienne Roudeix (7) and Manuel Raynaud (7) # Via Etienne Roudeix (2) and Manuel Raynaud (1) * 'master' of https://github.com/thelia/thelia: tax in loops remove test finish simple list customer page in backoffice debug bar mock getTotalAmoutn in order class tax engine escae output only if it's not an object tax faker insert 19.6 tva create admin customer view and add output info in customer loop update format smarty plugin tax engine model tax engine model create customer admin controller and index controller
This commit is contained in:
@@ -383,6 +383,7 @@ function createProduct($faker, $category, $position, &$productIdList)
|
||||
$product->addCategory($category);
|
||||
$product->setVisible(rand(1, 10)>7 ? 0 : 1);
|
||||
$product->setPosition($position);
|
||||
$product->setTaxRuleId(1);
|
||||
setI18n($faker, $product);
|
||||
|
||||
$product->save();
|
||||
|
||||
Reference in New Issue
Block a user