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

#   Fatal Problems with Google Plug In !!!

##

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

Less More

- Posts: 11
- Thank you received: 1
-
-

12 years 7 months ago -  12 years 7 months ago [\#147867](#147867) by [expressoshoppe](/forum/user/16127-expressoshoppe "View expressoshoppe's Profile")  *[Fatal Problems with Google Plug In !!!](/forum/30-integrations/866558-fatal-problems-with-google-plug-in#147867 "-- HikaShop version -- : 3.20 -- Joomla version -- : 3.23  A couple of problems, hoping they're on a list to be fixed - they will probably cause Google to reject our products.  CONDITION In addition to items that are new, we sell items that are used or refurbished (all three types). Google allows these three types (new, used, refurbished) The condition field is not available on the product form. The plug in form has a condition field, but that results in all items having the same condition value. HikaShop 3.20 identifies all items as 'new'.  AVAILABILITY Google allows 'in stock' (ship in e).  Note:  I tried creating a custom field (product&#95;condition) for condition (as I already did for google&#95;product&#95;value) and using it's name in the condition field of the plug-in form. It didn't work.")* was created by *[expressoshoppe](/forum/user/16127-expressoshoppe "View expressoshoppe's Profile")*

-- HikaShop version -- : 3.20
-- Joomla version -- : 3.23

A couple of problems, hoping they're on a list to be fixed - they will probably cause Google to reject our products.

CONDITION
In addition to items that are new, we sell items that are used or refurbished (all three types).
Google allows these three types (new, used, refurbished)
The condition field is not available on the product form.
The plug in form has a condition field, but that results in all items having the same condition value.
HikaShop 3.20 identifies all items as 'new'.

AVAILABILITY
Google allows 'in stock' (ship in &lt; 3 days),'available for order' (ship in 4+ days),
'out of stock' (orders not accepted), 'preorder' (ship at later date)
No availability field is available on the product form (although availability can be inferred from In Stock Y/N and dates).
HikaShop 3.20 identifies all items as 'in stock'.

BRAND
Google requires that we use the product brand when listing an item (and we should, customers are brand-loyal).
HikaShop 3.20 doesn't send the brand value to Google.
The plug-in page offers a brand field, but that results in the same brand being applied to all items (which should not be the case).

Note:

I tried creating a custom field (product_condition) for condition (as I already did for google_product_value) and using it's name in the condition field of the plug-in form. It didn't work.

Last edit: 12 years 7 months ago by [expressoshoppe](/forum/user/16127-expressoshoppe "View expressoshoppe's Profile"). Reason: Better title.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMwLWludGVncmF0aW9ucy84NjY1NTgtZmF0YWwtcHJvYmxlbXMtd2l0aC1nb29nbGUtcGx1Zy1pbj90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86321
- Thank you received: 14279
-
-

12 years 7 months ago [\#147869](#147869) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Fatal Problems with Google Plug In !!!](/forum/30-integrations/866558-fatal-problems-with-google-plug-in#147869 "-- HikaShop version -- : 3.20 -- Joomla version -- : 3.23  A couple of problems, hoping they're on a list to be fixed - they will probably cause Google to reject our products.  CONDITION In addition to items that are new, we sell items that are used or refurbished (all three types). Google allows these three types (new, used, refurbished) The condition field is not available on the product form. The plug in form has a condition field, but that results in all items having the same condition value. HikaShop 3.20 identifies all items as 'new'.  AVAILABILITY Google allows 'in stock' (ship in e).  Note:  I tried creating a custom field (product&#95;condition) for condition (as I already did for google&#95;product&#95;value) and using it's name in the condition field of the plug-in form. It didn't work.")*

Hi,

For the fields "Category", "Brand", "Age group", "Gender", "Size" and "Color", you might need to have different values for different products. In that case, create a custom field of the table "product" via the menu Display-&gt;Custom field for each one of these options and instead of entering the value in the option of the plugin, you would enter here the corresponding custom product field's column name. Then, in each product you would enter the value you want in the custom fields.
The plugin would then automatically pick the corresponding values in the products for these fields.

The availability of the products is already inferred automatically from the quantity field of the products. If all items are identified as "in stock" by the plugin, it means that all the products have a quantity different from 0. It's working fine on our end.

For the condition, the plugin doesn't handle yet different values for different products. You would have to change the line: Code:

$xml.="\t".'&lt;g:condition&gt;&lt;![CDATA[ '.$plugin-&gt;params['condition'].' ]]&gt;&lt;/g:condition&gt;'."\n";

by: Code:

$xml.=$this-&gt;_additionalParameter($product,$plugin,'condition','condition');

in the file plugins/hikashop/google_product/google_product.php and then the plugin would handle that.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMwLWludGVncmF0aW9ucy84NjY1NTgtZmF0YWwtcHJvYmxlbXMtd2l0aC1nb29nbGUtcGx1Zy1pbj90bXBsPW1hcmtkb3du) or [Create an account](/register) 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.062 seconds

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

[](#top)
