I don't have a standard version installed. I cut my installation back to the minimum fields required to suit my needs.
These changes are in my file marked as for PHP8 and zc157d.
In includes/templates/MY_bootstrap/product_info/extra_main_template_vars.php
line1 of code:
Code:
$npf_attributes =' ';
lines 38 to 50 approx gave undefined array keys so need to check field exists in database
line44:
Code:
if(array_key_exists("products_dim_type", $products->fields)) {$products_dim_type = strtolower($products->fields['products_dim_type'] ); } else {$products_dim_type = ''; }
line47:
Code:
if(array_key_exists("products_weight_type", $products->fields)) {$products_weight_type = strtolower($products->fields['products_weight_type'] ); }
else {$products_weight_type = ''; }
I also added add p.products_length,p.products_height, p.products_width to the query
line29:
Code:
$products_query = "SELECT p.products_weight, p.products_length, p.products_height, p.products_width" . $npf_attributes . " FROM " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd
WHERE p.products_id = " . (int)$_GET['products_id'] . "
AND p.products_id = pd.products_id
AND pd.language_id = '" . (int)$_SESSION['languages_id'] . "' LIMIT 1";
Bookmarks