Missing field "price" schema.org

  • Posts: 173
  • Thank you received: 8
  • Hikashop Essential
4 years 3 days ago #330731

-- HikaShop version -- : 4.4.1
-- Joomla version -- : latest
-- PHP version -- : 7.4.16
-- Browser(s) name and version -- : Chrome Latest
-- Error-message(debug-mod must be tuned on) -- : Google search console - Products issues detected on www.thegoatcompany.co.uk/

Hi All,
Hope you're all well.
Haven't done any mods for a while now, but just started getting this after the last Hikashop update? I had tested previously and all was good, so don't know why Google is started finding errors?

Thanks

Ian

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

  • Posts: 4816
  • Thank you received: 654
  • MODERATOR
4 years 3 days ago #330737

hello,

Can you process some test with a default template like ProtoStar and make your returns ?
If that solve your issue 2 possibles explanations :
- There are some override (Main HikaShop => Display dropdown => Views)
- Or sometime your template can modify HikaShop Html and potentiallly leads to this kind of issue.

We test on our side from our test website and everything works as expected.
Awaiting your returns to be able to progress on your subject.

Regards

Last edit: 4 years 3 days ago by Philip.

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

  • Posts: 173
  • Thank you received: 8
  • Hikashop Essential
4 years 2 days ago #330762

Hi Philip,
I changed to ProtoStar, and yes every thing was okay, but that doesn't help me as since the last update of Hikashop Essential I'm now getting all these errors including "Invalid enum value in field "availability" Which is there on the current template and displays as "In stock" but is classed as an error also?

I don't know what to do next as I have looked at the views and the schema price is there in the views but missing in the displayed code?

Thanks
Ian

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

  • Posts: 173
  • Thank you received: 8
  • Hikashop Essential
4 years 2 days ago #330768

Hi Philip,

The latest version of Hikashop has broken the site, this is because the site still uses some views from 2.6.4 (2016), the latest change has altered a number of things. I have now changed all my views to add in the Price and changed the enumeration for "On Hand" and Out Of Stock to "OnHand" and OutOfStock" Which now validates everything okay

Guess this is a problem with still using the old views.

Thanks

Ian

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

  • Posts: 4816
  • Thank you received: 654
  • MODERATOR
4 years 1 day ago #330785

Hello,

Yes, glad to see that you have found the cause of the problem yourself, well done.
The default template test point is to be sure that the root issue don't come from HikaShop default file, that was just a first step to know where to look the root issue.

The first idea was the template, and secondly the HikaShop override view, the point with the override system is that as we keep your custom while updating (we have to proceed like this of course).
But as you point yourself, the counterpart is that suddenly sometime make recent views and files work together with old customized view can leads to this kind of issue.

Regards

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

Time to create page: 0.060 seconds
Powered by Kunena Forum