Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

Release date (pre-order) keeps being cached #400

Open
shyim opened this issue Dec 15, 2021 · 0 comments
Open

Release date (pre-order) keeps being cached #400

shyim opened this issue Dec 15, 2021 · 0 comments

Comments

@shyim
Copy link

shyim commented Dec 15, 2021

Description:

When you set a release date for a product in the future, the pre-order notification and meta field are not removed once time passes that release date.

The detail page is cached the moment you saved release date and isn't rebuild/cleared once the set release date has passed.
Only by clearing cache or updating the product the cache is cleared and the alert and meta field is removed.

Example of the alert: "This product will be released on 6 October 2020"

The meta field: <link itemprop="availability" href="http://schema.org/PreOrder"/>

**Steps to reproduce: **

  1. Set a release date for a product in the future with caching enabled (like a production environment)
  2. Visit product detail page of that product
  3. Wait for release date to pass
  4. Refresh the detail page

Expected result:

The pre-order alert and meta field is removed

**Actual result: **

The alert and meta field are still there

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant