Commit 6a33d7228e572e18c6207729c1f3ebb79deabc37

Authored by Alex Savenko
1 parent 6ff8c630

products pick

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