CMXX - Product attributes and initial multi languagal product support

This commit is contained in:
“VeLiTi”
2025-01-14 14:40:01 +01:00
parent 906ce7b843
commit 05b0c2bdb1
18 changed files with 234 additions and 202 deletions

View File

@@ -264,7 +264,7 @@ $view .= ' <div class="content-block order-details">
</div>
<div class="order-detail">
<h3>'.$product_name.'</h3>
<p>'.(($view_product == 1)? '<a href="index.php?page=product&rowID='.$rma['header']['productrowid'].'" class="btn2">'.$rma['header']['productname'].'</a>':'<input type="text" name="header[productname]" value="'.$rma['header']['productname'].'">').'</p>
<p>'.(($view_product == 1)? '<a href="index.php?page=product&rowID='.$rma['header']['productrowid'].'" class="btn2">'.(${$rma['header']['productname']} ?? $rma['header']['productname']).'</a>':'<input type="text" name="header[productname]" value="'.(${$rma['header']['productname']} ?? $rma['header']['productname']).'">').'</p>
</div>
<div class="order-detail">
<h3>'.$equipment_label10.'</h3>
@@ -289,7 +289,7 @@ $view .= ' <div class="content-block order-details">
<input type="hidden" name="header[productrowid]" value="'.$rma['header']['productrowid'].'" readonly>
<input type="hidden" name="header[rowID]" value="'.$rma['header']['rowID'].'" readonly>
<input type="hidden" name="header[productcode]" value="'.$rma['header']['productcode'].'" readonly>
<input type="hidden" name="header[productname]" value="'.$rma['header']['productname'].'" readonly>
<input type="hidden" name="header[productname]" value="'.(${$rma['header']['productname']} ?? $rma['header']['productname']).'" readonly>
<input type="hidden" name="rowID" value="'.$rma['rowID'].'" readonly>
';