dbxapp 4.1.3
CMS, Shop, Workflows und modulare Geschäftsanwendungen
Loading...
Searching...
No Matches
checkout_en.fd.php File Reference

Go to the source code of this file.

Variables

 $messages = array()
 $messages ['save_success'] = 'Data was saved'
 $messages ['save_succeass'] = $messages['save_success']
 $messages ['save_error'] = 'Data could not be saved'
 $messages ['page_title'] = 'Checkout'
 $messages ['bar_title'] = 'Complete order'
 $messages ['page_subtitle'] = 'Review the customer details and test the demo order process.'
 $messages ['empty_title'] = 'Your cart is empty'
 $messages ['empty_subtitle'] = 'Select items before proceeding to checkout.'
 $messages ['empty_message'] = 'Select an item in the catalog and add it to your cart.'
 $messages ['login_subtitle'] = 'Sign-in required.'
 $messages ['login_message'] = '<strong>Sign-in required.</strong><br>Guest orders are currently disabled. Please sign in before completing the order.'
 $messages ['form_info'] = 'Review the customer details, payment method and acceptance of the legal texts.'
 $messages ['validation_error'] = 'Please check the highlighted required fields.'
 $messages ['no_payment'] = 'No payment method is available.'
 $messages ['select_payment'] = 'Select an available payment method.'
 $messages ['confirm_legal'] = 'Please accept the legal texts and acknowledge the withdrawal policy.'
 $messages ['legal_field_error'] = 'Please accept the legal texts.'
 $messages ['withdrawal_field_error'] = 'Please acknowledge the withdrawal policy.'
 $messages ['order_error'] = 'The order could not be created.'
 $messages ['technical_error'] = 'The order could not be processed due to a technical error.'
 $messages ['demo_title'] = 'Demo shop – no actual purchase'
 $messages ['demo_message'] = 'This shop is provided solely for demonstration and testing. You can complete the entire order process with test data; only a technical test transaction is processed. No actual purchase, payment or delivery takes place, and no purchase contract is formed.'
 $messages ['payment_bank_transfer'] = 'Prepayment / bank transfer'
 $messages ['payment_invoice'] = 'Invoice'
 $messages ['payment_none_help'] = 'No payment method is currently active or fully configured.'
 $messages ['payment_bank_transfer_help'] = 'The order is saved. The customer then transfers the amount using the order number as the payment reference.'
 $messages ['payment_invoice_help'] = 'The order is saved and paid later by invoice.'
 $messages ['payment_paypal_help'] = 'You will be redirected to PayPal. The payment is updated automatically after approval.'
 $messages ['payment_amazon_help'] = 'You will be redirected to Amazon Pay. Sandbox and live mode use the credentials saved in the shop settings.'
 $messages ['bank_transfer_default'] = 'Please transfer the invoice amount and include the order number.'
 $messages ['invoice_default'] = 'You will receive an invoice. Please pay within the stated period.'
 $messages ['paypal_default'] = 'The payment is authorized through PayPal and updated automatically after a successful response.'
 $messages ['amazon_default'] = 'The payment is authorized through Amazon Pay and updated automatically after a successful response.'
 $messages ['account_owner'] = 'Account holder'
 $messages ['purpose'] = 'Payment reference'
 $messages ['column_product'] = 'Product'
 $messages ['column_quantity'] = 'Quantity'
 $messages ['column_price'] = 'Price'
 $messages ['column_shipping'] = 'Shipping'
 $messages ['column_total'] = 'Total'
 $messages ['amount_due'] = 'Amount due'
 $messages ['order_saved_title'] = 'Order saved'
 $messages ['order_number_text'] = 'Your order number is'
 $messages ['payment_method_label'] = 'Payment method'
 $messages ['status_label'] = 'Status'
 $messages ['order_waiting'] = 'The order is visible in shop administration and is awaiting processing.'
 $messages ['total_label'] = 'Total'
 $messages ['view_orders'] = 'View orders'
 $messages ['continue_shopping'] = 'Continue shopping'
 $messages ['thanks_title'] = 'Thank you'
 $messages ['saved_snapshot_subtitle'] = 'The order was saved as a snapshot.'
 $messages ['payment_note'] = 'Payment information'
 $addField
 $cfg = array()
if(function_exists('dbx')) $cfgBool
 $paymentOptions = array()
if( $cfgBool( 'payment_bank_transfer_enabled', true)) if($cfgBool('payment_invoice_enabled', false)) if($cfgBool( 'payment_paypal_enabled', false) &&trim((string)( $cfg[ 'payment_paypal_client_id'] ?? '')) !=='' &&trim((string)( $cfg[ 'payment_paypal_client_secret'] ?? '')) !=='') if( $cfgBool('payment_amazon_pay_enabled', false) &&trim((string)($cfg['payment_amazon_pay_merchant_id'] ?? '')) !=='' &&trim((string)($cfg['payment_amazon_pay_store_id'] ?? '')) !=='' &&trim((string)($cfg['payment_amazon_pay_public_key_id'] ?? '')) !=='' &&trim((string)($cfg['payment_amazon_pay_private_key'] ?? '')) !=='') $optionString = ''

Variable Documentation

◆ $addField

$addField
Initial value:
= function($name, $type, $label, $rules, $tpl, $extra = array()) use (&$fields) {
$field=array();
$field['name']=$name;
$field['type']=$type;
$field['index']='';
$field['length']=$extra['length'] ?? '';
$field['default']=$extra['default'] ?? '';
$field['label']=$label;
$field['rules']=$rules;
$field['tooltip']=$extra['tooltip'] ?? '';
$field['errormsg']=$extra['errormsg'] ?? '';
$field['placeholder']=$extra['placeholder'] ?? '';
$field['convert']='';
$field['protect']='0';
$field['mask']='';
$field['data']=$extra['data'] ?? '';
$field['options']=$extra['options'] ?? '';
$field['tpl']=$tpl;
}
if($web->content_permalink_redirect_target() !=='') $tpl

Definition at line 56 of file checkout_en.fd.php.

◆ $cfg

$cfg = array()

Definition at line 84 of file checkout_en.fd.php.

◆ $cfgBool

if (function_exists( 'dbx')) $cfgBool
Initial value:
= function(string $key, bool $default = false) use ($cfg): bool {
if (!array_key_exists($key, $cfg)) {
return $default;
}
$value = $cfg[$key];
if (is_bool($value)) return $value;
return in_array(strtolower(trim((string)$value)), array('1', 'true', 'yes', 'on'), true);
}
$cfg

Definition at line 89 of file checkout_en.fd.php.

◆ $messages [1/53]

$messages[ 'account_owner'] = 'Account holder'

Definition at line 36 of file checkout_en.fd.php.

◆ $messages [2/53]

$messages[ 'amazon_default'] = 'The payment is authorized through Amazon Pay and updated automatically after a successful response.'

Definition at line 35 of file checkout_en.fd.php.

◆ $messages [3/53]

$messages[ 'amount_due'] = 'Amount due'

Definition at line 43 of file checkout_en.fd.php.

◆ $messages [4/53]

$messages[ 'bank_transfer_default'] = 'Please transfer the invoice amount and include the order number.'

Definition at line 32 of file checkout_en.fd.php.

◆ $messages [5/53]

$messages[ 'bar_title'] = 'Complete order'

Definition at line 7 of file checkout_en.fd.php.

◆ $messages [6/53]

$messages[ 'column_price'] = 'Price'

Definition at line 40 of file checkout_en.fd.php.

◆ $messages [7/53]

$messages[ 'column_product'] = 'Product'

Definition at line 38 of file checkout_en.fd.php.

◆ $messages [8/53]

$messages[ 'column_quantity'] = 'Quantity'

Definition at line 39 of file checkout_en.fd.php.

◆ $messages [9/53]

$messages[ 'column_shipping'] = 'Shipping'

Definition at line 41 of file checkout_en.fd.php.

◆ $messages [10/53]

$messages[ 'column_total'] = 'Total'

Definition at line 42 of file checkout_en.fd.php.

◆ $messages [11/53]

$messages[ 'confirm_legal'] = 'Please accept the legal texts and acknowledge the withdrawal policy.'

Definition at line 18 of file checkout_en.fd.php.

◆ $messages [12/53]

$messages[ 'continue_shopping'] = 'Continue shopping'

Definition at line 51 of file checkout_en.fd.php.

◆ $messages [13/53]

$messages[ 'demo_message'] = 'This shop is provided solely for demonstration and testing. You can complete the entire order process with test data; only a technical test transaction is processed. No actual purchase, payment or delivery takes place, and no purchase contract is formed.'

Definition at line 24 of file checkout_en.fd.php.

◆ $messages [14/53]

$messages[ 'demo_title'] = 'Demo shop – no actual purchase'

Definition at line 23 of file checkout_en.fd.php.

◆ $messages [15/53]

$messages[ 'empty_message'] = 'Select an item in the catalog and add it to your cart.'

Definition at line 11 of file checkout_en.fd.php.

◆ $messages [16/53]

$messages[ 'empty_subtitle'] = 'Select items before proceeding to checkout.'

Definition at line 10 of file checkout_en.fd.php.

◆ $messages [17/53]

$messages[ 'empty_title'] = 'Your cart is empty'

Definition at line 9 of file checkout_en.fd.php.

◆ $messages [18/53]

$messages[ 'form_info'] = 'Review the customer details, payment method and acceptance of the legal texts.'

Definition at line 14 of file checkout_en.fd.php.

◆ $messages [19/53]

$messages[ 'invoice_default'] = 'You will receive an invoice. Please pay within the stated period.'

Definition at line 33 of file checkout_en.fd.php.

◆ $messages [20/53]

$messages[ 'legal_field_error'] = 'Please accept the legal texts.'

Definition at line 19 of file checkout_en.fd.php.

◆ $messages [21/53]

$messages[ 'login_message'] = '<strong>Sign-in required.</strong><br>Guest orders are currently disabled. Please sign in before completing the order.'

Definition at line 13 of file checkout_en.fd.php.

◆ $messages [22/53]

$messages[ 'login_subtitle'] = 'Sign-in required.'

Definition at line 12 of file checkout_en.fd.php.

◆ $messages [23/53]

$messages[ 'no_payment'] = 'No payment method is available.'

Definition at line 16 of file checkout_en.fd.php.

◆ $messages [24/53]

$messages[ 'order_error'] = 'The order could not be created.'

Definition at line 21 of file checkout_en.fd.php.

◆ $messages [25/53]

$messages[ 'order_number_text'] = 'Your order number is'

Definition at line 45 of file checkout_en.fd.php.

◆ $messages [26/53]

$messages[ 'order_saved_title'] = 'Order saved'

Definition at line 44 of file checkout_en.fd.php.

◆ $messages [27/53]

$messages[ 'order_waiting'] = 'The order is visible in shop administration and is awaiting processing.'

Definition at line 48 of file checkout_en.fd.php.

◆ $messages [28/53]

$messages[ 'page_subtitle'] = 'Review the customer details and test the demo order process.'

Definition at line 8 of file checkout_en.fd.php.

◆ $messages [29/53]

$messages[ 'page_title'] = 'Checkout'

Definition at line 6 of file checkout_en.fd.php.

◆ $messages [30/53]

$messages[ 'payment_amazon_help'] = 'You will be redirected to Amazon Pay. Sandbox and live mode use the credentials saved in the shop settings.'

Definition at line 31 of file checkout_en.fd.php.

◆ $messages [31/53]

$messages[ 'payment_bank_transfer'] = 'Prepayment / bank transfer'

Definition at line 25 of file checkout_en.fd.php.

◆ $messages [32/53]

$messages[ 'payment_bank_transfer_help'] = 'The order is saved. The customer then transfers the amount using the order number as the payment reference.'

Definition at line 28 of file checkout_en.fd.php.

◆ $messages [33/53]

$messages[ 'payment_invoice'] = 'Invoice'

Definition at line 26 of file checkout_en.fd.php.

◆ $messages [34/53]

$messages[ 'payment_invoice_help'] = 'The order is saved and paid later by invoice.'

Definition at line 29 of file checkout_en.fd.php.

◆ $messages [35/53]

$messages[ 'payment_method_label'] = 'Payment method'

Definition at line 46 of file checkout_en.fd.php.

◆ $messages [36/53]

$messages[ 'payment_none_help'] = 'No payment method is currently active or fully configured.'

Definition at line 27 of file checkout_en.fd.php.

◆ $messages [37/53]

$messages[ 'payment_note'] = 'Payment information'

Definition at line 54 of file checkout_en.fd.php.

◆ $messages [38/53]

$messages[ 'payment_paypal_help'] = 'You will be redirected to PayPal. The payment is updated automatically after approval.'

Definition at line 30 of file checkout_en.fd.php.

◆ $messages [39/53]

$messages[ 'paypal_default'] = 'The payment is authorized through PayPal and updated automatically after a successful response.'

Definition at line 34 of file checkout_en.fd.php.

◆ $messages [40/53]

$messages[ 'purpose'] = 'Payment reference'

Definition at line 37 of file checkout_en.fd.php.

◆ $messages [41/53]

$messages[ 'save_error'] = 'Data could not be saved'

Definition at line 5 of file checkout_en.fd.php.

◆ $messages [42/53]

$messages[ 'save_succeass'] = $messages['save_success']

Definition at line 4 of file checkout_en.fd.php.

◆ $messages [43/53]

$messages[ 'save_success'] = 'Data was saved'

Definition at line 3 of file checkout_en.fd.php.

◆ $messages [44/53]

$messages[ 'saved_snapshot_subtitle'] = 'The order was saved as a snapshot.'

Definition at line 53 of file checkout_en.fd.php.

◆ $messages [45/53]

$messages[ 'select_payment'] = 'Select an available payment method.'

Definition at line 17 of file checkout_en.fd.php.

◆ $messages [46/53]

$messages[ 'status_label'] = 'Status'

Definition at line 47 of file checkout_en.fd.php.

◆ $messages [47/53]

$messages[ 'technical_error'] = 'The order could not be processed due to a technical error.'

Definition at line 22 of file checkout_en.fd.php.

◆ $messages [48/53]

$messages[ 'thanks_title'] = 'Thank you'

Definition at line 52 of file checkout_en.fd.php.

◆ $messages [49/53]

$messages[ 'total_label'] = 'Total'

Definition at line 49 of file checkout_en.fd.php.

◆ $messages [50/53]

$messages[ 'validation_error'] = 'Please check the highlighted required fields.'

Definition at line 15 of file checkout_en.fd.php.

◆ $messages [51/53]

$messages[ 'view_orders'] = 'View orders'

Definition at line 50 of file checkout_en.fd.php.

◆ $messages [52/53]

$messages[ 'withdrawal_field_error'] = 'Please acknowledge the withdrawal policy.'

Definition at line 20 of file checkout_en.fd.php.

◆ $messages [53/53]

$messages = array()

Definition at line 2 of file checkout_en.fd.php.

◆ $optionString

if($cfgBool('payment_bank_transfer_enabled', true)) if( $cfgBool( 'payment_invoice_enabled', false)) if( $cfgBool('payment_paypal_enabled', false) &&trim((string)($cfg['payment_paypal_client_id'] ?? '')) !=='' &&trim((string)($cfg['payment_paypal_client_secret'] ?? '')) !=='') if ($cfgBool( 'payment_amazon_pay_enabled', false) &&trim((string)( $cfg[ 'payment_amazon_pay_merchant_id'] ?? '')) !=='' &&trim((string)( $cfg[ 'payment_amazon_pay_store_id'] ?? '')) !=='' &&trim((string)( $cfg[ 'payment_amazon_pay_public_key_id'] ?? '')) !=='' &&trim((string)( $cfg[ 'payment_amazon_pay_private_key'] ?? '')) !=='') $optionString = ''

Definition at line 120 of file checkout_en.fd.php.

◆ $paymentOptions

$paymentOptions = array()

Definition at line 97 of file checkout_en.fd.php.