Stock Quantity

how can i show in stock quantity on product page by editting tpl file.

[quote name='webus' timestamp='1422432365' post='203616']

how can i show in stock quantity on product page by editting tpl file.

[/quote]



Just enable the following setting:



Settings → Appearance → Show number of available products



Hope this will help.

[quote name='eComLabs' timestamp='1422433199' post='203618']

Just enable the following setting:



Settings → Appearance → Show number of available products



Hope this will help.

[/quote]



[color=#373E4D][font=Helvetica, Arial,]Thanks. But i don't want to show on all product pages. Because of this i will prepare 2 product template. I must delete stock code for one of them. How can i delete stock code[/font][/color]

Hello,



In order to hide number of available products on your new template just find this file /design/themes/[theme_name]/templates/blocks/product_templates/my_new_product_template.tpl and comment the following line


{$smarty.capture.$product_amount nofilter}



as a result you will get:

{*$smarty.capture.$product_amount nofilter*}



Sincerely yours,

CS-Market.

Thanks ;Cs-Market for your reply

  • sorry wrong topic -