Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

buttons links not working


Guest

Recommended Posts

Posted

hello can any one check this code out for me it dnt seem to be wroking

 

all the buttons links seems to do is refresh the page

look here

 

http://kewns.co.uk/shopping_cart.php

i found the code finally it was inside shopping_cart.tpl/php

 

heres the code for the buttons links niot working if any one can spot any mistakes please let me know

cos am new php only know it exsited 6 weeks ago lol

it might be a problem with the wrong file links but all the buttons seem to just update cart

cheers

 

kewns

 

 

CODE

<?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>

</tr>

<tr>

<td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">

<tr class="infoBoxContents">

<td><table border="0" width="100%" cellspacing="0" cellpadding="2">

<tr>

<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>

<td class="main"><?php echo tep_image_submit('button_update_cart.gif', IMAGE_BUTTON_UPDATE_CART); ?></td>

<?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_submit('button_continue_shopping.gif', IMAGE_BUTTON_CONTINUE_SHOPPING) . '</a>'; ?></td>

<?php

}

?>

<td align="right" class="main"><?php echo '<a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . tep_image_submit('button_checkout.gif', IMAGE_BUTTON_CHECKOUT) . '</a>'; ?></td>

Archived

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

×
×
  • Create New...