Contributions
Closed Store Mode
I created this module for a store owner whose baby was due anytime and who wanted the store to be functional but not able to take orders while she was in hospital.
The module is very simple to install (3 little file changes, one new database entry).
It allows your customers & search engines to browse, even add items to the cart so they can later check out when you are back, it will only not allow them to leave the shopping cart page to go to checkout shipping. A friendly message is displayed on the cart page.
Module created by Monika Mathé
osCommerce username: Monika in Germany
www.monikamathe.com
Expand All / Collapse All
=======================================================================================================
BUG-----------------------> ON_OFF_SHOP'; [SHOP']
=======================================================================================================
in catalog/shopping_cart.php
find :
$closed_message = 'Shop is temporarily closed, please wait for reopening';
and replaces with :
$closed_message = ON_OFF_SHOP';
=======================================================================================================
<-----------------------------------BUG
=======================================================================================================
=======================================================================================================
Fixe----------------------->
=======================================================================================================
find :
$closed_message = ON_OFF_SHOP';
and replaces with :
$closed_message = ON_OFF_SHOP;
=======================================================================================================
-----------------------> enjoy!
=======================================================================================================
Diese anleitung ist nur für German-Shops
###########################################################
# Unter oscommerce-2.2rc2a entwickelt und getestet #
# Fragen und Bugs per E-Mail an thepolargeier@t-online.de #
###########################################################
Mod Info: mit diesen Mod könnt ihr Euren Kunden anzeigen wenn Euer Shop mal Geschlossen ist
die anzeige für den Kunden sieht man dan im Warenkorb.
---> kleiner zusatz von mir am ende Dieser Anleitung für die anzeige im Index <---
First i want thank Monika in germany for this contributions.
I just change some code in the first installation to into the multi languages on_off_shop.
Please always backup first before update.
Use at your own risk.
Update :
4) in catalog/includes/languages/english/shopping_cart.php
before ?> add:
define('ON_OFF_SHOP', '<h1>Sorry, shop is temporarily closed.<br>Please wait for
reopening.</h>');
5) do the same in the other languages in catalog/includes/languages/your-languages/shopping_cart.php
before ?> add:
define('ON_OFF_SHOP', '<h1>Your-Languages</h>');
6) in catalog/shopping_cart.php
find :
$closed_message = 'Shop is temporarily closed, please wait for reopening';
and replaces with :
$closed_message = ON_OFF_SHOP';
7) The End and Enjoy it.
I created this module for a store owner whose baby was due anytime and who wanted the store to be functional but not able to take orders while she was in hospital.
The module is very simple to install (3 little file changes, one new database entry).
It allows your customers & search engines to browse, even add items to the cart so they can later check out when you are back, it will only not allow them to leave the shopping cart page to go to checkout shipping. A friendly message is displayed on the cart page.
Module created by Monika Mathé
osCommerce username: Monika in Germany
www.monikamathe.com
Note: Contributions are used at own risk.