Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

Questions tagged [count]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
2answers
29 views

product view count table in database magento 2?

I have to write code for getting product count.it is working fine but i want to know where the count record comes? public function getProductCount($id) { $prodData = $this->_prodCollection-&...
0
votes
0answers
28 views

Count order with certain product

I need count the orders of a given customer only if the order contains a specific category, how to modify this to get what I want ? ex : if the order has a product from the category "watches", I want ...
0
votes
0answers
17 views

To show total category counts for on category in Magento admin on Category page?

I would like to show the total category count for that category under Add Sub Category (before collapse/expand all links) button on the left side. Total category count should consider subcategories ...
0
votes
1answer
22 views

Magento site loading stage cart item count shows '0' at few seconds

In my cart having 5 products / item , but when i'm loading/refresh my project again cart item count shows '0' at few seconds after show only the exact count. how to solve this issue!
0
votes
1answer
92 views

Magento 2 - how to use count and group by clause in collection

i have order collection and want to this query result like `SELECT `created_at`,COUNT(`entity_id`) FROM `sales_order_item` GROUP BY `created_at`; i use this query `$selectCollection=$this->...