| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Store closed mod | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
Store closed mod
This mod allows you to selectively permit entry to the customer side of your store when the store is temporarily closed via the General options.
At the moment you are not able to test the customer side of the store when it is closed. Mod instructions ~~~~~~~~~~ 1) Apply SQL patch (via the Patch/Upgrade administration section): INSERT INTO xcart_config VALUES ('admin_key', 'Access to site under construction', 'default', 'General', 0, 'text'); *Note that the key is set to 'default', which you change to your value 2) Replace customer/auth.php with (note the mod here is to V3.4.8): Code:
3) In the Admin/General Settings, there is now a field called 'Access to site under construction: '. Enter a password and hit update. 4) When the store is closed, via the 'Check this to close your shop temporarily: ' option, you (or anyone you choose to give the password to) will be able to access your store via: http://yoursiteURL/pathtoyourstore/customer/home.php?admin_key=password Where password is the password you entered into the admin configuration. Hope this helps someone, Rubyaryat |
|||||||||
#2
|
|||||||
|
|||||||
Cant get working in 3.5.6
I tried to apply this patch but unable to.
SQL PATCH FAILED AT QUERY: INSERT INTO xcart_config VALUES ('admin_key', 'Access to site under construction', 'default', 'General', 0, 'text') I have x-cart Gold 3.5.6 and would like to be able to test out customer side while store is now just liek it says. |
|||||||
#3
|
|||||||||
|
|||||||||
what version did you make this for its been std for awhile now
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. EWD Hosting Hands On Hosting |
|||||||||
#4
|
|||||||||
|
|||||||||
I made it over a year ago for version 3.4x, and it was adopted as standard by Xcart in later versions.
So 3.5.6 already has it included I believe. Rubyaryat
__________________
Rubymods.com - Your X-Cart services partner for over 9 years. Modules offered: FedEx labels, Live currency rates, GeoIP, Order Audit, Multiple e-goods. X-Cart Store Hosting, project management and affiliates program available. 4.2.3 gold [Unix] |
|||||||||
|
|||
X-Cart forums © 2001-2020
|