Product is not getting expired by its own
How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!
While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.
Legacy Article
You are viewing an article from our legacy "FastTrack"
publication program, made available for informational purposes. Articles
in this program were published without a requirement for independent
editing or verification and are provided"as is" without
guarantee.
Before using any information from this article, independently verify its
suitability for your situation and project.
Issue
- The product status is not getting changed to Expire.
-
Steps to reproduce:
Navigate to Control Panel → Instance Settings. Then, navigate to Localization → Time Zone.
Navigate to Control Panel> Users and Organization> Select your user (test user in this case)> Preferences> Display Settings> Change time zone
Navigate to Control Panel → System Settings. Once there, navigate to Catalog → Products. Changed the Check Interval value and click Save.
Navigate to Control Panel> Commerce> Product Management> Products>
1) Create a Simple product
2) Publish it
3) Edit the expiry date
4) Expiry date has passed
Expected Behavior: Product status should change to Expiry
Observed Behavior: The status remains unchanged, and the product is approved
Environment
- Liferay DXP 7.4 update 72 and below
- Commerce 4.0
Resolution
- Observed behavior is a well-known concern that has been addressed in dxp-7.4-update-76
- This concern was addressed as part of LPS-177961
Did this article resolve your issue ?