I have multiple stores and I would like to have different text and images, while the stores are in maintenance mode.
To do that I need to change the 503.phtml
file .
This is the default content of the file:
<div id="main" class="col-main">
<!-- [start] content -->
<div class="page-title">
<h1>Service Temporarily Unavailable</h1>
</div>
<p>The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.</p>
<!-- [end] content -->
</div>
Obviously I cannot use the Mage::app()->getStore()
, because the Mage.php
is not included, but before I start to hardcode it, by getting the domain name using php
, I want to ask you if there is another way to do this ?
Thank you!