Try not to hard code things:
PHP Code:
$content["condition"] = '<g:condition>' . GOOGLE_FROOGLE_CONDITION . '</g:condition>';
I may have made a mistake with my nested short form if statements...
Can you try this first before changing to the fix above?
PHP Code:
if (GOOGLE_BASE_ASA == 'true') {
if ($products->fields['products_condition'] != '') {
$content['condition'] = '<g:condition>' . $products->fields['products_condition'] . '</g:condition>';
}
} else {
$content["condition"] = '<g:condition>' . GOOGLE_FROOGLE_CONDITION . '</g:condition>';
}
Bookmarks