first commit

This commit is contained in:
2024-10-25 23:02:37 +02:00
commit faeb2e52e8
7653 changed files with 1095335 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
<?php
use shop\Product;
$product_meta = Product::product_meta($this->product_id);
?>
<?php if (is_array($product_meta) && count($product_meta)): ?>
<? $lastKey = array_key_last($product_meta); ?>
<div id="product-meta">
Kategorie:
<? foreach ($product_meta as $key => $value) : ?>
<a href="/<?= $value['seo_link']; ?>"><?= $value['title']; ?></a><?= $lastKey != $key ? ', ': ''; ?>
<? endforeach; ?>
</div>
<?php endif; ?>