Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Google Feed Manager 'Label' field

 
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4
 
Thread Tools
  #1  
Old 09-08-2006, 06:25 AM
 
DaveB DaveB is offline
 

Senior Member
  
Join Date: May 2004
Location: UK
Posts: 121
 

Default Google Feed Manager 'Label' field

Hi

I'm a bit stuck with what to do with the label field in the google feed generator.
If I add an extra field to products in xcart for keywords and phrases, and set this field to not show, it then doesn't appear on the website which is correct, but it also doesn't appear as an extra field in field mapping section of the feed manager. But if I set the field to show, which I think would make it show in the mapping section, the keywords etc would appear on our website.

Presumably I'm doing something wrong?
__________________
Xcart 4.0.19 Pro
mySQL 5.5.44
PHP 5.3.27
Reply With Quote
  #2  
Old 09-08-2006, 07:00 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Google Feed Manager 'Label' field

Are you talking about Firetanks mod?
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 09-08-2006, 07:30 AM
 
DaveB DaveB is offline
 

Senior Member
  
Join Date: May 2004
Location: UK
Posts: 121
 

Default Re: Google Feed Manager 'Label' field

Sorry, should have said. Yes.
__________________
Xcart 4.0.19 Pro
mySQL 5.5.44
PHP 5.3.27
Reply With Quote
  #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
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 04:56 PM.

   

 
X-Cart forums © 2001-2020