Jump to content



Latest News: (loading..)

- - - - -

Remove link on infobox header name


  • Please log in to reply
5 replies to this topic

#1   Belial

Belial
  • Members
  • 91 posts
  • Real Name:Vitor Che

Posted 11 July 2012 - 09:36 AM

I can't  understand. In my manufacturers(i renamed music labels) appears a link that you can press  the title "Music Labels" on infobox and go to last category listing. The problem is that when you press the row to see all the manufacturers it redirect you to the last category product listing, which i don't want it.

So i want to remove the link from infobox title manufacturers and not to redirect when you press the row, just show all the available manufacturers.

Maybe i reached max manufacturers names and that's why redirect me?

Any suggestion?
Thanks

Edited by Belial, 11 July 2012 - 09:41 AM.


#2   Belial

Belial
  • Members
  • 91 posts
  • Real Name:Vitor Che

Posted 11 July 2012 - 10:04 AM

Ok the problem is that i did this on bm_categories.php to remove the arrow on categories.

/*
	  if (tep_has_category_subcategories($counter)) {
		$categories_string .= '->';
	  }
	  $categories_string .= '</a>';
/*

So, how can i remove the arrow, but not effecting in other sections?

#3   14steve14

14steve14

    STORE OWNER NOT CODER

  • Members
  • 3,075 posts
  • Real Name:Steve
  • Gender:Male
  • Location:Dorset UK

Posted 11 July 2012 - 10:17 AM

Put your code back as it was, and log into your admin area and in configuration click on my store, and set show category counts to false.
REMEMBER BACKUP, BACKUP AND BACKUP
I am not a coder, so dont bother sending PMs asking for help as you wont get any.  

OSC has a steep learning curve, but in general the program does work.  If it doesnt work, the chances are it is something you have done.

#4   Belial

Belial
  • Members
  • 91 posts
  • Real Name:Vitor Che

Posted 11 July 2012 - 10:42 AM

View Post14steve14, on 11 July 2012 - 10:17 AM, said:

Put your code back as it was, and log into your admin area and in configuration click on my store, and set show category counts to false.

I want to show the number, but hide this arrow.

#5 ONLINE   multimixer

multimixer

    Lemons or Melons ?

  • Partner
  • 4,387 posts
  • Real Name:George Zarkadas
  • Gender:Male
  • Location:Greece

Posted 11 July 2012 - 11:28 AM

Replace this
/*
		  if (tep_has_category_subcategories($counter)) {
			$categories_string .= '-&gt;';
		  }
		  $categories_string .= '</a>';
/*
By this
/*
		  if (tep_has_category_subcategories($counter)) {
			$categories_string .= '-&gt;';
		  }
*/
		  $categories_string .= '</a>';

Edited by multimixer, 11 July 2012 - 11:29 AM.


#6   Belial

Belial
  • Members
  • 91 posts
  • Real Name:Vitor Che

Posted 11 July 2012 - 12:36 PM

Now worked. :thumbsup: