Call-back icon  Sales: Call 877.832.5289 (N America)|310.295.4144 (International)

Magento

eCommerce Software for Online Growth

Magento Forum

   
Adding/Removing Items from header top links (Magento 1.0)
 
archer
Jr. Member
 
Total Posts:  12
Joined:  2008-03-31
 

------ My Account | My Wishlist | My Cart | Checkout | Log In

I want to remove My Account and Checkout links on the list… i tried to find this on links.phtml and top.links.phtml but it seems the solution is not found in here..

anyone who could help me?

Thanks a lot. smile

 
Magento Community Magento Community
Magento Community
Magento Community
 
Tweakmag
Sr. Member
 
Avatar
Total Posts:  277
Joined:  2007-08-31
London, UK
 

Hi there,
You need to edit several files…

1. app/design/frontend/default/default/layout/checkout.xml
2. app/design/frontend/default/default/layout/customer.xml

You will see in these files that the links are being added - simply comment them out using comment tags (<!-- -->)

Cheers
Adam

 Signature 

adam martin: internet consultant / web developer
contact | adam.martin@internetconsultants.com.au | +61 4 3331 3374 | skype adam.j.martin
http://www.tweakmag.com - Tweaking and Customizing The Magento eCommerce Platform

 
Magento Community Magento Community
Magento Community
Magento Community
 
archer
Jr. Member
 
Total Posts:  12
Joined:  2008-03-31
 

wow.. thanks for this help.. wink the community here really helps a lot.. im soooo happy with it.. smile

 
Magento Community Magento Community
Magento Community
Magento Community
 
ukdazza
Sr. Member
 
Total Posts:  179
Joined:  2008-04-16
 

sorry to sound dumb, but where to i put the tags? lol

 
Magento Community Magento Community
Magento Community
Magento Community
 
Seiji
Jr. Member
 
Total Posts:  9
Joined:  2008-06-28
 

I know this thread has dropped, but I have a question regarding your proposed solution.  Won’t modifying the specified files cause problems when you update the site?  I want to avoid these problems by using a custom theme, but I’m having trouble getting them to work.  So if I can just modify those files without worrying about them breaking later that would be awesome.

 
Magento Community Magento Community
Magento Community
Magento Community
 
trinadin
Jr. Member
 
Total Posts:  2
Joined:  2008-10-29
 

Modifying the specified files under default/default can potentially cause problems, yes, which is why you make copies of all the files under your custom theme. That way it overwrites the default file for your specified site without making changes to anything else.

 
Magento Community Magento Community
Magento Community
Magento Community
 
TolputtKeeton
Jr. Member
 
Total Posts:  19
Joined:  2008-09-28
 

Hi Guys,

Does anyone here know how i can add an image next to the word my cart.

I need to add a small image of a shopping cart next to the my cart link but cant figure it out

Any Help please?????

 
Magento Community Magento Community
Magento Community
Magento Community
 
Nick Rigby
Jr. Member
 
Total Posts:  12
Joined:  2007-09-03
 

If you want to add an image to the “My Cart” link you can do that quite easily via CSS, something like this:

a.top-link-cart {
padding
-left20px/* Adjust depending on size of the image */
backgroundurl(/path/to/image/cart.gifleft center no-repeat;
}

Nick.

 
Magento Community Magento Community
Magento Community
Magento Community
 
TolputtKeeton
Jr. Member
 
Total Posts:  19
Joined:  2008-09-28
 

Hey Cheers for the Help but this doesnt seem to work?

What would the image path be if it was inside \skin\frontend\default\modern\images\media ??

I have tried loads of different paths even putting the image in a folder on the root and linking to it that way.

any ideas?

 
Magento Community Magento Community
Magento Community
Magento Community
 
Moogler
Jr. Member
 
Total Posts:  7
Joined:  2008-11-17
 

I would imagine the slashes would have to be reversed, as well as have the path (if you’re going to include the / at the beginning) to also include the shop folder:

/shop/skin/frontend/default/modern/images/media/image.jpg

Then again, I haven’t tried this, so I may very well be incorrect. But it’s worth a shot. And a bump. wink

 
Magento Community Magento Community
Magento Community
Magento Community
 
pinoguin
Jr. Member
 
Avatar
Total Posts:  5
Joined:  2008-10-17
 
TolputtKeeton - 17 November 2008 02:26 AM

Hey Cheers for the Help but this doesnt seem to work?

What would the image path be if it was inside \skin\frontend\default\modern\images\media ??

I have tried loads of different paths even putting the image in a folder on the root and linking to it that way.

any ideas?

Where the cart template is, have you tried using the path:

src="<? echo $this->getSkinUrl(images/media/yourimage.jpg) ?>"

or something like that..

 Signature 

Quality web hosting

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top
 
Sales: Call 877.832.5289 (North America) 310.295.4144 (International)
© Copyright 2008 Varien. Magento, eCommerce software, is a trademark of Irubin Consulting Inc. DBA Varien
Privacy Policy|Terms of Service
Magento Community Count
53183 users|773 users currently online|107211 forum posts