falcon icon indicating copy to clipboard operation
falcon copied to clipboard

🐛 [BUG] - Some fix to do for the Product microdata

Open maofree opened this issue 6 months ago • 6 comments

Description

Hi now I've seen that it is necessary to do some fixes for the Product microdata

these are missing: priceValidUntil itemCondition

for priceValidUntil I used this solution <meta itemprop="priceValidUntil" content="{"+1 year"|date_format:"%Y-%m-%d"}">

these are new requested microdata hasMerchantReturnPolicy shippingDetails

12 11

looking into StructuredDataProductPresenter.php I have seen that priceValidUntil and itemCondition have some condition

to priceValidUntil it is necessary to set my suggestion if not present a specific price because google needs that info for itemCondition it should be https://schema.org/NewCondition if the first condition is not accepted

many websites are without the stock management active

for this moment I've fixed so

111

Node.js version

v16

php version

8.1

OS and it's version

linux

Browsers

Chrome

Required module/theme

theme

Reproduction steps

1. Look a product page from Google search console or from validator.schema.org

Logs

No response

maofree avatar Dec 11 '23 23:12 maofree