Commit 08dc4b03dbf1332dc8959bb7476d05f79d7f2e83

Authored by Alex Savenko
1 parent 6a33d722

products pick

Showing 1 changed file with 1 additions and 7 deletions   Show diff stats
src/app/frontend/views/page/item.php
@@ -202,13 +202,7 @@ @@ -202,13 +202,7 @@
202 <div class="one_item_price float" itemprop="offers" itemscope itemtype="http://schema.org/Offer" ><?= $t->_("price")?> 202 <div class="one_item_price float" itemprop="offers" itemscope itemtype="http://schema.org/Offer" ><?= $t->_("price")?>
203 <ul> 203 <ul>
204 <li> 204 <li>
205 - <?php  
206 - if (isset($discount) && $discount['discount'] > 0 && $discount['discount'] <= 100 && in_array($item['id'], $discount['group_ids'])) {  
207 - echo '<span style="text-decoration: line-through;">'.number_format($item['price2'], 2, '.', ' ').'</span><span itemprop="price">'.number_format($item['price2']*(1-$discount['discount']/100), 2, '.', ' ').'</span> грн<span style="display:none;" itemprop="priceCurrency">UAH</span>';  
208 - } else {  
209 - echo '<span itemprop="price">'.number_format($item['price2'], 2, '.', ' ').'</span> грн<span style="display:none;" itemprop="priceCurrency">UAH</span>';  
210 - }  
211 - ?> 205 + <span itemprop="price"><?= number_format($item['price2'], 2, '.', ' '); ?></span> грн<span style="display:none;" itemprop="priceCurrency">UAH</span>
212 <div style="display: none" itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating"> 206 <div style="display: none" itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating">
213 <span itemprop="ratingValue">5</span> 207 <span itemprop="ratingValue">5</span>
214 <span itemprop="reviewCount">31</span> 208 <span itemprop="reviewCount">31</span>