CMXX - Updated Products page

This commit is contained in:
“VeLiTi”
2025-02-04 12:59:28 +01:00
parent 68a16e5419
commit fa09268cd8
9 changed files with 375 additions and 237 deletions

View File

@@ -110,7 +110,7 @@ if (veliti_analytics){
// Template Header (related to MENU function)
function template_header_top($title, $head = '') {
include './custom/translations/'.strtoupper(language_code).'.php';
include './custom/translations/translations_'.strtoupper(language_code).'.php';
// Get the amount of items in the shopping cart, this will be displayed in the header.
$num_items_in_cart = isset($_SESSION['cart']) ? array_sum(array_column($_SESSION['cart'], 'quantity')) : 0;
$home_link = url('index.php');