Product Offer JSON-LD Stays Schema.org/Discontinued Despite Inventory In Stock (EasyStore 2.1.0) - Question | JoomShaper

is live, now with multi-currency selling.

Product Offer JSON-LD Stays Schema.org/Discontinued Despite Inventory In Stock (EasyStore 2.1.0)

Y

Yan

EasyStore 5 days ago

Hello JoomShaper Support,

We need help with Product Offer availability in EasyStore’s automatic Product Schema on a live product.

Environment

Symptom

The static Product JSON-LD Offer on the front-end still emits:

This is visible in a plain curl of the HTML (server-rendered), not only in the browser.

Inventory / admin state (read in EasyStore product editor)

  • Status: Published
    • Track Quantity: ON
    • Stock Quantity: 1
    • Continue selling when out of stock: OFF
    • Regular price 329.00 with discount → effective front price 309
    • There is NO native “Discontinued” / schema availability / AI Search / “View generated data” field or tab in the product editor on 2.1.0
    • EasyStore Settings → Products has no schema availability mapping

Question

  1. Which field (or EasyStore version) maps to Offer.availability in the automatic Product Schema?
    1. How do we make this product emit https://schema.org/InStock in the static JSON-LD without a custom plugin or template PHP override?
    1. Is Discontinued expected when Track Quantity is on and Stock Quantity is 1? If so, what is the correct native configuration?

We are intentionally not installing a custom system plugin to rewrite schema.

Thank you.

0
3 Answers
Ziaul Kabir
Ziaul Kabir
Accepted Answer
Support Agent 5 days ago #233668

Hi,

Thank you for the detailed report.

Could you please let us know exactly where you are seeing the following schema value?

"availability": "schema.org/Discontinued"

I checked the product details page you provided:

https://pmxboard.com/shop/project-management-board-sets/portfolio-management-board-set

and the Product Schema currently appears to be generated correctly on the page. Please see the screenshot here:

https://prnt.sc/d13ACSKUfPAO

Could you please share a screenshot or the exact source/section where you are seeing Discontinued in the generated schema? This will help us reproduce and investigate the issue further.

Thank you.

0
Y
Yan
Accepted Answer
4 days ago #233767

Hi Ziaul — thanks. Discontinued is in the server-rendered EasyStore Product ld+json, not only overlays. Curl of #45 still has "availability":"https:\/\/schema.org\/Discontinued". EasyStore JS also builds Offer via isOutOfStock() ? OutOfStock : InStock, which can look correct in-browser while static schema stays wrong. Same bug on buyable IDs 43, 42, 51, 45, 46; controls InStock: 77, 78, 66, 74, 44. Please advise native mapping / fix for static Offer.availability without a custom plugin.

0
Ziaul Kabir
Ziaul Kabir
Accepted Answer
Support Agent 4 days ago #233784

We’ve identified this issue and will include the fix in our next release.

Thank you for your support and understanding.

0