Ahmad Ridwan Fauzi
07/24/2021, 9:57 AMdef index
@searcher = build_searcher(params.merge(include_images: true))
@products = @searcher.retrieve_products
@taxonomies = Spree::Taxonomy.includes(root: :children)
end
I would like to know based on the code above, is there any way to get the count of the total products included on the search parameter?peter
07/24/2021, 11:20 AM@products.total_countAhmad Ridwan Fauzi
08/19/2021, 7:29 AMpeter
08/19/2021, 4:02 PM