Hi,
Can you please teach me how to add stock information also on Compact list view ?!?
Tks
Hi,
Can you please teach me how to add stock information also on Compact list view ?!?
Tks
- design/themes/THEME/templates/blocks/product_list_templates/short_list.tpl
add
show_product_amount=true
- design/themes/THEME/templates/blocks/list_templates/compact_list.tpl
add
{assign var="product_amount" value="product_amount_`$obj_id`"} {$smarty.capture.$product_amount nofilter}
to the required place
- clear cache
- check the result
- design/themes/THEME/templates/blocks/product_list_templates/short_list.tpl
add
show_product_amount=true- design/themes/THEME/templates/blocks/list_templates/compact_list.tpl
add
{assign var="product_amount" value="product_amount_`$obj_id`"} {$smarty.capture.$product_amount nofilter}to the required place
- clear cache
- check the result
Thank you eComLabs!
You are welcome!
- design/themes/THEME/templates/blocks/product_list_templates/short_list.tpl
add
show_product_amount=true- design/themes/THEME/templates/blocks/list_templates/compact_list.tpl
add
{assign var="product_amount" value="product_amount_`$obj_id`"} {$smarty.capture.$product_amount nofilter}to the required place
- clear cache
- check the result
Hello,
It is possible to add stock information also on cart page?
Thanks
More complex changes are required in this case since stock amount is not stored in session
More complex changes are required in this case since stock amount is not stored in session
Hi Ecomlabs
It is possible to hide availability Information just for a specific category (default template ) ?
Thanks
Hi Ecomlabs
It is possible to hide availability Information just for a specific category (default template ) ?
Thanks
You can use the following condition
{if $product.main_category != 123} ... default code with amount here... {/if}
where 123 - is the ID of product category. It can be found in the admin panel