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
judy at Web2Market  
#1 Posted : Tuesday, August 30, 2022 6:30:47 AM(UTC)
judy at Web2Market

Rank: Advanced Member

Groups: Developers
Joined: 11/7/2018(UTC)
Posts: 289

Thanks: 21 times
Was thanked: 5 time(s) in 5 post(s)
We're having warnings on one site for the product schema. The code has
"brand": {
"@@type": "Thing",
"name": "@Model.Brand"

Google is saying it should be "@@type":"Brand"
https://developers.googl.../structured-data/product

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

shaharyar  
#2 Posted : Tuesday, August 30, 2022 9:11:47 AM(UTC)
shaharyar

Rank: Advanced Member

Groups: Admin, Developers, Registered, HelpDesk, Authorized User
Joined: 10/5/2018(UTC)
Posts: 704

Thanks: 5 times
Was thanked: 113 time(s) in 112 post(s)
You are right. We need to fix this.
Thanks for pointing this out.

I am reporting this as an improvement.
judy at Web2Market  
#3 Posted : Tuesday, August 30, 2022 11:51:38 AM(UTC)
judy at Web2Market

Rank: Advanced Member

Groups: Developers
Joined: 11/7/2018(UTC)
Posts: 289

Thanks: 21 times
Was thanked: 5 time(s) in 5 post(s)
I found another issue that caused all but three of the products on this site to just get kicked off Google. The stock/availability status in the schema is not the same as is reflected in the Google feed for out of stock items.
InventoryManagerData inv = null;

inv is never populated so when you hit if(inv!=null), you don't hit the rest of the code

Also, please check bool allProductOptionsSelected = (optionChoices != null && optionChoices.Length == product.ProductOptions.Count);

allProductOptionsSelected is coming up false for products with no options.
shaharyar  
#4 Posted : Wednesday, August 31, 2022 3:02:08 AM(UTC)
shaharyar

Rank: Advanced Member

Groups: Admin, Developers, Registered, HelpDesk, Authorized User
Joined: 10/5/2018(UTC)
Posts: 704

Thanks: 5 times
Was thanked: 113 time(s) in 112 post(s)
This surely needs improvements. I am updating the existing bug report created.

Thanks for pointing this out!
Users browsing this topic
Guest
Similar Topics
Google product schema (AbleCommerce 9 Bug Reports)
by ray22901031 1/23/2024 10:59:36 PM(UTC)
Need to altered product schema (General Questions)
by ray22901031 1/20/2024 12:16:19 PM(UTC)
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.