Fatal Problems with Google Plug In !!!

  • Posts: 9
  • Thank you received: 0
  • Hikashop Business
10 years 7 months ago #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 < 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: 10 years 7 months ago by expressoshoppe. Reason: Better title.

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

  • Posts: 82683
  • Thank you received: 13338
  • MODERATOR
10 years 7 months ago #147869

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->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:

$xml.="\t".'<g:condition><![CDATA[ '.$plugin->params['condition'].' ]]></g:condition>'."\n";
by:
$xml.=$this->_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 or Create an account to join the conversation.

Time to create page: 0.058 seconds
Powered by Kunena Forum