midpen Posted November 29, 2009 Posted November 29, 2009 I want to add a Shipping & Returns information link in Cart Contents page. How to do it? Please help! Just simply add a sentance in the bottom of the shipping cart page say: Click here(clickable to link to shipping.php) to know how much are our shipping charges. Thanks for your help!
Guest Posted November 29, 2009 Posted November 29, 2009 Hello, In your shopping_cart.php file add the following: <tr><td colspan="6" align="center"> <a href="http://www.yourdomain.com/catalog/shipping.php" target="_new">Click here for Shipping information(this will open a new window)</a></td></tr> Of course you will need to find the proper placement (usually under the continue button) and you will need to change the URL to your domain name. Chris
midpen Posted November 29, 2009 Author Posted November 29, 2009 Thanks Cris. I added your code, but it is too close to these buttons, when I added <br> on the top of your code, it increased the space on the top of the page of "What's In My Cart?" <td align="right" class="main"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image_button('button_continue.gif', IMAGE_BUTTON_CONTINUE) . '</a>'; ?></td> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> </table></td> </tr> </table></td> </tr> <?php } ?> <tr><td colspan="6" align="center"> <a href="http://www.yourdomain.com/catalog/shipping.php" target="_new">Click here for Shipping information(this will open a new window)</a></td></tr> </table></form></td> <!-- body_text_eof //--> <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2"> <!-- right_navigation //--> <?php require(DIR_WS_INCLUDES . 'column_right.php'); ?> Where to increase the space? Thanks for your help!
Guest Posted November 30, 2009 Posted November 30, 2009 If you want to increase the space between the button and the text...........add a <br> before the text begins Chris
midpen Posted November 30, 2009 Author Posted November 30, 2009 I added: <tr><td colspan="6" align="center"> <a href="http://domain/shipping.php" target="_new"><font face=Arial size=4><b><u><br>Click here for shipping information</u></b></font></a></td></tr> How to make the link text for hover effect color? Thanks.
Guest Posted November 30, 2009 Posted November 30, 2009 YOU will find all the HTML tags at http://www.w3schools.com/html/ Chris
Recommended Posts
Archived
This topic is now archived and is closed to further replies.