update arguments in some cart and category-path loop
This commit is contained in:
@@ -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())
|
||||
|
||||
@@ -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)
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user