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.
The media url variable allows you to override the Media Url setting in the BrilliantRetail admin.
$config['br_media_url'] = 'http://www.example.com';
The secure url variable allows you to override the Secure Url setting in the BrilliantRetail admin.
$config['br_secure_url'] = 'https://www.example.com';
The media directory variable allows you to override the Media Directory setting in the BrilliantRetail admin. This is the full path to the media directory.
$config['br_media_dir'] = '/www/user/public_html/media';
By default the system caches individual product queries to a local file. The greatly improves the overall query performance. You can disabled it during development by setting the value to TRUE.
$config['br_disable_product_cache'] = 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_hide_blank_option'] = TRUE;
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_filter_power'] = 10;
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. added 188.8.131.52
$config['br_suppress_new_account_email'] = 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. added 184.108.40.206
$config['br_display_out_of_stock'] = TRUE;
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_license'] = 'abcde-1234-XXXX';
BrilliantRetail contains a few features that we are working on and are considered experimental. These features are not officially supported but they are there for testing.
You can add the ability to switch product types setting the br_product_edit_type flag to TRUE in your configuration file.
$config['br_product_edit_type'] = TRUE;