CMXX - Language selection
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<?php defined(security_key) or exit; ?>
|
||||
|
||||
<?=template_order_email_header()?>
|
||||
<?php include './custom/translations/translations_'.strtoupper(language_code).'.php';?>
|
||||
<?php include './custom/translations/translations_'.strtoupper($_SESSION['country_code']).'.php';?>
|
||||
|
||||
</tr>
|
||||
<tr><td><br></td></tr>
|
||||
@@ -31,17 +31,17 @@
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<td><?=$tr_product?></td>
|
||||
<td>Options</td>
|
||||
<td><?=$tr_quantity?></td>
|
||||
<td><?=$tr_price?></td>
|
||||
<td><?=$tr_product ?? 'Product' ?></td>
|
||||
<td><?=$tr_options ?? 'Options' ?></td>
|
||||
<td><?=$tr_quantity ?? 'Quantity'?></td>
|
||||
<td><?=$tr_price ?? 'Price' ?></td>
|
||||
<td style="text-align:right;"><?=$tr_total?></td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach($products['products'] as $product): ?>
|
||||
<tr>
|
||||
<td><?=$product['meta']['name']?></td>
|
||||
<td><?=${$product['product_name']} ?? $product['product_name']?></td>
|
||||
<td><?=implode(", ", $product['options'])?></td>
|
||||
<td><?=$product['quantity']?></td>
|
||||
<td><?=currency_code?><?=number_format($product['options_price'],2)?></td>
|
||||
|
||||
Reference in New Issue
Block a user