Disable Mobile Site?

For general questions and discussions specific to the AbleCommerce GOLD ASP.Net shopping cart software.
Post Reply
dc8johnson
Lieutenant Commander (LCDR)
Lieutenant Commander (LCDR)
Posts: 87
Joined: Fri Nov 20, 2009 8:46 am

Disable Mobile Site?

Post by dc8johnson » Mon Oct 22, 2012 3:50 pm

Is there a way to disable the mobile site? We're not ready with the template updates for the mobile site and would prefer mobile users go to the main site until we have mobile ready.

Thanks,
David Johnson

ableExpert
Ensign (ENS)
Ensign (ENS)
Posts: 15
Joined: Mon Oct 22, 2012 4:25 pm

Re: Disable Mobile Site?

Post by ableExpert » Mon Oct 22, 2012 4:37 pm

I think it can be redirected via some customization in application level.

Calbeth
Ensign (ENS)
Ensign (ENS)
Posts: 20
Joined: Thu Oct 04, 2012 8:21 am

Re: Disable Mobile Site?

Post by Calbeth » Mon Apr 01, 2013 10:42 am

Was anyone ever able to find a specific solution to this? I scoured the App_Code directory, and others, and I can't find the specific logic that forces the redirect. Just need to disable that, or find some workaround to force the full site in a "mobile" context for now. Any thoughts appreciated!

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Disable Mobile Site?

Post by mazhar » Mon Apr 01, 2013 10:58 am

Go to Administration > Configure > Store > Mobile Settings and then uncheck Mobile Browsing checkbox and save settings. This should disable mobile store and all users will be sent to main store.

Calbeth
Ensign (ENS)
Ensign (ENS)
Posts: 20
Joined: Thu Oct 04, 2012 8:21 am

Re: Disable Mobile Site?

Post by Calbeth » Mon Apr 01, 2013 1:38 pm

Mazhar,

Thanks for taking the time to respond. I should have mentioned I'm on Gold R3 build 5078, and I don't seem to have the Mobile Browsing checkbox in my admin console.

Unfortunately I'm in a bit of a crunch so I don't have time to go through the upgrading process (and we don't have a separate dev server setup just yet -- long story).

Can you recommend a workaround?

Image

User avatar
NC Software
AbleCommerce Partner
AbleCommerce Partner
Posts: 4620
Joined: Mon Sep 13, 2004 6:06 pm
Contact:

Re: Disable Mobile Site?

Post by NC Software » Mon Apr 01, 2013 1:42 pm

Mobile should probably be disabled by default and only enable it when the merchant has tested and designed it.
Neal Culiner
NC Software, Inc.

User avatar
Naveed
Rear Admiral (RADM)
Rear Admiral (RADM)
Posts: 611
Joined: Thu Apr 03, 2008 4:48 am

Re: Disable Mobile Site?

Post by Naveed » Mon Apr 01, 2013 8:34 pm

Calbeth wrote:I should have mentioned I'm on Gold R3 build 5078, and I don't seem to have the Mobile Browsing checkbox in my admin console.
We had an option to disable the mobile store from Gold R3 release. Earlier it was a drop-down, which we later replaced with a checkbox option to enable/disable. I checked with a Gold R3 build 5078 installation and I have the "Mobile Store Status:" drop-down option right on top of page above the catalog display section. I wonder why its not there for you.

Calbeth
Ensign (ENS)
Ensign (ENS)
Posts: 20
Joined: Thu Oct 04, 2012 8:21 am

Re: Disable Mobile Site?

Post by Calbeth » Tue Apr 02, 2013 8:39 am

Naveed: Me too. Unfortunately, it isn't. Buggy installs have happened before for us, too. In the meantime, can I setup a workaround programmatically?

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Disable Mobile Site?

Post by mazhar » Tue Apr 02, 2013 9:18 am

Calbeth wrote:Naveed: Me too. Unfortunately, it isn't. Buggy installs have happened before for us, too. In the meantime, can I setup a workaround programmatically?
Go to your database and then open ac_StoreSettings table. Try to find MobileStoreClosed entry in FieldName column. If you found the entry then set corrosponding FieldValue column to True. If MobileStoreClosed setting doesn't exist then try adding it to table having FieldValue set to True. Finally check if it disabled the mobile store or not.

User avatar
Naveed
Rear Admiral (RADM)
Rear Admiral (RADM)
Posts: 611
Joined: Thu Apr 03, 2008 4:48 am

Re: Disable Mobile Site?

Post by Naveed » Tue Apr 02, 2013 9:59 am

I suggest you should properly upgrade your install to Gold R3, here is a link for upgrade instructions:
http://help.ablecommerce.com/upgrades/a ... old_r3.htm

Calbeth
Ensign (ENS)
Ensign (ENS)
Posts: 20
Joined: Thu Oct 04, 2012 8:21 am

Re: Disable Mobile Site?

Post by Calbeth » Tue Apr 02, 2013 11:36 am

Go to your database and then open ac_StoreSettings table. Try to find MobileStoreClosed entry in FieldName column. If you found the entry then set corrosponding FieldValue column to True. If MobileStoreClosed setting doesn't exist then try adding it to table having FieldValue set to True. Finally check if it disabled the mobile store or not.
Mazhar to the rescue as usual. That did it! Thanks.

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Disable Mobile Site?

Post by mazhar » Tue Apr 02, 2013 12:18 pm

Glad that it worked. Seems like your mobile settings page is missing the Checkbox corresponding to this setting for some reason.

Calbeth
Ensign (ENS)
Ensign (ENS)
Posts: 20
Joined: Thu Oct 04, 2012 8:21 am

Re: Disable Mobile Site?

Post by Calbeth » Tue Apr 02, 2013 12:46 pm

Yes. Your suspicion was also correct that the "MobileStoreClosed" Field was missing. I had to create it. As soon as I did, the platform responded appropriately. Probably some kind of installation hiccup. For this particular client, we've been with Gold from the beginning, from initial release straight through to R3, and we've upgraded with each release. I bet the option will appear when we upgrade to R4.

Post Reply