[Skip to main content](#vessel-content)

#   google product category is missing

##

- **[kubwit](/forum/user/19182-kubwit "View kubwit's Profile")**
- [![kubwit's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/19182-kubwit "View kubwit's Profile") Topic Author
- [ Offline](/forum/user/19182-kubwit)

Less More

- Posts: 75
- Thank you received: 3
-
-

13 years 5 months ago [\#108608](#108608) by [kubwit](/forum/user/19182-kubwit "View kubwit's Profile")  *[google product category is missing](/forum/3-bug-report/83566-google-product-category-is-missing#108608 "Hallo.  I uploaded manually the googlemerchantfile downloaded from the plugin. Google replyed that the google product category is missing on all products.  Where can i apply the category ??  Thanks for reply")* was created by *[kubwit](/forum/user/19182-kubwit "View kubwit's Profile")*

Hallo.

I uploaded manually the googlemerchantfile downloaded from the plugin. Google replyed that the google product category is missing on all products.

Where can i apply the category ??

Thanks for reply

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84MzU2Ni1nb29nbGUtcHJvZHVjdC1jYXRlZ29yeS1pcy1taXNzaW5nP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Eliot](/forum/user/1824-eliot "View Eliot's Profile")**
- [![Eliot's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1824.png)](/forum/user/1824-eliot "View Eliot's Profile")
- [ Offline](/forum/user/1824-eliot)

Less More

- Posts: 2334
- Thank you received: 403
-
-

13 years 5 months ago [\#108640](#108640) by [Eliot](/forum/user/1824-eliot "View Eliot's Profile")  Replied by *[Eliot](/forum/user/1824-eliot "View Eliot's Profile")* on topic *[google product category is missing](/forum/3-bug-report/83566-google-product-category-is-missing#108640 "Hallo.  I uploaded manually the googlemerchantfile downloaded from the plugin. Google replyed that the google product category is missing on all products.  Where can i apply the category ??  Thanks for reply")*

Hi there,

Could you post a small example of the file you used with google product?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84MzU2Ni1nb29nbGUtcHJvZHVjdC1jYXRlZ29yeS1pcy1taXNzaW5nP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[kubwit](/forum/user/19182-kubwit "View kubwit's Profile")**
- [![kubwit's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/19182-kubwit "View kubwit's Profile") Topic Author
- [ Offline](/forum/user/19182-kubwit)

Less More

- Posts: 75
- Thank you received: 3
-
-

13 years 5 months ago [\#108641](#108641) by [kubwit](/forum/user/19182-kubwit "View kubwit's Profile")  Replied by *[kubwit](/forum/user/19182-kubwit "View kubwit's Profile")* on topic *[google product category is missing](/forum/3-bug-report/83566-google-product-category-is-missing#108641 "Hallo.  I uploaded manually the googlemerchantfile downloaded from the plugin. Google replyed that the google product category is missing on all products.  Where can i apply the category ??  Thanks for reply")*

Hallo.

I have also tried to create a cron job but it told me that i have no subscription for site ilmondodiwit.com. I have buyed business edition some weeks ago.

How comes ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84MzU2Ni1nb29nbGUtcHJvZHVjdC1jYXRlZ29yeS1pcy1taXNzaW5nP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Cattelan](/forum/user/20691-cattelan "View Cattelan's Profile")**
- [![Cattelan's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/quiet.jpg)](/forum/user/20691-cattelan "View Cattelan's Profile")
- [ Offline](/forum/user/20691-cattelan)

Less More

- Posts: 155
- Thank you received: 4
-
-

13 years 5 months ago -  13 years 5 months ago [\#108647](#108647) by [Cattelan](/forum/user/20691-cattelan "View Cattelan's Profile")  Replied by *[Cattelan](/forum/user/20691-cattelan "View Cattelan's Profile")* on topic *[google product category is missing](/forum/3-bug-report/83566-google-product-category-is-missing#108647 "Hallo.  I uploaded manually the googlemerchantfile downloaded from the plugin. Google replyed that the google product category is missing on all products.  Where can i apply the category ??  Thanks for reply")*

*This attachment is hidden for guests.
Please log in or register to see it.*

Here is the file i downloaded.

The subscription i resolved because i didn't add the website when i downloaded the businessedition. sorry

Last edit: 13 years 5 months ago by [Cattelan](/forum/user/20691-cattelan "View Cattelan's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84MzU2Ni1nb29nbGUtcHJvZHVjdC1jYXRlZ29yeS1pcy1taXNzaW5nP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Cattelan](/forum/user/20691-cattelan "View Cattelan's Profile")**
- [![Cattelan's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/quiet.jpg)](/forum/user/20691-cattelan "View Cattelan's Profile")
- [ Offline](/forum/user/20691-cattelan)

Less More

- Posts: 155
- Thank you received: 4
-
-

13 years 5 months ago [\#108652](#108652) by [Cattelan](/forum/user/20691-cattelan "View Cattelan's Profile")  Replied by *[Cattelan](/forum/user/20691-cattelan "View Cattelan's Profile")* on topic *[google product category is missing](/forum/3-bug-report/83566-google-product-category-is-missing#108652 "Hallo.  I uploaded manually the googlemerchantfile downloaded from the plugin. Google replyed that the google product category is missing on all products.  Where can i apply the category ??  Thanks for reply")*

here is a screenshot of google merchants
[ ![Schermata&#95;del&#95;2013-06-11&#95;112431.png](/forum/attachment/10566) ](/forum/attachment/10566 "...-11&#95;112431.png")

[ ![Schermata&#95;del&#95;2013-06-11&#95;112641.png](/forum/attachment/10567) ](/forum/attachment/10567 "...-11&#95;112641.png")

[ ![Schermata&#95;del&#95;2013-06-11&#95;112701.png](/forum/attachment/10568) ](/forum/attachment/10568 "...-11&#95;112701.png")

- [ ![Schermata&#95;del&#95;2013-06-11&#95;112431.png](/forum/attachment/10566) ](/forum/attachment/10566 "...-11&#95;112431.png") [ ](/forum/attachment/10566?download=1 "...-11&#95;112431.png")
- [ ![Schermata&#95;del&#95;2013-06-11&#95;112641.png](/forum/attachment/10567) ](/forum/attachment/10567 "...-11&#95;112641.png") [ ](/forum/attachment/10567?download=1 "...-11&#95;112641.png")
- [ ![Schermata&#95;del&#95;2013-06-11&#95;112701.png](/forum/attachment/10568) ](/forum/attachment/10568 "...-11&#95;112701.png") [ ](/forum/attachment/10568?download=1 "...-11&#95;112701.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84MzU2Ni1nb29nbGUtcHJvZHVjdC1jYXRlZ29yeS1pcy1taXNzaW5nP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Cattelan](/forum/user/20691-cattelan "View Cattelan's Profile")**
- [![Cattelan's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/quiet.jpg)](/forum/user/20691-cattelan "View Cattelan's Profile")
- [ Offline](/forum/user/20691-cattelan)

Less More

- Posts: 155
- Thank you received: 4
-
-

13 years 5 months ago [\#108672](#108672) by [Cattelan](/forum/user/20691-cattelan "View Cattelan's Profile")  Replied by *[Cattelan](/forum/user/20691-cattelan "View Cattelan's Profile")* on topic *[google product category is missing](/forum/3-bug-report/83566-google-product-category-is-missing#108672 "Hallo.  I uploaded manually the googlemerchantfile downloaded from the plugin. Google replyed that the google product category is missing on all products.  Where can i apply the category ??  Thanks for reply")*

wouldn't it easy to add the possibility to add the field when you add the product category? and the general category in the shop settings or for who has multiple main categorys like explained here:[ google product categorys](https://support.google.com/merchants/answer/160081?hl=en)

So for an single category shop like mine you could set in the shop settings: Code:

Apparel &amp; Accessories

and then each defined under category Code:

Jewelry

and then Code:

rings

Code:

bracelets

and so one.

A mall which many product types leafes it blank and specifies in the product categories

Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84MzU2Ni1nb29nbGUtcHJvZHVjdC1jYXRlZ29yeS1pcy1taXNzaW5nP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Eliot](/forum/user/1824-eliot "View Eliot's Profile")**
- [![Eliot's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1824.png)](/forum/user/1824-eliot "View Eliot's Profile")
- [ Offline](/forum/user/1824-eliot)

Less More

- Posts: 2334
- Thank you received: 403
-
-

13 years 5 months ago [\#108708](#108708) by [Eliot](/forum/user/1824-eliot "View Eliot's Profile")  Replied by *[Eliot](/forum/user/1824-eliot "View Eliot's Profile")* on topic *[google product category is missing](/forum/3-bug-report/83566-google-product-category-is-missing#108708 "Hallo.  I uploaded manually the googlemerchantfile downloaded from the plugin. Google replyed that the google product category is missing on all products.  Where can i apply the category ??  Thanks for reply")*

Could you tell me exactly what your problem is?
Actually, the category tag used by google is just made to fit their specification and help them to determine the product code needed (like UPC, EAN...).
But your product categories are already specified by our plugin in the "type" tag, which is (as said on this page [ support.google.com/merchants/answer/1884...en&amp;ref\_topic=2473824](https://support.google.com/merchants/answer/188494?hl=en&ref_topic=2473824) your categories of the item).

To sum up, the category tag isn't necessary if you don't sell goods in one of this free categories: 'Apparel &amp; Accessories', 'Media', and 'Software'.
If your product aren't in one of these categories, the category tag is optional.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84MzU2Ni1nb29nbGUtcHJvZHVjdC1jYXRlZ29yeS1pcy1taXNzaW5nP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Cattelan](/forum/user/20691-cattelan "View Cattelan's Profile")**
- [![Cattelan's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/quiet.jpg)](/forum/user/20691-cattelan "View Cattelan's Profile")
- [ Offline](/forum/user/20691-cattelan)

Less More

- Posts: 155
- Thank you received: 4
-
-

13 years 5 months ago -  13 years 5 months ago [\#108725](#108725) by [Cattelan](/forum/user/20691-cattelan "View Cattelan's Profile")  Replied by *[Cattelan](/forum/user/20691-cattelan "View Cattelan's Profile")* on topic *[google product category is missing](/forum/3-bug-report/83566-google-product-category-is-missing#108725 "Hallo.  I uploaded manually the googlemerchantfile downloaded from the plugin. Google replyed that the google product category is missing on all products.  Where can i apply the category ??  Thanks for reply")*

Hallo. Thanks for reply.

There is no problem. Just i've seen that google said that the attribute was missing and i wondered how to insert it. I just wondered that there is a plugin for this and there is not the possibility to add the categorys.

> the category tag isn't necessary if you don't sell goods in one of this free categories: 'Apparel &amp; Accessories',

I sell in the categorys 'Apparel &amp; Accessories'. So how can i do

[ ![Schermata&#95;del&#95;2013-06-11&#95;155833.png](/forum/attachment/10583) ](/forum/attachment/10583 "...-11&#95;155833.png")

i find no tag to insert

Thanks and best regards

- [ ![Schermata&#95;del&#95;2013-06-11&#95;155833.png](/forum/attachment/10583) ](/forum/attachment/10583 "...-11&#95;155833.png") [ ](/forum/attachment/10583?download=1 "...-11&#95;155833.png")

Last edit: 13 years 5 months ago by [Cattelan](/forum/user/20691-cattelan "View Cattelan's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84MzU2Ni1nb29nbGUtcHJvZHVjdC1jYXRlZ29yeS1pcy1taXNzaW5nP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Eliot](/forum/user/1824-eliot "View Eliot's Profile")**
- [![Eliot's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1824.png)](/forum/user/1824-eliot "View Eliot's Profile")
- [ Offline](/forum/user/1824-eliot)

Less More

- Posts: 2334
- Thank you received: 403
-
-

13 years 5 months ago [\#108745](#108745) by [Eliot](/forum/user/1824-eliot "View Eliot's Profile")  Replied by *[Eliot](/forum/user/1824-eliot "View Eliot's Profile")* on topic *[google product category is missing](/forum/3-bug-report/83566-google-product-category-is-missing#108745 "Hallo.  I uploaded manually the googlemerchantfile downloaded from the plugin. Google replyed that the google product category is missing on all products.  Where can i apply the category ??  Thanks for reply")*

Try to install this plugin and tell me if it works.

####  Attachment not found

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84MzU2Ni1nb29nbGUtcHJvZHVjdC1jYXRlZ29yeS1pcy1taXNzaW5nP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Cattelan](/forum/user/20691-cattelan "View Cattelan's Profile")**
- [![Cattelan's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/quiet.jpg)](/forum/user/20691-cattelan "View Cattelan's Profile")
- [ Offline](/forum/user/20691-cattelan)

Less More

- Posts: 155
- Thank you received: 4
-
-

13 years 5 months ago [\#108752](#108752) by [Cattelan](/forum/user/20691-cattelan "View Cattelan's Profile")  Replied by *[Cattelan](/forum/user/20691-cattelan "View Cattelan's Profile")* on topic *[google product category is missing](/forum/3-bug-report/83566-google-product-category-is-missing#108752 "Hallo.  I uploaded manually the googlemerchantfile downloaded from the plugin. Google replyed that the google product category is missing on all products.  Where can i apply the category ??  Thanks for reply")*

hallo.

for me it looks the same which it was already installed, enabled and confugured (like screenshot)
Code:

&lt;rss version="2.0"&gt;&lt;channel&gt;&lt;title&gt; Il Mondo di Wit - Isola d'elba &lt;/title&gt;&lt;description&gt; Creazione e vendita di gioielli d' argento oro e altri materiali preziosi e semipreziose con pietre dure e semipreziose. Tanti trucchi su Cura di gioielli e informazione su Lifestyle salute , cristalloterapia ecc. &lt;/description&gt;&lt;link&gt; https://www.ilmondodiwit.com/ &lt;/link&gt;&lt;item&gt;&lt;g:id&gt;18&lt;/g:id&gt;&lt;title&gt; Bracciale Elba a Porter - Elba &lt;/title&gt;&lt;g:link&gt; https://www.ilmondodiwit.com/index.php?option=com_hikashop&amp;ctrl=product&amp;task=show&amp;cid=18&amp;name=bracciale-elba-a-porter-elba &lt;/g:link&gt;&lt;g:price&gt;32 EUR&lt;/g:price&gt;&lt;g:description&gt; Bracciale sportivo unisex. Questo Bracciale rappresenta i colori della bandiera elbana - rosso, bianco e oro. Il rosso viene rappresentato da rubini, il bianco dall cordino in nylon cotonato e il colore oro dall argento dorato&lt;/g:description&gt;&lt;g:condition&gt; new &lt;/g:condition&gt;&lt;g:brand&gt; Il Mondo di Wit &lt;/g:brand&gt;&lt;g:mpn&gt;bpap1&lt;/g:mpn&gt;&lt;g:image_link&gt;https://www.ilmondodiwit.com/media/com_hikashop/upload/bracciale_elba_a_4cd315a446248.jpg&lt;/g:image_link&gt;&lt;g:product_type&gt; "Elba a Porter" &lt;/g:product_type&gt;&lt;g:availability&gt;in stock&lt;/g:availability&gt;&lt;g:shipping_weight&gt;0.000 kg&lt;/g:shipping_weight&gt;&lt;/item&gt;

This is the output of the first item in the new xml file.

For me it seems nothing changed

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84MzU2Ni1nb29nbGUtcHJvZHVjdC1jYXRlZ29yeS1pcy1taXNzaW5nP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Cattelan](/forum/user/20691-cattelan "View Cattelan's Profile")**
- [![Cattelan's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/quiet.jpg)](/forum/user/20691-cattelan "View Cattelan's Profile")
- [ Offline](/forum/user/20691-cattelan)

Less More

- Posts: 155
- Thank you received: 4
-
-

13 years 5 months ago [\#108762](#108762) by [Cattelan](/forum/user/20691-cattelan "View Cattelan's Profile")  Replied by *[Cattelan](/forum/user/20691-cattelan "View Cattelan's Profile")* on topic *[google product category is missing](/forum/3-bug-report/83566-google-product-category-is-missing#108762 "Hallo.  I uploaded manually the googlemerchantfile downloaded from the plugin. Google replyed that the google product category is missing on all products.  Where can i apply the category ??  Thanks for reply")*

hallo.

I looked the plugin. i don't know because i'm not able to write a single line of code and i'm not able to read. but i tried to have a look on the plugin.

i found a line Code:

//Getting path to the product =&gt; Categories $type=''; foreach($product-&gt;categories_id as $catID){ foreach($category_path as $id=&gt;$catPath){ if($id==$catID){ $type.='"'.$catPath['path'].'",'; } } }

i don't know if this should get the category of the product. I saw tha all others had a line where is the Code:

$xml.="\t".'&lt;g:p..........

inside

but i didn't find anything for the category.

For sure that has nothing to do with it

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84MzU2Ni1nb29nbGUtcHJvZHVjdC1jYXRlZ29yeS1pcy1taXNzaW5nP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Eliot](/forum/user/1824-eliot "View Eliot's Profile")**
- [![Eliot's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1824.png)](/forum/user/1824-eliot "View Eliot's Profile")
- [ Offline](/forum/user/1824-eliot)

Less More

- Posts: 2334
- Thank you received: 403
-
-

13 years 5 months ago [\#108835](#108835) by [Eliot](/forum/user/1824-eliot "View Eliot's Profile")  Replied by *[Eliot](/forum/user/1824-eliot "View Eliot's Profile")* on topic *[google product category is missing](/forum/3-bug-report/83566-google-product-category-is-missing#108835 "Hallo.  I uploaded manually the googlemerchantfile downloaded from the plugin. Google replyed that the google product category is missing on all products.  Where can i apply the category ??  Thanks for reply")*

Did you installed the plugin I gave you?
With it you should be able to specify a category for your product in the plugin configuration.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84MzU2Ni1nb29nbGUtcHJvZHVjdC1jYXRlZ29yeS1pcy1taXNzaW5nP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Cattelan](/forum/user/20691-cattelan "View Cattelan's Profile")**
- [![Cattelan's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/quiet.jpg)](/forum/user/20691-cattelan "View Cattelan's Profile")
- [ Offline](/forum/user/20691-cattelan)

Less More

- Posts: 155
- Thank you received: 4
-
-

13 years 5 months ago -  13 years 5 months ago [\#108844](#108844) by [Cattelan](/forum/user/20691-cattelan "View Cattelan's Profile")  Replied by *[Cattelan](/forum/user/20691-cattelan "View Cattelan's Profile")* on topic *[google product category is missing](/forum/3-bug-report/83566-google-product-category-is-missing#108844 "Hallo.  I uploaded manually the googlemerchantfile downloaded from the plugin. Google replyed that the google product category is missing on all products.  Where can i apply the category ??  Thanks for reply")*

Yes. Sorry. i didn't see the field.

I still get error: Code:

&lt;g:category&gt;&lt;![CDATA[ Apparel and Accessories ]]&gt;&lt;/g:cat...

Maybe the field description is not right ?

[ ![Schermata&#95;del&#95;2013-06-12&#95;104401.png](/forum/attachment/10601) ](/forum/attachment/10601 "...-12&#95;104401.png")

- [ ![Schermata&#95;del&#95;2013-06-12&#95;104401.png](/forum/attachment/10601) ](/forum/attachment/10601 "...-12&#95;104401.png") [ ](/forum/attachment/10601?download=1 "...-12&#95;104401.png")

Last edit: 13 years 5 months ago by [Cattelan](/forum/user/20691-cattelan "View Cattelan's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84MzU2Ni1nb29nbGUtcHJvZHVjdC1jYXRlZ29yeS1pcy1taXNzaW5nP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Cattelan](/forum/user/20691-cattelan "View Cattelan's Profile")**
- [![Cattelan's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/quiet.jpg)](/forum/user/20691-cattelan "View Cattelan's Profile")
- [ Offline](/forum/user/20691-cattelan)

Less More

- Posts: 155
- Thank you received: 4
-
-

13 years 5 months ago [\#108861](#108861) by [Cattelan](/forum/user/20691-cattelan "View Cattelan's Profile")  Replied by *[Cattelan](/forum/user/20691-cattelan "View Cattelan's Profile")* on topic *[google product category is missing](/forum/3-bug-report/83566-google-product-category-is-missing#108861 "Hallo.  I uploaded manually the googlemerchantfile downloaded from the plugin. Google replyed that the google product category is missing on all products.  Where can i apply the category ??  Thanks for reply")*

i changed manually the .xml file and i changed the Code:

g:category

with Code:

g:google_product_category

and now it seems to accept the xml file without complaining that something is missing.

I also change the line Code:

//add the brand if specify if(!empty($plugin-&gt;params['category'])){ $column = $plugin-&gt;params['category']; if(isset($product-&gt;$column)){ $text = $product-&gt;$column; }else{ $text = $column; } $xml.="\t".'&lt;g:category&gt;&lt;![CDATA[ '.$text.' ]]&gt;&lt;/g:category&gt;'."\n"; }

to Code:

//add the brand if specify if(!empty($plugin-&gt;params['category'])){ $column = $plugin-&gt;params['category']; if(isset($product-&gt;$column)){ $text = $product-&gt;$column; }else{ $text = $column; } $xml.="\t".'&lt;g:google_product_category&gt;&lt;![CDATA[ '.$text.' ]]&gt;&lt;/g:google_product_category&gt;'."\n"; }

and now the output is ok and accepted by google.

Is there anything you could do about adding the hikashop behind the google_product_category.

Because there is some specification on google:

> Examples of ‘google product category’ submissions:
>
> Leggings fall under the 'Apparel &amp; Accessories &gt; Clothing' category specified above. When submitting leggings:
>
> Acceptable categories:
> 'Apparel &amp; Accessories &gt; Clothing'
> 'Apparel &amp; Accessories &gt; Clothing' &gt; Pants'
> 'Apparel &amp; Accessories &gt; **Clothing'** &gt; **Pants** &gt; **Leggings**'
> Invalid categories
> 'Apparel &amp; Accessories' !!!
>
> Thanks for reply
> Failing to provide any 'google product category'

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84MzU2Ni1nb29nbGUtcHJvZHVjdC1jYXRlZ29yeS1pcy1taXNzaW5nP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Eliot](/forum/user/1824-eliot "View Eliot's Profile")**
- [![Eliot's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1824.png)](/forum/user/1824-eliot "View Eliot's Profile")
- [ Offline](/forum/user/1824-eliot)

Less More

- Posts: 2334
- Thank you received: 403
-
-

13 years 5 months ago [\#108883](#108883) by [Eliot](/forum/user/1824-eliot "View Eliot's Profile")  Replied by *[Eliot](/forum/user/1824-eliot "View Eliot's Profile")* on topic *[google product category is missing](/forum/3-bug-report/83566-google-product-category-is-missing#108883 "Hallo.  I uploaded manually the googlemerchantfile downloaded from the plugin. Google replyed that the google product category is missing on all products.  Where can i apply the category ??  Thanks for reply")*

Sorry about this mistake, it's fixed.
I don't understand what your mean by "adding the hikashop behind the google_product_category" since you can now set whatever you in the plugin configuration.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84MzU2Ni1nb29nbGUtcHJvZHVjdC1jYXRlZ29yeS1pcy1taXNzaW5nP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Cattelan](/forum/user/20691-cattelan "View Cattelan's Profile")**
- [![Cattelan's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/quiet.jpg)](/forum/user/20691-cattelan "View Cattelan's Profile")
- [ Offline](/forum/user/20691-cattelan)

Less More

- Posts: 155
- Thank you received: 4
-
-

13 years 5 months ago [\#108914](#108914) by [Cattelan](/forum/user/20691-cattelan "View Cattelan's Profile")  Replied by *[Cattelan](/forum/user/20691-cattelan "View Cattelan's Profile")* on topic *[google product category is missing](/forum/3-bug-report/83566-google-product-category-is-missing#108914 "Hallo.  I uploaded manually the googlemerchantfile downloaded from the plugin. Google replyed that the google product category is missing on all products.  Where can i apply the category ??  Thanks for reply")*

> I don't understand what your mean by "adding the hikashop behind the google\_product\_category" since you can now set whatever you in the plugin configuration.

That's right. I can set what i want. But the plugin provides the general category -&gt; means for example

**Apparel &amp; Accessories**

But this is for EVERY product of the shop. I'm ,for example, running category shop in this category.

Like google explains

> Acceptable categories:
> 'Apparel &amp; Accessories &gt; Clothing'
> 'Apparel &amp; Accessories &gt; Clothing' &gt; Pants'
> 'Apparel &amp; Accessories &gt; Clothing' &gt; Pants &gt; Leggings'
> Invalid categories
> 'Apparel &amp; Accessories' !!!

So if i set for example **Apparel &amp; Accessories** in the plugin it does not add the categorys for example 'Clothing' which i set in the product category in the shop article settings.

Another example.

I set in the plugin Apparel &amp; Accessories -&gt; so every product gets the google_product_category Apparel &amp; Accessories

I have in my shop the product categorys

-&gt; Rings
-&gt; Necklaces
-&gt; Bracelets
ecc

Second the google directives all my products could be good in Apparel &amp; Accessories &gt; jewelry

But it would be better in:

Apparel &amp; Accessories *(set in plugin)*&gt; jewelry *(set in plugin)*&gt; rings *(comes from DB $category)*
Apparel &amp; Accessories *(set in plugin)*&gt; jewelry *(set in plugin)*&gt; bracelets *(comes from DB $category)*
Apparel &amp; Accessories *(set in plugin)*&gt; jewelry *(set in plugin)*&gt; Necklaces *(comes from DB $category)*

I hope i explained better.

Maybe it is interesting for you to put in a further release.

If you want me to test it let me know

Thanks and best regards

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84MzU2Ni1nb29nbGUtcHJvZHVjdC1jYXRlZ29yeS1pcy1taXNzaW5nP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Eliot](/forum/user/1824-eliot "View Eliot's Profile")**
- [![Eliot's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1824.png)](/forum/user/1824-eliot "View Eliot's Profile")
- [ Offline](/forum/user/1824-eliot)

Less More

- Posts: 2334
- Thank you received: 403
-
-

13 years 5 months ago [\#108918](#108918) by [Eliot](/forum/user/1824-eliot "View Eliot's Profile")  Replied by *[Eliot](/forum/user/1824-eliot "View Eliot's Profile")* on topic *[google product category is missing](/forum/3-bug-report/83566-google-product-category-is-missing#108918 "Hallo.  I uploaded manually the googlemerchantfile downloaded from the plugin. Google replyed that the google product category is missing on all products.  Where can i apply the category ??  Thanks for reply")*

Indeed, this is a legitimate request ![:)](/media/kunena/emoticons/3.png ":)").
Actually, you can already do that with the plugin I gave you, waht you ahve to do is to create a product custom field with the type "text" (for example named google_product_category).
Then edit your product and give this field the desired value (Apparel &amp; Accessories &gt; jewelry).
Finally, in the google product plugin, just set the category field to the custom field name (here, google_product_category).
In this case, the plugin will look for each product if they have this custom field, if yes, the custom field will be used. If no, it will use it name.

I hope it's clear enough ![:)](/media/kunena/emoticons/3.png ":)")

The following user(s) said Thank You: [Cattelan](/forum/user/20691-cattelan "View Cattelan's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84MzU2Ni1nb29nbGUtcHJvZHVjdC1jYXRlZ29yeS1pcy1taXNzaW5nP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Cattelan](/forum/user/20691-cattelan "View Cattelan's Profile")**
- [![Cattelan's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/quiet.jpg)](/forum/user/20691-cattelan "View Cattelan's Profile")
- [ Offline](/forum/user/20691-cattelan)

Less More

- Posts: 155
- Thank you received: 4
-
-

13 years 5 months ago [\#108919](#108919) by [Cattelan](/forum/user/20691-cattelan "View Cattelan's Profile")  Replied by *[Cattelan](/forum/user/20691-cattelan "View Cattelan's Profile")* on topic *[google product category is missing](/forum/3-bug-report/83566-google-product-category-is-missing#108919 "Hallo.  I uploaded manually the googlemerchantfile downloaded from the plugin. Google replyed that the google product category is missing on all products.  Where can i apply the category ??  Thanks for reply")*

Yes !!! Very NICE !! Thanks. I'll try and then i reply

Regards

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84MzU2Ni1nb29nbGUtcHJvZHVjdC1jYXRlZ29yeS1pcy1taXNzaW5nP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Cattelan](/forum/user/20691-cattelan "View Cattelan's Profile")**
- [![Cattelan's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/quiet.jpg)](/forum/user/20691-cattelan "View Cattelan's Profile")
- [ Offline](/forum/user/20691-cattelan)

Less More

- Posts: 155
- Thank you received: 4
-
-

13 years 5 months ago -  13 years 5 months ago [\#108921](#108921) by [Cattelan](/forum/user/20691-cattelan "View Cattelan's Profile")  Replied by *[Cattelan](/forum/user/20691-cattelan "View Cattelan's Profile")* on topic *[google product category is missing](/forum/3-bug-report/83566-google-product-category-is-missing#108921 "Hallo.  I uploaded manually the googlemerchantfile downloaded from the plugin. Google replyed that the google product category is missing on all products.  Where can i apply the category ??  Thanks for reply")*

You said to set the custom field for the product ?

Why not the Category? So you set it once and not for every product.

I made a custom field for the category
[ ![Schermata&#95;del&#95;2013-06-12&#95;164420.png](/forum/attachment/10612) ](/forum/attachment/10612 "...-12&#95;164420.png")

I suppose that it don't work with the plugin Code:

&lt;item&gt;&lt;g:id&gt;18&lt;/g:id&gt;&lt;title&gt; Bracciale Elba a Porter - Elba &lt;/title&gt;&lt;g:link&gt; https://www.ilmondodiwit.com/index.php?option=com_hikashop&amp;ctrl=product&amp;task=show&amp;cid=18&amp;name=bracciale-elba-a-porter-elba &lt;/g:link&gt;&lt;g:price&gt;32 EUR&lt;/g:price&gt;&lt;g:description&gt; Bracciale sportivo unisex. Questo Bracciale rappresenta i colori della bandiera elbana - rosso, bianco e oro. Il rosso viene rappresentato da rubini, il bianco dall cordino in nylon cotonato e il colore oro dall argento dorato&lt;/g:description&gt;&lt;g:condition&gt; new &lt;/g:condition&gt;&lt;g:brand&gt; Il Mondo di Wit &lt;/g:brand&gt;&lt;g:google_product_category&gt; here, google_product_category &lt;/g:google_product_category&gt;&lt;g:mpn&gt;bpap1&lt;/g:mpn&gt;&lt;g:image_link&gt;https://www.ilmondodiwit.com/media/com_hikashop/upload/bracciale_elba_a_4cd315a446248.jpg&lt;/g:image_link&gt;&lt;g:product_type&gt; "Elba a Porter" &lt;/g:product_type&gt;&lt;g:availability&gt;in stock&lt;/g:availability&gt;&lt;g:shipping_weight&gt;0.000 kg&lt;/g:shipping_weight&gt;&lt;/item&gt;

[ ![Schermata&#95;del&#95;2013-06-12&#95;164704.png](/forum/attachment/10613) ](/forum/attachment/10613 "...-12&#95;164704.png")

- [ ![Schermata&#95;del&#95;2013-06-12&#95;164420.png](/forum/attachment/10612) ](/forum/attachment/10612 "...-12&#95;164420.png") [ ](/forum/attachment/10612?download=1 "...-12&#95;164420.png")
- [ ![Schermata&#95;del&#95;2013-06-12&#95;164704.png](/forum/attachment/10613) ](/forum/attachment/10613 "...-12&#95;164704.png") [ ](/forum/attachment/10613?download=1 "...-12&#95;164704.png")

Last edit: 13 years 5 months ago by [Cattelan](/forum/user/20691-cattelan "View Cattelan's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84MzU2Ni1nb29nbGUtcHJvZHVjdC1jYXRlZ29yeS1pcy1taXNzaW5nP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Eliot](/forum/user/1824-eliot "View Eliot's Profile")**
- [![Eliot's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1824.png)](/forum/user/1824-eliot "View Eliot's Profile")
- [ Offline](/forum/user/1824-eliot)

Less More

- Posts: 2334
- Thank you received: 403
-
-

13 years 5 months ago [\#108927](#108927) by [Eliot](/forum/user/1824-eliot "View Eliot's Profile")  Replied by *[Eliot](/forum/user/1824-eliot "View Eliot's Profile")* on topic *[google product category is missing](/forum/3-bug-report/83566-google-product-category-is-missing#108927 "Hallo.  I uploaded manually the googlemerchantfile downloaded from the plugin. Google replyed that the google product category is missing on all products.  Where can i apply the category ??  Thanks for reply")*

This can't work in the way the plugin has been made.
I don't think it's a good solution since the gdata ask only for one category and your products can have more than one category.
So if your product are in 2 different categories and have 2 different custom field you don't know which one to choose.
Prefer the product custom field it's a better solution.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84MzU2Ni1nb29nbGUtcHJvZHVjdC1jYXRlZ29yeS1pcy1taXNzaW5nP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.119 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
