Hello,
I have multiple store:
My eStore
-- Canada fr
-- Canada en
-- USA en
Is there any getStoreView ?
Because I use WebText Amazon FBA extension and I want to display the "in stock qty" by store views.
At the moment I use this it works but I need help...
<div class="availability-qty">
<?php if (Mage::app()->getStore()->getWebsiteId() == 4):?>
<div class="availability-qty">
<?php if ($_product->isAvailable()): ?>
<p class="availability in-stock"><?php echo $this->__('Qty Available:') ?> <span><!--<?php echo $this->__('In stock') ?>--><?= (int) Mage:: getModel('cataloginventory/stock_item')->loadByProduct($_product)->getQty()?></span></p>
<?php else: ?>
<p class="availability out-of-stock"><?php echo $this->__('Availability:') ?> <span><?php echo $this->__('Out of stock') ?></span></p>
<?php endif; ?>
</div>
<?php endif; ?>
</div>