logo
Welcome to our new AbleCommerce forums. As a guest, you may view the information here. To post to this forum, you must have a registered account with us, either as a new user evaluating AbleCommerce or an existing user of the application. For all questions related to the older version of Gold and earlier, please go to AbleCommerce Gold forum. Please use your AbleCommerce username and password to Login. New Registrations are disabled.

Notification

Icon
Error

Options
Go to last post Go to first unread
ray22901031  
#1 Posted : Monday, July 1, 2024 5:24:07 AM(UTC)
ray22901031

Rank: Advanced Member

Groups: Authorized User, Developers
Joined: 2/17/2019(UTC)
Posts: 909

Thanks: 3 times
Was thanked: 15 time(s) in 15 post(s)
Although it will check out fine using Google Schema Checker, Please look at the picture enclosed in this email. Because the GTIN, UPC, or ISBN was left blank, it did not return the property name and created confusion with one of my Schema checkers.

A property name should always be returned even if its value is blank.

I have updated the database, so the GTIN field is the same value as the SKU.

Schema-org.jpg (120kb) downloaded 5 time(s).

Wanna join the discussion?! Login to your AbleCommerce Forums forum account. New Registrations are disabled.

Katie S  
#2 Posted : Monday, July 1, 2024 6:49:58 PM(UTC)
Katie S

Rank: Advanced Member

Groups: System, Administrators, Developers, Registered, HelpDesk
Joined: 10/29/2018(UTC)
Posts: 471

Thanks: 4 times
Was thanked: 34 time(s) in 33 post(s)
Hi Ray,

It may not be that simple. If the GTIN field is blank and Google Schema checker doesn't complain, then it may not be appropriate to use something that is not a valid GTIN.

If we tried to fix this how you are suggesting, I am worried it could cause some confusion.

This might be one of those cases that would be better to document.
Thanks for your support!

Katie
Secure eCommerce Software and Hosting
ray22901031  
#3 Posted : Monday, July 1, 2024 7:04:10 PM(UTC)
ray22901031

Rank: Advanced Member

Groups: Authorized User, Developers
Joined: 2/17/2019(UTC)
Posts: 909

Thanks: 3 times
Was thanked: 15 time(s) in 15 post(s)
It's a lot easier than you think. If there is no value, don't display it in the first place. You are allowed to have a null value, but it must reference a property. The problem with the way you are using the view file is that you're not even displaying the property. That's the heart of the problem. You are allowed to display a property with no value; you just choose to display an empty blank, which is confusing to a few checkers to complain.

Take the property "color." Right now, it's displaying a null value, but the property name is being displayed. Why should any other property be different?

You need to be consistent.


It's really not that complicated. Since we never use this property, I'll probably just remove it from the view file.

Edited by user Monday, July 1, 2024 7:05:20 PM(UTC)  | Reason: Not specified

Katie S  
#4 Posted : Monday, July 1, 2024 7:39:34 PM(UTC)
Katie S

Rank: Advanced Member

Groups: System, Administrators, Developers, Registered, HelpDesk
Joined: 10/29/2018(UTC)
Posts: 471

Thanks: 4 times
Was thanked: 34 time(s) in 33 post(s)
Ok, I understand now what you are saying. I'll report the issue. It's trivial and should be easy to fix.

Thanks for clarifying!
Thanks for your support!

Katie
Secure eCommerce Software and Hosting
ray22901031  
#5 Posted : Wednesday, July 3, 2024 5:23:55 AM(UTC)
ray22901031

Rank: Advanced Member

Groups: Authorized User, Developers
Joined: 2/17/2019(UTC)
Posts: 909

Thanks: 3 times
Was thanked: 15 time(s) in 15 post(s)
Hi Katie,

This is to let you know that we've removed this line item from the view file. We don't use this attribute, and populating the field with the SKU was a mistake. Google did not like that at all.

Thanks for your help.

-Ray
Katie S  
#6 Posted : Wednesday, July 3, 2024 10:00:48 AM(UTC)
Katie S

Rank: Advanced Member

Groups: System, Administrators, Developers, Registered, HelpDesk
Joined: 10/29/2018(UTC)
Posts: 471

Thanks: 4 times
Was thanked: 34 time(s) in 33 post(s)
Hi Ray,

Thanks for letting me know.

Thanks for your support!

Katie
Secure eCommerce Software and Hosting
Users browsing this topic
Guest (3)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.