Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Clickable area for the shopping cart is too small


vincenthedan

Recommended Posts

Posted

The template I use is set so I have a shopping cart on the upper left corner of my website, displaying this:

 

Shopping Cart:

now in your cart 0 items

 

Right now, if I want to access my shopping cart, the only clickable text is "0 items" (or "2 items", etc.).

 

I would like to have the whole text clickable (Shopping Cart: now in your cart 0 items), or even better the whole area. Is it possible?

Posted

if i understand the request for the title in the small shopping cart box, here it is

 

 

in catalog/includes/boxes/shopping_cart.php

 

find:

$info_box_contents[] = array('text' => BOX_HEADING_SHOPPING_CART);

 

change to:

$info_box_contents[] = array('text'  => "<a class='headerNavigation' href=\"" . tep_href_link(FILENAME_SHOPPING_CART) . '">' . BOX_HEADING_SHOPPING_CART . '</a>');

 

change the class to suit your setup

Posted

I checked, the code is already as suggested, yet I can only click the "X items" part. Not the "shopping cart: now in your cart".

Anything else I could try?

Posted

problem solved, I replaced the "shopping cart" text by html displaying the text, and it's clickable so you end up on the shopping cart page :-)

Posted

hi, i tried it worked, but change heading color to white, my all other headings are black, how i change color for this box heading,

thanks,

Archived

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

×
×
  • Create New...