Zen Follower
- Join Date:
- Jan 2006
- Posts:
- 165
- Plugin Contributions:
- 1
v151 -v153 product type layout edit: configuration description not showing
Reproduce bug in ZC v151 to v153:
(1) Navigate to [Admin backend] -> Menu -> Catalog -> Product Types -> Product General -> edit Layout
(2) Choose any setting, so that the settings info box on the right is ready for input
The configuration description text between the configuration title and the configuration value is not displayed.
Cause:
The SQL query does not include the field "configuration_description"
Line 193 in "/admin/product_types.php" of ZC v153:
$configuration = $db->Execute("select configuration_id, configuration_title, configuration_value, configuration_key,
use_function from " . TABLE_PRODUCT_TYPE_LAYOUT . "
where product_type_id = '
Fix:
Include field "configuration_description" in query:
$configuration = $db->Execute("select configuration_id, configuration_title, configuration_value, configuration_key, configuration_description,
use_function from " . TABLE_PRODUCT_TYPE_LAYOUT . "
where product_type_id = '" . (int)$_GET['ptID'] . "'
order by sort_order");