Skip to main content

Questions tagged [items]

1 vote
1 answer
44 views

We use the following code, to get the last item that was most recent updated. $itemsCollection = $cart->getQuote()->getItemsCollection(); $itemsCollection->getSelect()->order('updated_at ...
JGeer's user avatar
  • 1,420
1 vote
1 answer
438 views

I just wanted to know in deeply how argument, type , virtual type and item work in di.xml
Mark's user avatar
  • 73
1 vote
1 answer
234 views

I am working on of Mageto2.4.0 projects and currenly there is requirement to sort cart items with name e.g suppose that we have some items in cart "Argus All-Weather Tank" ,"Hero Hoodie&...
akgola's user avatar
  • 2,995
1 vote
0 answers
240 views

I need to display cart and wishlist counters on my own header block. For the first one i've just modified the CSS to display block. But I can't find how the wish list counter works, so it will show 0 ...
Ana Gonzalez's user avatar
0 votes
1 answer
272 views

I've been through topics like this: Magento 2 change number of items per row All of them claims, that if I wanna change my items row to display 4 instead of 5, then I would have to change in a file ...
Jannick's user avatar
  • 13
1 vote
1 answer
396 views

I am not cleared about field,argument and item. Also I don't know why we use it. Xml code is: <field name="allow_shipping_method"> <argument name="data" xsi:type="array"> ...
Muhammad Ahmed's user avatar
1 vote
2 answers
3k views

I have multiple items in my order. How can I add item status and its tracking information for that order in My Account Orders? I am using this to get orders $_orders = $block->getOrders(); And ...
summu's user avatar
  • 847
0 votes
2 answers
1k views

I want invoice item data using order_item_id and I tried using use Magento\Sales\Api\InvoiceItemRepositoryInterface; private function getInvoiceItemById($orderItemId) { return $this->...
gajjala sandeep's user avatar

15 30 50 per page
1
2 3 4 5 6