hi thanks
i did this for the shopping cart so it currently says "view shopping bag (0)".
ive moved the </a> tag so that the (0) counted total is not hyperlinked, just the text.
but for some reason, i can still hover over the (0) amount and a glove appears as though it is still a hyperlink even though it wont go anywhere? what do i have to do to stop this? its annoying having this glove thing show over it.
here is code
echo '<li><a href="' . tep_href_link(FILENAME_SHOPPING_CART) . '" alt="" >' . HEADER_TITLE_CART_CONTENTS . '</a>' . ($cart->count_contents() >= 0 ? ' (' . $cart->count_contents() . ')' : '') . '</li>';
I also just tested the code you gave me.
echo '<li>' . $cart->show_total() . '</li>';?>
with that one, same thing happens. a glove appears if you hover over it, even though its not hyperlinked to anywhere. Also, i need to put in a pound sign before the total as no pound sign appears.
whats the php code to pull out the pound sign? or do i have to hardcode it in html? which is better do you think?
Edited by vampirehunter, 31 July 2012 - 02:11 PM.