Foxy Forum Status

We're no longer responding to questions via our forum, but we will keep it up for historical reasons. If you can't find the answer you're looking for, please visit our knowledge base or contact us. If there's enough interest in the future, we may bring the forum back.

Getting the store ID

vikramvikram Member
in Help edited June 2012
Hello guys,

I have multiple stores and the datafeed from all the stores is feed to the same database. I am trying to differentiate between the orders using the StoreID. Is there a way I can get the storeID of the store without actually placing the order and pulling it from the XML data feed.
  • sparkwebsparkweb Member, Integration Developer, FoxyShop, Order Desk
    Why don't you setup your datafeed URL for each store like so:

    Then just check $_GET.

    What I've found is that this seems to work but this doesn't

    Seems there is some sort of Foxy Filtering limiting one querystring attribute.
  • vikramvikram Member

    Thanks a lot for the quick response.
    Well, I am already using that query string to pass some other parameter. So, that option is out.

    Also, I actually dont know the store ID for the new store. I will try to explain the scenario. I use a store which is setup as test store. Now that I have tested the test store which works as desired, I have created a new store with same setup but it is supposed to be live or production store. This might seem a little odd but I do not want to place any test order on this store and want to keep it as clean as I can. If I place an order I can definitely pull the store ID from the XML data feed, but I was eager to know if it can be done without placing the order.
  • sparkwebsparkweb Member, Integration Developer, FoxyShop, Order Desk
    If you look at the source of your store dropdown in the admin it shows the ID next to each store (the option value). I'll bet that will get what you need.
  • vikramvikram Member
    OOOyyaaaa :)
    Thanks a lot.. Why dint I think of that..
Sign In or Register to comment.