Skip to content

Commit

Permalink
Update index.blade.php
Browse files Browse the repository at this point in the history
  • Loading branch information
bobimicroweber committed May 9, 2022
1 parent 12c0316 commit c162dff
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/MicroweberPackages/Shop/resources/views/index.blade.php
Expand Up @@ -46,9 +46,11 @@
<div class="d-flex">
<p class="col-6 mb-0">
@if($product->hasSpecialPrice())
<span class="price-old"><?php print currency_format($product->specialPrice); ?></span>
<span class="price-old"><?php print currency_format($product->price); ?></span>
<span class="money"><?php print currency_format($product->specialPrice); ?></span>
@else
<span class="money"><?php print currency_format($product->price); ?></span>
@endif
<span class="money"><?php print currency_format($product->price); ?></span>
</p>

<a class="col-6 text-end text-right align-self-center" href="{{content_link($product->id)}}"> View</a>
Expand Down

0 comments on commit c162dff

Please sign in to comment.