Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Two re-configuration questions


Grassman

Recommended Posts

Posted

1) Is there an add-on that allows the order of listed products to be arranged ie not numerical or alfabetical ?

 

2) Can anyone set the following code from shopping_cart.php so that the 'Update' button sits above the 'Checkout' button on the right and the 'Continue Shopping' button is placed on the left.

 

<?php

}

}

?>

<tr>

<td><?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_button('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_button('button_checkout.gif', IMAGE_BUTTON_CHECKOUT) . '</a>'; ?></td>

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

</tr>

</table></td>

</tr>

</table></td>

</tr>

<?php

} else {

?>

 

 

Many thanks

Grassman

Posted

I have resolved putting product listings in an order that works for my shop by setting the page results in asdending price order, instead of the standard format of listing product names alfabetically.

 

So that's one problem sorted and one to go :huh:

Archived

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

×
×
  • Create New...