| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Google Feed Manager 'Label' field | |||
|
|
Thread Tools |
#1
|
|||||||
|
|||||||
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 |
|||||||
#2
|
|||||||
|
|||||||
Re: Google Feed Manager 'Label' field
Are you talking about Firetanks mod?
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
Re: Google Feed Manager 'Label' field
Sorry, should have said. Yes.
__________________
Xcart 4.0.19 Pro mySQL 5.5.44 PHP 5.3.27 |
|||||||
#4
|
|||||||||
|
|||||||||
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. |
|||||||||
|
|||
X-Cart forums © 2001-2020
|