Skip to content

Commit

Permalink
add if
Browse files Browse the repository at this point in the history
  • Loading branch information
hamidpeywasti committed Jun 7, 2019
1 parent 436c2f6 commit 54d58b4
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/templates/product/product_full.html5
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,11 @@

<?php endif; ?>

<div class="summary" itemprop="description">
<?= $this->summary; ?>
</div>
<?php if ($this->summary): ?>
<div class="summary" itemprop="description">
<?= $this->summary; ?>
</div>
<?php endif; ?>

<?php if ($this->text): ?>
<div class="description">
Expand Down

0 comments on commit 54d58b4

Please sign in to comment.