Store Mode BS

for osCommerce Online Merchant v2.3

Version 1 BS Complete recoded Add-On, 100% modularized, not any file changes. Inspired by: Store Mode (Open | Closed | Maintenance) and: Site Maintenance Status - All versions Maintenance page based on the page included there. Thanks to @Demitry Installation: Upload new files and install one ht module and one content header module. Support Forum: http://forums.oscommerce.com/topic/410489-store-mode-bs/ Thanks to @ecommunlimited, @Fiber and @frankl for testing and reports Compatibility: OsC 2.3.4 Bootstrap Community Editions GOLD and EDGE at least up to 2016/10/03 PHP: 5.3, 5.4, 5.5, 5.6, 7.0 Filenames, Database Table Names and paths hardcoded. Superglobal variables used. This add-on allowes to switch your store to different closed/maintenance modes. It allows you to do installations, maintenance and checks closing only the strict necessary areas of your store. Store modes: - Online: Normal store mode - Custom: Customizable group of pages. Default: product_reviews.php and product_reviews_write.php. Any group of pages can be defined. Customers will be redirected to the last visited page outside the restricted area or index.php. A temporary message will be shown only if a customer tries to access the restircted area. - Checkout: By default all checkout pages are included in this group. Customers will be redirected to the last visited page outside the restricted area or shopping_cart.php. A permanent message will be shown on the shopping cart page and optional on the index page. An additional temporary message shows only if a customer tries to access the restircted area. - Account: By default all checkout pages and account pages are included in this group. Customers will be redirected to the last visited page outside the restricted area or index.php. A permanent message will be shown on the shopping cart page and index page. An additional temporary message shows only if a customer tries to access the restircted area. - Offline: Customers will be redirected by .htaccess rewrite rules to a standalone 503 maintenance page. The store administrators IP will be entered automatically in a configuration list. Additional administrators/developpers IPs can be added. These IPs are excluded from redirects in all the above listed Modes. Test Modes for all above listed modes are available which will only redirect the IP's included in the configuration list. This can be used to check the redirects and messages. english, spanish and german language files included Full Package

Changelog