Show Products Code On Categories

I am showing the SKU on categories.

How to NOT show the label for SKU?

I just want the number to appear without using css.



thanks for any pointers.

[quote name='Paul John' timestamp='1408430946' post='189916']

I am showing the SKU on categories.

How to NOT show the label for SKU?

I just want the number to appear without using css.



thanks for any pointers.

[/quote]



Open design/themes/THEME/templates/common/product_data.tpl and replace:








with



{if !($runtime.controller == 'categories' && $runtime.mode == 'view')}

{/if}




Hope that helps.

Yes, that did it!

Thanks, wouldn't have looked there myself.

[quote name='Paul John' timestamp='1408432003' post='189918']

Yes, that did it!

Thanks, wouldn't have looked there myself.

[/quote]



You are welcome!

Come to think of it, this hack affects all themes which may not be what you want if you have a second store front with a different theme.

I am trying to display features on Categories as well.

This works, just tick the box “Show in product list”.



How to get rid of the separating komma's?

And why do features of the number type throw in a label?