Open Platonn opened 4 years ago
We do not have this configurable in the backend. I've provided an example to customise this:
export class CustomProductListComponentService extends ProductListComponentService {
protected defaultPageSize = 12;
}
providers: [
{
provide: ProductListComponentService,
useClass: CustomProductListComponentService
}
See: projects/storefrontlib/src/cms-components/product/product-list/container/product-list-component.service.ts
Firstly check, if we can get this info from backend.
Related to https://github.com/SAP/spartacus/issues/7263#issuecomment-615247157 by @ESchuderer