Page 1 of 1
schema.org message
Posted: Thu Mar 07, 2024 6:53 am
by Joel
Hi,
I just tested my first rich snippet and that's the message I got. To say I don't comprehend would be an understatement. Please help
"The property position is not recognised by the schema (e.g. schema.org) for an object of type Product."
https://www.mediafire.com/file/k43f2r5w ... 1.wbs/file
Re: schema.org message
Posted: Thu Mar 07, 2024 7:12 am
by Pablo
Where exactly do you get this message?
Re: schema.org message
Posted: Thu Mar 07, 2024 7:24 am
by Joel
Re: schema.org message
Posted: Thu Mar 07, 2024 8:22 am
by BaconFries
Please read from ProductID as a quick look at the html you have not included anything
https://schema.org/Product
Re: schema.org message
Posted: Thu Mar 07, 2024 8:43 am
by Pablo
As BaconFries said, you cannot leave the ProductID empty.
Re: schema.org message
Posted: Thu Mar 07, 2024 9:33 am
by Joel
You're not talking about WYSIWYG object ID, are you?
Because I tried that and it still isn't working
Re: schema.org message
Posted: Thu Mar 07, 2024 10:19 am
by Pablo
The online page is different than the project you have shared.
In the online page you have added custom code at the end of the page. The error applies to that code!
Re: schema.org message
Posted: Thu Mar 07, 2024 12:31 pm
by Joel
Please, help me out as this is the first time I'm doing it and I really don't understand html much.
This is the page:
https://baretouch.au/blonde-hair-oil-masque.html
Which is the custom code you are talking about? Can you paste it here?
Re: schema.org message
Posted: Thu Mar 07, 2024 1:49 pm
by Pablo
This code:
Code: Select all
<!-- Inserted by https://cdn.shoprocket.io/main.bundle.js?v=1709813930 -->
<script type="application/ld+json">
{"@context":"http://schema.org","@type":"ItemList","itemListElement":[{"@type":"Product","position":1,"url":"https://baretouch.au/#!/blonde-hair-masque","name":"BLONDE HAIR MASQUE","description":"","image":"65e5643594ab3896909798-baretouch_blonde_hair_masque_front.png","offers":{"@type":"Offer","priceCurrency":"AUD","price":133,"availability":"http://schema.org/InStock"}}]}</script>
Re: schema.org message
Posted: Thu Mar 07, 2024 2:15 pm
by Joel
Thank you but I still don't know what I need to correct.
First of all, I did not add any custom code as I do not touch html; I could only add an object or a plug in.
Secondly, I cannot see an error because I don't know html.
I'd appreciate if you could tell me exactly what to change and to what.
Re: schema.org message
Posted: Thu Mar 07, 2024 2:20 pm
by Pablo
The code was not added by WYSIWYG Web Builder, so either you or someone/something else has added it to the page.
The code is not in the project you have shared.
But maybe this will give you a clue?
Code: Select all
<!-- Inserted by https://cdn.shoprocket.io/main.bundle.js?v=1709813930 -->
Re: schema.org message
Posted: Thu Mar 07, 2024 2:22 pm
by alan_sh
It looks like you've added a shopping system from here
https://shoprocket.io/ and it has errors in it.
Alan
Re: schema.org message
Posted: Sat Mar 09, 2024 1:17 am
by Joel
It doesn't look like it is the shoprocket code causing the problem.
I uploaded a new project, with just one page without shoprocket
https://www.baretouch.au/
There is no shoprocket code here.
and got the same message
https://validator.schema.org/#url=https ... ouch.au%2F
Any idea why?
Re: schema.org message
Posted: Sat Mar 09, 2024 2:10 am
by Joel
Sorry, it still is
Re: schema.org message
Posted: Sat Mar 09, 2024 7:28 am
by Pablo
I do no see any errors on this page.
However, the page does contain shoprocket code!
To test this reliably, please remove all custom code.