Community Add-Ons

Maintainers: raiwa
No public uploads allowed
Top » Content Modules

Store Mode BS
for osCommerce Online Merchant v2.3

Version 1.0 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

Legend:  Download   Report

Expand All / Collapse All

Store Mode 1.1r2 BS raiwa 9 Feb 2017  

Version 1.1r2 BS

Changes Version 1.1r2:
- Fixed constant definition in header tags module. Thanks to @katapofatico

Changes Version 1.1r1:
- Changed condition to not show admin reminders on store side in test modes. Thanks to @Fiber

Changes Version 1.1:
- Added restore function for .htaccess file. This is needed if Header Tag Store Mode Module is uninstalled in "Offline" or "Offlinetest" mode. Thanks to @ecommunlimited
- Added Reminder Messages for Administrators which show permanent in Admin and in the Store for Administrators if Store Mode is not "Online".
- Added "Contact" link to maintenance.php
- Auto fill in Store Name and Store E-Mail to maintenance.php when Header Tag module is installed


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

Store Mode 1.1r1 BS raiwa 8 Dec 2016  
Store Mode 1.1 BS raiwa 8 Dec 2016  
Store Mode BS raiwa 6 Dec 2016