Product JSON endpoints missing data on compare_at_price field

Topic summary

Product JSON endpoints and the JS cart are not returning compare_at_price (original/strike-through price) for products, while other product fields load; inventory is also not included as expected.

Environment behavior differs between reports:

  • One user: compare_at_price appears locally when running theme dev via CLI, but is missing in production.
  • Another user: compare_at_price is missing in both production and theme dev.

Additional observation: compare_at_price is visible on the product detail page data, suggesting the omission is specific to the JSON/js endpoints rather than the product data itself. A screenshot was shared to illustrate the discrepancy.

Status: Treated as a likely bug; participants are seeking confirmation from others. No workaround or fix has been provided, and no official acknowledgement is noted. The issue remains open/ongoing.

Summarized with AI on January 16. AI used: gpt-5.

The js/json endpoints for products apparently do not load the compare_at_price field values, but do everything else about the product (except inventory).

Interestingly, when running the theme locally with the CLI theme dev command, this data correctly loads on the JSON, but on production it doesn’t.

It appears to be a bug, anyone else experienced this?

im seeing this too with the js cart. i dont get back a compare_at_price for my product. this is both on production and using the cli theme dev. I can however see this data on the product-detail info