Configuration options allow you to set a number of BrilliantRetail configuration variables in the system files. Below is a list of the configuration options currently available.
$config['br_license'] = 'abcde-1234-XXXX';
The license variable allows you to enter the license key directly into the config file instead of entering as a setting in the BrilliantRetail admin.
$config['br_media_url'] = 'http://www.example.com';
The media url variable allows you to override the Media Url setting in the BrilliantRetail admin.
The secure url variable allows you to override the Secure Url setting in the BrilliantRetail admin.
$config['br_secure_url'] = 'https://www.example.com';
$config['br_media_dir'] = '/www/user/public_html/media';
The media directory variable allows you to override the Media Directory setting in the BrilliantRetail admin. This is the full system path to the media directory.
$config['br_disable_product_cache'] = TRUE;
By default the system caches individual product queries to a local file. The greatly improves the overall number of queries required to build the product data and improves performance. You can disabled it during development by setting the value to TRUE.
$config['br_display_out_of_stock'] = TRUE;
By default BrilliantRetail will not display out of stock items to the end user. The br_display_out_of_stock flag allows you to display the product and you can test for the stock status in the product with the in_stock variable.
$config['br_hide_blank_option'] = TRUE;
By default configurable products have an initial 'blank' option. By setting the br_hide_blank_option to TRUE the first option in the list will be automatically selected.
$config['br_filter_power'] = 10;
The price buckets on the layered navigation are built using the PHP pow() method which is set to 10 by default. Adjusting the value to another exponential base like 5,15,20,25, etc may result in better range filters based on your product price distribution.
$config['br_suppress_new_account_email'] = TRUE;
When in guest checkout mode BrilliantRetail still creates an account to pair the order too. BrilliantRetail automatically sends a welcome email when creating the new account. You can suppress the email by setting the configuration variable to TRUE as shown.
$config['br_checkout_thankyou_order_id'] = 1001;
Set an order id so you can load the checkout_thankyou tag during development.
IMPORTANT This should NEVER be used in a production environment.
$config['br_compress_js'] = 'n';
$config['br_autologin'] = 'n';
Setting the value to 'y' will autologin the user in registration and checkout forms.