Commerce administration dashboard
* Product catalogue * Product categories * Physical, digital, service, and bundle product types * Product variants and option storage * SKU management * Product publishing states * Pricing and comparison pricing * Inventory quantities * Low-stock thresholds * Inventory movement history * Customer records and addresses * Orders and order items * Payment and fulfilment statuses * Payment transaction storage * Promotions and coupon codes * Shipping methods * Tax rates * Payment, shipping, tax, and inventory provider contracts * Default manual payment provider * Default flat-rate shipping provider * Public product REST API * Administration navigation * Commerce permissions * Module registration * Module boot tests
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
namespace Modules\Commerce\Models;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
final class Category extends Model
|
||||
{
|
||||
|
||||
protected $table = 'commerce_categories';
|
||||
protected $guarded = [];
|
||||
protected function casts(): array { return ['is_active'=>'boolean']; }
|
||||
}
|
||||
Reference in New Issue
Block a user