Remove Short Description from List View?

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.


Edited to add that I found the fix. If anyone else needs it, here it is:

  1. Create a file called product_block.override.tpl
  2. Add the following code:

{include file="common_templates/image.tpl" image_width=$settings.Appearance.thumbnail_width obj_id=$obj_id images=$product.main_pair object_type="product"}

{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}


3. Place this file in the hooks directory as such: skins/{my skin}/customer/addons/my_changes/hooks/ index/products

I have not tried this but it looks pretty straightforward.

In /skins/YOURSKIN/customer/views/categories/custom_templates/products.tpl, comment out this code starting at line 28:

{if $product.short_description || $product.full_description}

{if $product.short_description}
{$product.full_description|unescape|strip_tags|truncate:280:"..."}{if $product.full_description|strlen > 280}{$lang.more_link}{/if}

There is a hook at line 16 if you want to do it that way:

[QUOTE]{hook name=“products:product_block”}[/QUOTE]