remove some unused variables
This commit is contained in:
@@ -68,7 +68,7 @@ class Cart extends BaseCart
|
||||
|
||||
public function getLastCartItemAdded()
|
||||
{
|
||||
$items = CartItemQuery::create()
|
||||
return CartItemQuery::create()
|
||||
->filterByCartId($this->getId())
|
||||
->orderByCreatedAt(Criteria::DESC)
|
||||
->findOne()
|
||||
|
||||
@@ -61,7 +61,6 @@ class Order extends BaseOrder
|
||||
$tax = 0;
|
||||
|
||||
/* browse all products */
|
||||
$orderProductIds = array();
|
||||
foreach($this->getOrderProducts() as $orderProduct) {
|
||||
$taxAmountQuery = OrderProductTaxQuery::create();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user