Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

continue shopping button issue


stirrchuh

Recommended Posts

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...