cancel
Showing results for 
Search instead for 
Did you mean: 

Multi Store with different actions

SOLVED

Multi Store with different actions

Hi guys, I have a little problem:

I have a Magento site in which I have 2 (i can choose in frontend at any time) shops and I want to interact in two different forms. In one of them the shop will have a cart and prices and in the second one it will not have cart and prices so only customers can create budgets.

Is it possible determine what shop im in? I trying to use $_SERVER variables to manage shop1 and shop2 but this variable is restore to an initial value.

I’ll be waiting for your’re response, thank you in advance and sorry for poor language Smiley Tongue.

Best wishes.

2 REPLIES

Re: Multi Store with different actions

If you run multi store then do get store code instead of using $_SERVER. .

Mage::app()->getStore(); // this will gives current store's details

 

And untilise this for making peoper condition and to achieve your needs.

 

Hope it helps you cheers Smiley Happy

 

-
Magento Programmer | Was my answer helpful? You can accept it as a solution.

Re: Multi Store with different actions

Thanks Grav, that works for me! Smiley Wink