update arguments in some cart and category-path loop

This commit is contained in:
Manuel Raynaud
2014-03-17 10:47:01 +01:00
parent 0e7c464183
commit 2279061892
2 changed files with 0 additions and 2 deletions

View File

@@ -90,7 +90,6 @@ class Cart extends BaseLoop implements ArraySearchLoopInterface
$loopResultRow->set("TITLE", $product->getTitle());
$loopResultRow->set("REF", $product->getRef());
$loopResultRow->set("QUANTITY", $cartItem->getQuantity());
$loopResultRow->set("PRICE", $cartItem->getPrice());
$loopResultRow->set("PRODUCT_ID", $product->getId());
$loopResultRow->set("PRODUCT_URL", $product->getUrl($this->request->getSession()->getLang()->getLocale()))
->set("STOCK", $productSaleElement->getQuantity())

View File

@@ -65,7 +65,6 @@ class CategoryPath extends BaseI18nLoop implements ArraySearchLoopInterface
return new ArgumentCollection(
Argument::createIntTypeArgument('category', null, true),
Argument::createIntTypeArgument('depth'),
Argument::createIntTypeArgument('level'),
Argument::createBooleanOrBothTypeArgument('visible', true, false)
);
}