binshops / prestashop-rest

PrestaShop REST API module to expose your PrestaShop website's REST endpoints
https://www.binshops.com/prestashop-api
Academic Free License v3.0
95 stars 33 forks source link

about facets #8

Closed OguzhanLevent closed 3 years ago

OguzhanLevent commented 3 years ago

I'm trying to filter on a category, but failed.

if ($provider instanceof FacetsRendererInterface) { // with the provider if it wants to $rendered_facets = $provider->renderFacets( $context, $result ); $rendered_active_filters = $provider->renderActiveFilters( $context, $result ); } else { // with the core $rendered_facets = $this->renderFacets( $result ); $rendered_active_filters = $this->renderActiveFilters( $result ); }

How can I find and use filter variables?

samberrry commented 3 years ago

Hi @OguzhanLevent , the faceted module and search functionality is not available in this version. The pro version has complete access to search and facets.

OguzhanLevent commented 3 years ago

Hello, I have been developing the module myself since about June. As an extra, I added many features to the module, including payment.

I also want to contribute to this module for free, but it is a bit cruel for you to finish the module and put it up for sale.

for example; https://prnt.sc/1qgvr0v

have a nice day.

samberrry commented 3 years ago

Hi @OguzhanLevent, that's nice. Would you please leave your email here to discuss it more?

Thanks

OguzhanLevent commented 3 years ago

byhero41@gmail.com

you can contact me

I wrote the query that gets the features used in the categories, now all I have to do is filter the category and search operations.