Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Removing product link when added to shopping cart


Guest

Recommended Posts

Hi everybody

 

How do you remove the product link when put into shopping cart . ie: When the shopping cart in viewed the product(s) haven't go a link back to the main product page.

 

Rich

Link to comment
Share on other sites

I found a contribution a while back that adds cart in header without product links, just item number(s) and totals in an info box

 

example: (5) $101.95

 

you can see it on a site im working on

 

http://www.annettesgiftboutique.com/catalog

 

I cant find the contribution... but heres the code

 

<table>



<tr>



<td align="right"class="infobox" width="100">

<?php echo "("; echo $cart->count_contents(); echo ")"; ?>

  

<?php echo $currencies->format($cart->show_total()); ?>

</td>



</tr>



</table>

 

Off course your going to want to fix the html attributes like class, width and so forth :wink:

 

Hope this helps..

 

Sonny

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...