CMXX - Product attributes and initial multi languagal product support
This commit is contained in:
@@ -78,7 +78,7 @@ if (isset($_GET['success_msg'])) {
|
||||
template_header('Product', 'product', 'view');
|
||||
$view = '
|
||||
<div class="content-title responsive-flex-wrap responsive-pad-bot-3">
|
||||
<h2 class="responsive-width-100">'.$responses->productcode.' - '.$responses->productname.'</h2>
|
||||
<h2 class="responsive-width-100">'.$responses->productcode.' - '.(${$responses->productname} ?? $responses->productname).'</h2>
|
||||
<a href="index.php?page='.$_SESSION['origin'].'&p='.$_SESSION['p'].'" class="btn alt mar-right-2">'.$button_cancel.'</a>
|
||||
';
|
||||
|
||||
@@ -124,7 +124,7 @@ $view .= ' <div class="content-block order-details">
|
||||
</div>
|
||||
<div class="order-detail">
|
||||
<h3>'.$product_name.'</h3>
|
||||
<p>'.$responses->productname.'</p>
|
||||
<p>'.(${$responses->productname} ?? $responses->productname).'</p>
|
||||
</div>';
|
||||
|
||||
$view .='
|
||||
|
||||
Reference in New Issue
Block a user