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

@@ -1826,4 +1826,48 @@ input.banner_deny:hover {
}
#banner hr {
margin: 15px 0;
}
/* Main Container */
.filtersection {
display: flex;
margin: 0 auto;
}
/* Filter Section */
.filter-section {
width: 250px;
padding: 20px;
border-right: 1px solid #e0e0e0;
}
.filter-section h2 {
margin-bottom: 15px;
color: #333;
}
.filter-group {
margin-bottom: 20px;
}
.filter-group label {
margin-bottom: 10px;
}
.filter-group input[type="checkbox"] {
margin-right: 10px;
}
/* Responsive Design */
@media (max-width: 768px) {
.filtersection {
flex-direction: column;
text-align: center;
}
.filter-section {
width: 100%;
border-right: none;
border-bottom: 1px solid #e0e0e0;
}
}

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');

View File

@@ -156,6 +156,9 @@ define('db_user','morvalwatches');//morvalwatches_prod
define('db_pass','4~gv71bM6');
// Database name
define('db_name','shoppingcart_advanced'); //morvalwatches
// API BASE URL
define('api_url','https://dev.veliti.nl/api.php'); //morvalwatches
/* Payment options */
//Pay on Delivery
@@ -176,7 +179,7 @@ define('PAYPAL_CLIENT_SECRET','');
/* Admin modes */
//debug
define('debug',false);
define('debug',true);
// Default maintenance_mode
define('maintenanceMode',false);
?>