Google says New products issues, detected missing field "name"

  • Posts: 173
  • Thank you received: 8
  • Hikashop Essential
4 years 6 months ago #323859

-- HikaShop version -- : 4.3.0
-- Joomla version -- : latest
-- PHP version -- : 7.2
-- Browser(s) name and version -- : Chrome Latest
-- Error-message(debug-mod must be tuned on) -- : Google says New products issues, detected missing field "name"

Google says New products issues, detected missing field "name", I have done a lot of mods to the views. I guess I have removed the required field at some point as I am only using the Characteristics.

Where is the field "name" for the Schema.org located so I can try and re-instate it s there doesn't seem to be any documentation that I can find?

Many thanks

Ian

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

  • Posts: 4816
  • Thank you received: 654
  • MODERATOR
4 years 6 months ago #323873

Hello,

The best place to have information about Micro data structure is the Google documentation : Here .
Hope this will allow you to progress on your subject.
Regards

Last edit: 4 years 6 months ago by Philip.

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

  • Posts: 173
  • Thank you received: 8
  • Hikashop Essential
4 years 6 months ago #323897

Hello Philip,
I have already been there, I was just asking the question as to where in the product views the name field was so I could re-install the field name.
Regards
Ian

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

  • Posts: 83407
  • Thank you received: 13500
  • MODERATOR
4 years 6 months ago #323925

Hi,

By default, it's at the beginning of the show_default.php view file, with the code:

<span id="hikashop_product_name_main" class="hikashop_product_name_main" itemprop="name"><?php
			if(hikashop_getCID('product_id') != $this->element->product_id && isset($this->element->main->product_name))
				echo $this->element->main->product_name;
			else
				echo $this->element->product_name;
		?></span>
You can see there the text itemprop="name".

The following user(s) said Thank You: ianspeed

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

  • Posts: 173
  • Thank you received: 8
  • Hikashop Essential
4 years 6 months ago #323936

Thank you Nicolas!
just what I was looking for.

All the best,

Ian

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

Time to create page: 0.068 seconds
Powered by Kunena Forum