# Configuration
# Overview
Configuration for GetCandy is separated into individual files under config/getcandy
for core and config/getcandy-hub
for admin hub. You can either override the different config options adhoc or you can publish all the configuration options and tweak as you see fit.
php artisan vendor:publish --tag=getcandy
# Database Table Prefix
getcandy/database.php
So that GetCandy tables do not conflict with your existing application database tables, you can specify a prefix to use. If you change this after installation, you are on your own - happy renaming!
'table_prefix' => 'getcandy_',
# Orders
getcandy/orders.php
Here you can set up the statuses you wish to use for your orders.
'draft_status' => 'awaiting-payment',
'statuses' => [
'awaiting-payment' => [
'label' => 'Awaiting Payment',
'color' => '#848a8c',
],
'payment-received' => [
'label' => 'Payment Received',
'color' => '#6a67ce',
],
],
# Media
getcandy/media.php
Transformations for all uploaded images.
'transformations' => [
'zoom' => [
'width' => 500,
'height' => 500,
],
'large' => [
// ...
],
'medium' => [
// ...
],
'small' => [
// ...
],
],
# Products
getcandy-hub/products
'disable_variants' => false,
'sku' => [
'required' => true,
'unique' => true,
],
'gtin' => [
'required' => false,
'unique' => false,
],
'mpn' => [
'required' => false,
'unique' => false,
],
'ean' => [
'required' => false,
'unique' => false,
],