View Single Post
  #4  
Old 09-11-2006, 07:32 AM
  B00MER's Avatar 
B00MER B00MER is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Keller, TX (Cart-Lab.com)
Posts: 3,165
 

Default Re: Google Feed Manager 'Label' field

The best thing I can suggest is to modify the extra field tpl's on the product detail pages to not display the enabled keywords field.

Take a look at skin1/modules/Extra_Fields/product.tpl

{section name=field loop=$extra_fields}
{if $extra_fields[field].active eq "Y" && $extra_fields[field].field_value}

{$extra_fields[field].field}
{$extra_fields[field].field_value}

{/if}
{/section}

If you know the index of the keywords field you can modify the {if} condition to something like this:


{if $extra_fields[field].active eq "Y" && $extra_fields[field].field_value or !$extra_fields[1].field eq "keywords"}

This would be if you had one extra field before a second field with the name "keywords" as this would bypass the active eq "Y" condition and cause the active field not to display but still be available in the feed generator.

Hope this helps.
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart.
Reply With Quote