Config/product_types.php

bagisto · packages/Webkul/Product/src/Config/product_types.php · php · MIT
ui, tag:knn-classified

Configuration mapping product type keys to classes and metadata for e-commerce product handling.

// Source: https://github.com/bagisto/bagisto | License: MIT | Copyright 2010-2025, Webkul Software
// Provided via justclaw.it.com; keep this notice with the code.
<?php

use Webkul\Product\Type\Booking;
use Webkul\Product\Type\Bundle;
use Webkul\Product\Type\Configurable;
use Webkul\Product\Type\Downloadable;
use Webkul\Product\Type\Grouped;
use Webkul\Product\Type\Simple;
use Webkul\Product\Type\Virtual;

return [
    'simple' => [
        'key' => 'simple',
        'name' => 'product::app.type.simple',
        'class' => Simple::class,
        'sort' => 1,
    ],

    'configurable' => [
        'key' => 'configurable',
        'name' => 'product::app.type.configurable',
        'class' => Configurable::class,
        'sort' => 2,
    ],

    'grouped' => [
        'key' => 'grouped',


... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key