forked from silvershop/silvershop-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
example_config.yml
88 lines (76 loc) · 2.65 KB
/
example_config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
---
Name: app
After: silvershop/config#shopconfig
---
SilverShop\Checkout\CheckoutConfig:
member_creation_enabled: true
membership_required: true
SilverStripe\Control\Email\Email:
admin_email: [email protected]
SilverStripe\i18n\i18n:
default_locale: en_NZ
SilverShop\Model\Order:
modifiers:
- 'SilverShop\Model\Modifiers\Shipping\Simple'
- 'SilverShop\Model\Modifiers\Tax\FlatTax'
cancel_before_payment: false
cancel_before_processing: false
cancel_before_sending: false
cancel_before_sending: false
cancel_after_sending: false
# Change / add order status, added Refunded
db:
Status: Enum('Unpaid,Paid,Processing,Refunded,Sent,Complete,AdminCancelled,MemberCancelled,Cart','Cart')
# For logging order status changes & emailing notifications to customers
log_status:
- Processing
- Sent
- MemberCancelled
- AdminCancelled
SilverShop\Forms\OrderActionsForm:
# allow_paying: false # disable prompt to pay an unpaid order on the AccountPage
# allow_cancelling: true # allow cancelling of an order on the AccountPage
email_notification: true # Send email upon cancellation of an order
allow_cancelling: true
allow_paying: true
#SilverShop\Checkout\OrderProcessor:
# send_confirmation: true #send order confirmation when an order is placed, but unpaid
# send_admin_notification: true # copy to admin
SilverShop\Page\Product:
# global_allow_purchase: false # prevents the purchase of any product and disables adding to cart
# length_unit: 'M'
# weight_unit: 'Pounds'
db: # Revised decimal places
BasePrice: 'Currency(19,2)'
Weight: 'Decimal(12,3)'
Height: 'Decimal(12,3)'
Width: 'Decimal(12,3)'
Depth: 'Decimal(12,3)'
# Change the dimensions of product thumbnails
SilverShop\Extension\ProductImageExtension:
thumbnail_width: 140
thumbnail_height: 100
content_image_width: 200
large_image_width: 200
SilverShop\Page\ProductCategory:
include_child_groups: true
must_have_price: true
sort_options:
'Title' : 'Alphabetical'
'Price' : 'Lowest Price'
SilverShop\Extension\ShopConfigExtension:
base_currency: 'NZD'
email_from: [email protected]
SilverShop\ORM\FieldType\ShopCurrency:
decimal_delimiter: '.'
thousand_delimiter: ','
# european style currencies, e.g. 45,00 € instead of €45,00
append_symbol: true
SilverShop\Cart\ShoppingCartController:
# Redirect to the cart page after manipulating the shopping cart
direct_to_cart_page: true
# disable security token for cart-links
disable_security_token: true
#SilverShop\Reports\ShopPeriodReport:
# IF you are using the silverware/calendar module, uncomment the following line
#disable_set_date_format: true