Enable purchasing products¶
To enable purchasing from the catalog, the following configuration is required:
- at least one region and one currency for the shop
- VAT rates for the product type
- at least one price for the product
- availability with positive or infinite stock for the product
Region and currency¶
All currencies available in the system must be enabled in the Back Office under Commerce -> Currencies.
Additionally, you must configure currencies valid for specific SiteAccesses in configuration:
1 2 3 4 5 6 7 8 9 10 11
Configuring other regions and currencies¶
By default, the system always uses the first currency and the first region configured.
To implement a different logic, for example a switcher for preferred currencies and regions,
you need to subscribe to
Ibexa\Contracts\ProductCatalog\Events\RegionResolveEvent in your customization.
You can configure VAT rates per product type in the Back Office.
In the product type editing mode, access the definition of the Product Specification Field.
The product must have at least one price configured.
To enable adding a product to basket, you must configure product availability with positive or infinite stock.