Show Products Code On Categories

Hi. What can i do to show the code of products in categories list next to the name of product, price, quantity?



My site is depozituldepiscine.ro



Thanks!

[quote name='lohanc' timestamp='1404290600' post='186783']

Hi. What can i do to show the code of products in categories list next to the name of product, price, quantity?



My site is depozituldepiscine.ro



Thanks!

[/quote]



Find this file:


design/themes/basic/templates/blocks/product_list_templates/products_without_options.tpl



Open it and change show_sku=false to show_sku=true:



{** template-description:tmpl_list_without_options **}

{include file="blocks/list_templates/products_list.tpl"
show_name=true
show_sku=true
show_rating=true
show_features=true
show_prod_descr=true
show_old_price=true
show_price=true
show_clean_price=true
show_list_discount=true
show_discount_label=true
show_product_amount=true
show_product_edp=true
show_add_to_cart=true
show_list_buttons=true
show_descr=true
but_role="action"
separate_buttons=true}




If you need move “[color=#1A1A1A][font=Arial, Helvetica, sans-serif][size=3]CODE[/size][/font][/color]” you should edit this file:


design/themes/basic/templates/blocks/list_templates/products_list.tpl

THANK YOU !!! VERY MUCH!

It works!

Hi,

Sorry I use this topic, I like to show stock in short listing.

Any help?



Majer

[quote name='majerfra' timestamp='1404479172' post='186985']

Hi,

Sorry I use this topic, I like to show stock in short listing.

Any help?



Majer

[/quote]



Do the same action in



design/themes/basic/templates/blocks/product_list_templates/short_list.tpl

[quote name='eComLabs' timestamp='1404484777' post='186987']

Do the same action in



design/themes/basic/templates/blocks/product_list_templates/short_list.tpl


[/quote]



Hi,

I have done same action, but how can I override lang.in_stock?

In compact list view I wish to see only the value (number)!



Thank you in advance



F. Majer

Can anyone help me?



F. Majer

[quote name='majerfra' timestamp='1404892059' post='187214']

Can anyone help me?

[/quote]



Open the compact_list.tpl and use the following code to show amount in stock:


{$product.inventory_amount|default:$product.amount}

[quote name='majerfra' timestamp='1404892059' post='187214']

Can anyone help me?



F. Majer

[/quote]



You should add the following code:


{$product.inventory_amount|default:$product.amount}



To:


design/themes/basic/templates/blocks/list_templates/compact_list.tpl

Sorry, eComLabs =) It seems we added post in one time =)

[quote name='Cart-Power' timestamp='1404903392' post='187223']

Sorry, eComLabs =) It seems we added post in one time =)

[/quote]



It is OK, my friend! ))

Works fine :grin:



Thank you both guys



F. Majer

[quote name=‘majerfra’ timestamp=‘1404911862’ post=‘187247’]

Works fine :grin:



Thank you both guys



F. Majer

[/quote]



You’re welcome! We are glad to help you!

[quote name='Cart-Power' timestamp='1405001594' post='187335']

You're welcome! We are glad to help you!

[/quote]



Last one question, I hope.

The same for quantity changer.

I like to have only changer in compact list, not the title of quantity.

Anyone?

Thanx in advance, guys



F. Majer

[quote name='majerfra' timestamp='1405065312' post='187375']

Last one question, I hope.

The same for quantity changer.

I like to have only changer in compact list, not the title of quantity.

Anyone?

Thanx in advance, guys



F. Majer

[/quote]



I do not see qty changer title in compact list on your website. Please advise

Hi, thank you to stop here ;-)



I have add to compact list the qty changer, but I wish to remove tiltle to show only changer



See attached img please

qty.jpg

[quote name=‘majerfra’ timestamp=‘1405327687’ post=‘187489’]

Hi, thank you to stop here ;-)



I have add to compact list the qty changer, but I wish to remove tiltle to show only changer



See attached img please

[/quote]



It looks like you modify another website now. Try to add the hide_qty_label=true parameter

[quote name='eComLabs' timestamp='1405328041' post='187490']

It looks like you modify another website now. Try to add the hide_qty_label=true parameter

[/quote]

Add this to short_list.tpl but no success. Still show the label “Quantity:”.



No, it is the same site, but local.



thank you.

F. Majer

Majer,



eComLabs means that this page: http://www.depozituldepiscine.ro/placare-finisare/ looks different from screen you sent.



We don't see the “Quantity” label on products layouts of your store and can not say where you need make changes.



It seems you have modified layout and it is not installed on live store.

Sorry, you must mix-up something.

It’s NOT my site, my site is still local!



But I need help anyway ;-)



thank you in advance



F. Majer