CoolCMS API

Inits

Table of Contents

Traits

BatchDecorationTrait
Batch decoration with the price (`PriceResolver`) and availability ({@see \App\UI\Api\Eshop\Models\Managers\ProductSetManager::getAvailabilities()}).
CanonicalUrlTrait
Same as Bazaar `CanonicalUrlTrait`: `getParameters()` returns the whole raw request (not just persistent properties), so the `p[]` facet round-trips automatically.
CatalogOnlyGuardTrait
Respects the setting `4/catalog.only`.
CategoryTrait
Resolves the current category from the route parameter `category`.
MetaDataTrait
Meta data of the catalog; same as `Front\Bazaar\...\Inits\MetaDataTrait`.
ParameterTrait
`p[]` parameter facet; like Bazaar `ParameterTrait::prepareParameterFilter()` without address distance/geocoding (the e-shop does not use it).
On this page

Search results