Need a new method in CatalogEndpoint: findAllProductsForCategory

Topics related to running, modifying, or working with the Broadleaf Commerce Demo application

Moderator: jocanas

ldriver
Newbie
Newbie
Posts: 2
Joined: Fri Jun 10, 2016 5:08 pm

Need a new method in CatalogEndpoint: findAllProductsForCategory

Postby ldriver » Tue Jun 14, 2016 10:45 pm

I have REST API working, but I need a way to return all products within a certain category. Right now I'm using findSearchResultsByCategoryAndQuery by passing the category id and using a very generic query to get almost all the products in the category. What I really need is a method called findAllProductsForCategory which returns all products in the category.

I'm new to Broadleaf and REST API, can someone please guide me through how to extend CatalogEndpoint to get the functionality I need.

Return to “Broadleaf Commerce Demo”

Who is online

Users browsing this forum: No registered users and 2 guests