falcon
falcon copied to clipboard
🐛 [BUG] - Some fix to do for the Product microdata
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
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
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