Shopping Basket


 x 

Cart empty


Log In

Find Us Elsewhere

SSL

Forum Search

Keyword

By default, the Googlebase XML product feed uses the standard American English version of the Google product feed attributes. Google will always accept these, regardless of the feed language, so it is always fine to use these, however it is now possible to translate the feed attributes.

You will need to enable this as an option in the component configuration, on the "advanced" tab, set "Translate Tags" to "yes".

This article explains how you can translate attribute tags in the GooglebaseXML shopping feed. From version 4.6.20, the tags displayed in the feed are created as Joomla language constants, so that you can create a standard Joomla language override if you want to translate the tags.

For example, the default feed attribute used to supply shipping information is the <g:shipping> tag, however if you want to supply this as <g:delivery> instead, then you do this by creating a language override in the Joomla language manager. To do so, go to Extensions->Languages->Overrides in your Joomla admin, and click the "New" button.  In this case, the language constant is "COM_GOOGLEBASEXML_TAGS_SHIPPING", you just need to search for this constant, and supply the translation for it as "g:delivery" in the text field. Then save of course.

You can also use this method if you just want to create a general product feed for your store, without submitting it to Google, and want to change the names of some of the attributes.

List of Language Constants

The language constants used for feed attributes are the following:-

COM_GOOGLEBASEXML_TAGS_DESCRIPTION = "description"
COM_GOOGLEBASEXML_TAGS_LINK="link"
COM_GOOGLEBASEXML_TAGS_TITLE="title"
COM_GOOGLEBASEXML_TAGS_ID="g:id"
COM_GOOGLEBASEXML_TAGS_PRICE="g:price"
COM_GOOGLEBASEXML_TAGS_SALE_PRICE="g:sale_price"
COM_GOOGLEBASEXML_TAGS_SALE_PRICE_EFFECTIVE="g:sale_price_effective_date"
COM_GOOGLEBASEXML_TAGS_CONDITION="g:condition"
COM_GOOGLEBASEXML_TAGS_IMAGE_LINK="g:image_link"
COM_GOOGLEBASEXML_TAGS_ADDITIONAL_IMAGE_LINK="g:additional_image_link"
COM_GOOGLEBASEXML_TAGS_BRAND="g:brand"
COM_GOOGLEBASEXML_TAGS_SHIPPING_WEIGHT="g:shipping_weight"
COM_GOOGLEBASEXML_TAGS_SHIPPING_LABEL="g:shipping_label"
COM_GOOGLEBASEXML_TAGS_SHIPPING_LENGTH="g:shipping_length"
COM_GOOGLEBASEXML_TAGS_SHIPPING_WIDTH="g:shipping_width"
COM_GOOGLEBASEXML_TAGS_SHIPPING_HEIGHT="g:shipping_height"
COM_GOOGLEBASEXML_TAGS_GTIN="g:gtin"
COM_GOOGLEBASEXML_TAGS_MPN="g:mpn"
COM_GOOGLEBASEXML_TAGS_IDENTIFIER_EXISTS="g:identifier_exists"
COM_GOOGLEBASEXML_TAGS_SHIPPING="g:shipping"
COM_GOOGLEBASEXML_TAGS_PRODUCT_TYPE="g:product_type"
COM_GOOGLEBASEXML_TAGS_GOOGLE_CATEGORY="g:google_product_category"
COM_GOOGLEBASEXML_TAGS_COUNTRY="g:country"
COM_GOOGLEBASEXML_TAGS_SERVICE="g:service"
COM_GOOGLEBASEXML_TAGS_SHIPPING_PRICE="g:price"
COM_GOOGLEBASEXML_TAGS_REGION="g:region"
COM_GOOGLEBASEXML_TAGS_AVAILABILITY="g:availability"
COM_GOOGLEBASEXML_TAGS_AVAILABILITY_DATE="g:availability_date"
COM_GOOGLEBASEXML_TAGS_SIZE="g:size"
COM_GOOGLEBASEXML_TAGS_SIZE_SYSTEM="g:size_system"
COM_GOOGLEBASEXML_TAGS_COLOR="g:color"
COM_GOOGLEBASEXML_TAGS_MATERIAL="g:material"
COM_GOOGLEBASEXML_TAGS_PATTERN="g:pattern"
COM_GOOGLEBASEXML_TAGS_GENDER="g:gender"
COM_GOOGLEBASEXML_TAGS_AGE_GROUP="g:age_group"
COM_GOOGLEBASEXML_TAGS_ITEM_GROUP_ID="g:item_group_id"
COM_GOOGLEBASEXML_TAGS_UNIT_PRICING_MEASURE="g:unit_pricing_measure"
COM_GOOGLEBASEXML_TAGS_UNIT_PRICING_BASE_MEASURE="g:unit_pricing_base_measure"
COM_GOOGLEBASEXML_TAGS_CUSTOM_LABEL_0="g:custom_label_0"
COM_GOOGLEBASEXML_TAGS_CUSTOM_LABEL_1="g:custom_label_1"
COM_GOOGLEBASEXML_TAGS_CUSTOM_LABEL_2="g:custom_label_2"
COM_GOOGLEBASEXML_TAGS_CUSTOM_LABEL_3="g:custom_label_3"
COM_GOOGLEBASEXML_TAGS_CUSTOM_LABEL_4="g:custom_label_4"
COM_GOOGLEBASEXML_TAGS_SHIPPING_LABEL="g:shipping_label"
COM_GOOGLEBASEXML_TAGS_MULTIPACK="g:multipack"
COM_GOOGLEBASEXML_TAGS_IS_BUNDLE="g:is_bundle"
COM_GOOGLEBASEXML_TAGS_ADULT="g:adult"
COM_GOOGLEBASEXML_TAGS_ADWORDS_REDIRECT="g:adwords_redirect"
COM_GOOGLEBASEXML_TAGS_SIZE_TYPE="g:size_type"
COM_GOOGLEBASEXML_TAGS_EXCLUDED_DESTINATION="g:excluded_destination"
COM_GOOGLEBASEXML_TAGS_EXPIRY_DATE="g:expiry_date"