Google Products Plugin Not Loading GTIN

  • Posts: 52
  • Thank you received: 4
  • Hikamarket Frontedition Hikashop Business
1 year 3 weeks ago #350245

-- HikaShop version -- : 4.7.1
-- Joomla version -- : 4.2.9
-- PHP version -- : 7.4.33
-- Browser(s) name and version -- : Firefox 111.0

Greetings,

I'm having a problem with the Google Products Plugin not including GTIN's in the xml feed.

I've got a custom field whose column name is upcgtin which I use to store upc numbers.

I've got the plugin GTIN field set to upcgtin .

My feed uploads 172 products only a few of which currently have upc's.

Below is an example of the XML feed for a product that does have a value in the upcgtin field.

<item>
	<g:id>1002</g:id>
	<title><![CDATA[ Gatorade 2.5 Gallon Instant Powder Mix (Case of 32) ]]></title>
	<g:link><![CDATA[ https://safetyzonespecialists.com/index.php?option=com_hikashop&ctrl=product&task=show&cid=1002&name=gatorade-2-5-gallon-instant-powder-mix&Itemid=185 ]]></g:link>
	<g:price>149.9 USD</g:price>
	<g:description><![CDATA[ 
Gatorade 2.5 Gallon Instant Powder - 21 oz Gatorade Mix 

&nbsp;
Original Gatorade formula in instant powder for optimal hydration to help athletes perform at their best replacing electrolytes and carbohydrates loss during high-endurance exercise and competition. Scientifically-formulated with the optimal fluid and energy solution for sports.Each case contains 32 bags with 21 oz of original Gatorade instant powder mix in thirst quenching flavor, giving you 2.5 gallons of instant Gatorade with each bag, for a total of 80 gallons per case. Just open a 2.5 oz bag of instant Gatorade powder anywhere, mix it with fresh water, and you'll be able to hydrate your whole team of athletes. Gatorade instant powder is perfect for large family events, Super Bowl parties, tailgating, school cafeterias, and other large receptions.
 ]]></g:description>
	<g:condition><![CDATA[ new ]]></g:condition>
	<g:age_group><![CDATA[ Adult ]]></g:age_group>
	<g:brand><![CDATA[ Gatorade ]]></g:brand>
	<g:google_product_category><![CDATA[ 5723 ]]></g:google_product_category>
	<g:mpn><![CDATA[ Gatorade_2_5_Gallon_Instant_Powder_Mix ]]></g:mpn>
	<g:image_link>https://safetyzonespecialists.com/images/com_hikashop/upload/ga308-03969_lemon_lime.jpg</g:image_link>
	<g:additional_image_link>https://safetyzonespecialists.com/images/com_hikashop/upload/308-33673_frost_riptide_rush.jpg</g:additional_image_link>
	<g:additional_image_link>https://safetyzonespecialists.com/images/com_hikashop/upload/308-33677_frost_glacier_freeze.jpg</g:additional_image_link>
	<g:additional_image_link>https://safetyzonespecialists.com/images/com_hikashop/upload/308-03970_orange.jpg</g:additional_image_link>
	<g:additional_image_link>https://safetyzonespecialists.com/images/com_hikashop/upload/308-33691_fruit_punch.jpg</g:additional_image_link>
	<g:product_type><![CDATA[ PPE Safety Zone > Hydration ]]></g:product_type>
	<g:availability>in stock</g:availability>
	<g:shipping_weight>45 lb</g:shipping_weight>
</item>
Thank you for your attention,

Dave

Last edit: 1 year 3 weeks ago by nicolas.

Please Log in or Create an account to join the conversation.

  • Posts: 81423
  • Thank you received: 13056
  • MODERATOR
1 year 3 weeks ago #350250

Hi,

You need you configure the "identifier exists" setting accordingly:

Tells google if an identifier (brand, gtin, mpn) exists for your products (you can use either 'TRUE' or 'FALSE' and no other value is allowed). If you enter here the column name of a custom product field, it will use the value of the custom field for each product allowing you to have a identifiers for some products and not for others.

The GTIN can only be sent if the identifier exists is set to TRUE or to a custom product field with the value set to TRUE for the product. Otherwise, this would generate an error when importing the XML.

The following user(s) said Thank You: daduts

Please Log in or Create an account to join the conversation.

Time to create page: 0.058 seconds
Powered by Kunena Forum