Commit b572566f86d883e53d607ad16338da662b19fa13
1 parent
84c4457e
20.07.16
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
frontend/views/catalog/product_item.php
@@ -73,7 +73,7 @@ | @@ -73,7 +73,7 @@ | ||
73 | <?php | 73 | <?php |
74 | 74 | ||
75 | echo '<div class="cost-block" itemprop="offers" itemscope itemtype="http://schema.org/Offer">'; | 75 | echo '<div class="cost-block" itemprop="offers" itemscope itemtype="http://schema.org/Offer">'; |
76 | - echo '<p class="cost">'; | 76 | + echo '<p itemprop="price" class="cost">'; |
77 | // есть скидка | 77 | // есть скидка |
78 | if($product->enabledVariants[ 0 ]->price_old != 0 && $product->enabledVariants[ 0 ]->price_old != $product->enabledVariants[ 0 ]->price) { | 78 | if($product->enabledVariants[ 0 ]->price_old != 0 && $product->enabledVariants[ 0 ]->price_old != $product->enabledVariants[ 0 ]->price) { |
79 | echo '<strike><span id=\'old_cost\' itemprop="price">' . $product->enabledVariants[ 0 ]->price_old . '</span> грн.</strike> '; | 79 | echo '<strike><span id=\'old_cost\' itemprop="price">' . $product->enabledVariants[ 0 ]->price_old . '</span> грн.</strike> '; |