Hi All,
In version 2.010, does anyone know how to prevent the short description from showing up in List View? Or from any view for that matter.
I would also like to use a hook to do it so that it doesn’t come back after upgrade. I know how hooks work (so you don’t have to explain that process), but so far I just haven’t found a way to make this change using a provided hook.
Thanks!
Edited to add that I found the fix. If anyone else needs it, here it is:
- Create a file called product_block.override.tpl
- Add the following code:
{if $item_number == "Y"}{$smarty.foreach.products.iteration}. {/if}{$product.product|unescape}
{include file="views/products/components/buy_now.tpl" product=$product but_role="action" show_features=true show_sku=true hide_add_to_cart_button=$hide_add_to_cart_button capture_options_vs_qty=$smarty.capture.capt_options_vs_qty}
{if $product.short_description || $product.full_description}
{/if}
3. Place this file in the hooks directory as such: skins/{my skin}/customer/addons/my_changes/hooks/ index/products