stirrchuh Posted July 14, 2004 Share Posted July 14, 2004 for some reason, the continue shopping button has disappeared. i know it's not an image issue because i haven't messed around with any images (image file or the image code) i did change the sql statement from this: $attributes = tep_db_query("select popt.products_options_name, poval.products_options_values_name, pa.options_values_price, pa.price_prefix from " . TABLE_PRODUCTS_OPTIONS . " popt, " . TABLE_PRODUCTS_OPTIONS_VALUES . " poval, " . TABLE_PRODUCTS_ATTRIBUTES . " pa where pa.products_id = '" . $products[$i]['id'] . "' and pa.options_id = '" . $option . "' and pa.options_id = popt.products_options_id and pa.options_values_id = '" . $value . "' and pa.options_values_id = poval.products_options_values_id and popt.language_id = '" . $languages_id . "' and poval.language_id = '" . $languages_id . "'"); to this: $attributes = tep_db_query("select p.products_id, ret.attribute_value_1, cd.categories_name from " . TABLE_PRODUCTS . " p, " . $table_name . " ret, " . TABLE_CATEGORIES_DESCRIPTION . " cd, " . TABLE_CATEGORIES . " c, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c where p.products_id = '" . $products[$i]['id'] . "' and ret.products_id = '" . $products[$i]['id'] . "' and p2c.products_id = '" . $products[$i]['id'] . "' and c.categories_id = cd.categories_id "); i don't think this is the problem. i tried copying the original shopping_cart.php file but no luck. but i did also mess around with other files, such as application_top.php, product_info.php, and product_listing.php. i haven't messed around with any of the $navigation stuff in application_top.php or any of the $back stuff in shopping_cart.php. any help would be appreciated. Link to comment Share on other sites More sharing options...
Dr. Ephemeron Posted July 17, 2004 Share Posted July 17, 2004 Mine is missing on the web server but on my development machine it is there... I just noticed it today... code is same on both servers. :( Link to comment Share on other sites More sharing options...
Dr. Ephemeron Posted July 17, 2004 Share Posted July 17, 2004 I suspect it prolly has something to do with this in shopping_cart.php: <?php $back = sizeof($navigation->path)-2; if (isset($navigation->path[$back])) { ?> <td class="main"><?php echo '<a href="' . tep_href_link($navigation->path[$back]['page'], tep_array_to_string($navigation->path[$back]['get'], array('action')), $navigation->path[$back]['mode']) . '">' . tep_image_button('button_continue_shopping.gif', IMAGE_BUTTON_CONTINUE_SHOPPING) . '</a>'; ?></td> <?php } ?> Link to comment Share on other sites More sharing options...
Dr. Ephemeron Posted July 17, 2004 Share Posted July 17, 2004 Yep for some reason $navigation->path is always 1 no matter what on the web server. That makes $back always equal -1. I don't know why... php version is the same. :( Link to comment Share on other sites More sharing options...
Dr. Ephemeron Posted July 17, 2004 Share Posted July 17, 2004 Ahhhh it's Mozilla 1.7.1 for Windows is causing it. It works ok with IE 6 and Mozilla 1.6 on Linux. :) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.