VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: RuggeroSB on July 30, 2012, 22:39:17 PM

Title: View All products button includes number of products in category
Post by: RuggeroSB on July 30, 2012, 22:39:17 PM
Hi There,

My categories list includes a set of sub-categories. Each sub category has a link which should simply read: "View all products". However for some reason the number of products in that category are also showing in the link.

For example, if I have a category with no items in it, then the link reads "View all products 0", and if there's 1 item "View all products 1" etc. How do I remove the number of items from the link?
Title: Re: View All products button includes number of products in category
Post by: John2400 on July 30, 2012, 23:15:20 PM
Could you write what version VM you are using please.
Title: Re: View All products button includes number of products in category
Post by: RuggeroSB on July 30, 2012, 23:18:24 PM
Certainly - version 2.0.8e
Title: Re: View All products button includes number of products in category
Post by: John2400 on July 30, 2012, 23:29:34 PM
maybe -

go to extensions>>language manager>>overrides>>new>>seach for bottom right>>type view all??> find the text and code>> replace the text>> remember what you replaced"

[attachment cleanup by admin]
Title: Re: View All products button includes number of products in category
Post by: RuggeroSB on July 30, 2012, 23:38:51 PM
Perfect! Wouldn't have guessed it would be in the language file! It includes '%s' on the end...

Override works perfectly :)

FYI - using it-IT language