Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
hamidpeywasti committed Jul 3, 2019
1 parent 54d58b4 commit b454f1a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/templates/product/product_full.html5
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@
<span class="sku"><?= $this->meta_sku_txt; ?>: <span itemprop="sku"><?= $this->meta_sku; ?></span></span>
<?php endif; ?>
<?php if($this->meta_global_ID): ?>
<span class="global_ID"><?= $this->meta_global_ID_txt; ?>: <span itemprop="<?= $this->meta_global_ID[unit]; ?>"><?= $this->meta_global_ID[value]; ?></span></span>
<span class="global_ID"><?= $this->meta_global_ID_txt; ?>: <span itemprop="<?= $this->meta_global_ID['unit']; ?>"><?= $this->meta_global_ID['value']; ?></span></span>
<?php endif; ?>
</div>

<div class="offers" itemprop="offers" itemscope itemtype="http://schema.org/Offer">
<?php if($this->meta_price): ?>
<?= $this->meta_price_txt; ?>:
<span itemprop="price" content="<?= $this->meta_price[value]; ?>"><?= number_format($this->meta_price[value]); ?></span>
<span itemprop="priceCurrency" content="<?= $this->meta_price[unit]; ?>"><?= $this->meta_price[symbol]; ?></span>
<span itemprop="price" content="<?= $this->meta_price['value']; ?>"><?= number_format($this->meta_price['value']); ?></span>
<span itemprop="priceCurrency" content="<?= $this->meta_price['unit']; ?>"><?= $this->meta_price['symbol']; ?></span>
<?php endif; ?>
<?php if($this->meta_availability): ?>
<span class="availability"> (<link itemprop="availability" href="http://schema.org/<?= $this->meta_availability; ?>"><?= $this->meta_availability_txt; ?>) </span>
Expand Down

0 comments on commit b454f1a

Please sign in to comment.