Guest Posted May 31, 2007 Share Posted May 31, 2007 (edited) I have installed Related Products on top of an existing STS4 installation. After going through the installation several times, I get the following error when accessing related products in admin: Fatal error: Call to undefined function: tep_get_products_name() in /home/ppleaseo/public_html/shop/admin/optional_related_products.php on line 260 Any direction would be greatly appreciated. Seems the culprit is somewhere in here: <?php $next_id = 1; $attributes = tep_db_query($attributes); while ($attributes_values = tep_db_fetch_array($attributes)) { $products_name_master = tep_get_products_name($attributes_values['pop_products_id_master']); $products_name_slave = tep_get_products_name($attributes_values['pop_products_id_slave']); if (RELATED_PRODUCTS_ADMIN_USE_MODEL == 'True') { $mModel = tep_get_products_model($attributes_values['pop_products_id_master']) . RELATED_PRODUCTS_ADMIN_MODEL_SEPARATOR . ' '; $sModel = tep_get_products_model($attributes_values['pop_products_id_slave']) . RELATED_PRODUCTS_ADMIN_MODEL_SEPARATOR . ' '; } else { $mModel = $sModel = ''; } $pop_order_id = $attributes_values['pop_order_id']; $rows++; ?> Any help and direction is appreciated. Edited May 31, 2007 by buddybooker Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.