| @@ -211,9 +211,12 @@ | ||
| 211 | 211 | ]; |
| 212 | 212 | } |
| 213 | 213 | |
| 214 | 214 | $products = $productsQuery->get(); |
| 215 | - (new ShopAppRenderer($products, [ | |
| 215 | + (new ShopAppRenderer([ | |
| 216 | + 'products' => $products, | |
| 217 | + 'total' => $products->total(), | |
| 218 | + ], [ | |
| 216 | 219 | 'default_filters' => $productsQuery->getDefaultFilters(), |
| 217 | 220 | 'custom_filters' => [ |
| 218 | 221 | 'taxonomies' => [ |
| 219 | 222 | $taxFilters |