.. ================================================== .. FOR YOUR INFORMATION .. -------------------------------------------------- .. -*- coding: utf-8 -*- with BOM. .. include:: ../../../../../../Includes.txt .. _administrators_setup_caddy_calculating_servicecosts_default: Default Code ============ Caddy is delivered with default TypoScript code for * payment * shipping and * specials See TypoScript Object Browser at .. code:: php plugin.tx_caddy_pi1 { api { options { payment { ... shipping { ... } specials { ... } } } } Setup ----- You have corresponding categores in the Constant Editor for configuring some options. Look at * CADDY - OPTIONS - PAYMENT * CADDY - OPTIONS - SHIPPING * CADDY - OPTIONS - SPECIALS Non documented properties ------------------------- Each shipping and payment method have four properties: - available_from - available_until - free_from - free_until and a general setting for shipping and payment - show_all_disabled Sorry, these properties aren't documented in this manual. The code snippet below contains an example with "available_until". Sample with a modified default code ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. code:: php plugin.tx_caddy_pi1 { api { options { ... shipping { options { 1 { title { data > value = Shipping by GLS noTrimWrap > } extra = by_quantity extra { 1 { value = 1 extra = 5.00 } 2 { value = 6 extra = 7.40 } // option is only available if gross price is less than 200.00 available_until = 200.00 } ... } } } } }