Commit c9c33dae authored by Artem Malichev's avatar Artem Malichev

Minor fixes

parent a11902c9
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
<div class="pull-right"> <div class="pull-right">
<p class="lead" itemprop="offers" itemscope itemtype="http://schema.org/Offer"> <p class="lead" itemprop="offers" itemscope itemtype="http://schema.org/Offer">
<span itemprop="price" content="{$item.price}">{$item.price_formatted}</span> <span itemprop="price" content="{$item.price}">{$item.price_formatted}</span>
<span itemprop="priceCurrency">{$item.currency}</span> <span itemprop="priceCurrency" content="{$item.currency.code}"></span>
</p> </p>
</div> </div>
</div> </div>
......
...@@ -72,8 +72,6 @@ if (iaView::REQUEST_HTML == $iaView->getRequestType()) { ...@@ -72,8 +72,6 @@ if (iaView::REQUEST_HTML == $iaView->getRequestType()) {
case iaCore::STATUS_APPROVAL: case iaCore::STATUS_APPROVAL:
$iaView->setMessages(iaLanguage::get('product_is_approval'), iaView::ALERT); $iaView->setMessages(iaLanguage::get('product_is_approval'), iaView::ALERT);
} }
} else {
return iaView::accessDenied();
} }
if ($categorySlug != $category['slug']) { if ($categorySlug != $category['slug']) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment