Please help us to make AbanteCart Ideal Open Source Ecommerce Solution for everyone.

Support AbanteCart eCommerce

Author Topic: Select a different store button missing  (Read 2296 times)

Offline tastiger

  • Newbie
  • *
  • Posts: 32
  • Karma: +8/-0
    • View Profile
    • Tassie Vapes
Select a different store button missing
« on: October 22, 2015, 10:15:19 PM »
I have been developing a default store and a second store using multi store functionality in AbanteCart.
The second store works fine but I went to change a setting in admin and found that the button to select between stores is now missing?
I can no longer swap the settings pages between the two stores, I can see all the settings of both store in system, settings, all settings.
I can log into the second store admin directly but I am mystified why the button has disappeared?

I created a fresh installation using Softaculous then removed all sample data. I then created a second store and immediately the button disappeared.
I created a second fresh installation using Softaculous in another directory, created another store, and this time the button stayed and I can swap between the stores!

What might be controlling this behaviour with the select a different store button? And how might I restore functionality on my main installation?

This is AbanteCart 1.2.4

After a long search I found AbanteCart Cart, I found possibilities!

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 1781
  • Karma: +247/-11
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Select a different store button missing
« Reply #1 on: October 23, 2015, 04:18:06 AM »
try to open admin side by domain of your default store.
If you created a new store with another domain and login into it'a admin via new domain, store switcher will not show.
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline tastiger

  • Newbie
  • *
  • Posts: 32
  • Karma: +8/-0
    • View Profile
    • Tassie Vapes
Re: Select a different store button missing
« Reply #2 on: October 23, 2015, 05:27:37 AM »
It is in the default store admin that the switcher is not showing.

In fact it is only from this problem that I have learned that I can use the domain of the second store to log into the admin of the second store! Prior to this I was just switching in the admin of the default store.

So, the switcher does not show in either default or second store
After a long search I found AbanteCart Cart, I found possibilities!

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 1781
  • Karma: +247/-11
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Select a different store button missing
« Reply #3 on: October 26, 2015, 12:38:48 PM »
It is in the default store admin that the switcher is not showing.

In fact it is only from this problem that I have learned that I can use the domain of the second store to log into the admin of the second store! Prior to this I was just switching in the admin of the default store.

So, the switcher does not show in either default or second store

what about "store URL" setting? is it same with addressbar domain?
i checked your issue and can not to replicate it. 
What do you have in the database table stores? can you post it here?
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline tastiger

  • Newbie
  • *
  • Posts: 32
  • Karma: +8/-0
    • View Profile
    • Tassie Vapes
Re: Select a different store button missing
« Reply #4 on: October 26, 2015, 06:17:43 PM »
The store url is the same as the address bar domain but from this clue  I do suspect this is where the problem lies abolabo.

Because I have a live store running on my true domain and this in a new host in preparation for moving to AbanteCart The default store is on a second level domain and the second store had to go on a third level domain.
Abantecart was installed in its own folder.
I have found that by cloning AbanteCart to root I am able to use a true subdomain for the second server. This means the switching button has returned to Default store and I can switch to second store but not back!
So I am thinking that when I can remove the second level domain and go live all will be in order, hopefully.

I would have liked to solve things with the install in the subfolder now, but probably can't while these second and third level domains are needed to make things work at all, that is, my actual domain is not transferred to the new host.


table stores:

store_id[/t]namealiasstatus[/color]
0[/t]defaultdefault1[/color]
1[/t]POS at Tassie VapesPOS1[/color]
2[/t]testtest0[/color]
After a long search I found AbanteCart Cart, I found possibilities!

Online llegrand

  • Hero Member
  • *****
  • Posts: 1472
  • Karma: +383/-2
    • View Profile
Re: Select a different store button missing
« Reply #5 on: October 26, 2015, 10:04:57 PM »
multi-store does have some requirements - and I think you've found your issue.
the store(s) other than the main store  must be set up with a subdomain,  not a sub-directory,   OR it can be in a total different domain name.  Here's the docs:

http://docs.abantecart.com/pages/settings/stores.html

 

Powered by SMFPacks Social Login Mod