Commit f9bc84b43fa8d6f4a0223b2388dbc365e6a6761b

Authored by Alex Savenko
1 parent 13b4a28c

products pick

Showing 1 changed file with 1 additions and 4 deletions   Show diff stats
src/app/frontend/views/page/item.php
@@ -204,10 +204,7 @@ @@ -204,10 +204,7 @@
204 <li> 204 <li>
205 <?php 205 <?php
206 if (isset($discount) && $discount['discount'] > 0 && $discount['discount'] <= 100 && in_array($item['id'], $discount['group_ids'])) { 206 if (isset($discount) && $discount['discount'] > 0 && $discount['discount'] <= 100 && in_array($item['id'], $discount['group_ids'])) {
207 - echo '  
208 - <span itemprop="price">' . number_format($item['price2'], 2, '.', ' ') . '</span> грн<span style="display:none;" itemprop="priceCurrency">UAH</span>  
209 - <br/>  
210 - <span>'.round($item['price2']*(1-$discount['discount']/100), 1).'</span> грн<span style="display:none;" itemprop="priceCurrency">UAH</span>'; 207 + echo '<span itemprop="price">' . number_format($item['price2'], 2, '.', ' ') . '</span> грн<span style="display:none;" itemprop="priceCurrency">UAH</span>';
211 } else { 208 } else {
212 echo '<span itemprop="price">' . number_format($item['price2'], 2, '.', ' ') . '</span> грн<span style="display:none;" itemprop="priceCurrency">UAH</span>'; 209 echo '<span itemprop="price">' . number_format($item['price2'], 2, '.', ' ') . '</span> грн<span style="display:none;" itemprop="priceCurrency">UAH</span>';
213 } 210 }