diff --git a/html/fragments.html b/html/fragments.html index 3fade23..dcaca53 100644 --- a/html/fragments.html +++ b/html/fragments.html @@ -306,6 +306,8 @@ <button>Ladda upp</button> </form> </div> + +¤¤ product_meta ¤¤ <div id="product-history"> <h2>Artikelhistorik</h2> ¤history¤ diff --git a/include/ProductPage.php b/include/ProductPage.php index b0fefb4..57cefd8 100644 --- a/include/ProductPage.php +++ b/include/ProductPage.php @@ -86,7 +86,9 @@ class ProductPage extends Page { $fields['checkout_hidden'] = ''; } } - return replace($fields, $this->fragments['product_form']); + $out = replace($fields, $this->fragments['product_form']); + $out .= replace($fields, $this->fragments['product_meta']); + return $out; } private function build_history_table($history) {