-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Special Price To Date is wrongly validated on applySpecialPrice #39169
Comments
Hi @tcoluke. Thank you for your report.
Join Magento Community Engineering Slack and ask your questions in #github channel. |
@magento give me 2.4-develop instance |
Hi @tcoluke. Thank you for your request. I'm working on Magento instance for you. |
Hi @tcoluke, unfortunately there is no ability to deploy Magento instance at the moment. Please try again later. |
@magento give me 2.4-develop instance |
Hi @tcoluke. Thank you for your request. I'm working on Magento instance for you. |
Hi @tcoluke, unfortunately there is no ability to deploy Magento instance at the moment. Please try again later. |
Hi @engcom-Bravo. Thank you for working on this issue.
|
@magento give me 2.4-develop instance |
Hi @tcoluke. Thank you for your request. I'm working on Magento instance for you. |
Hi @tcoluke, unfortunately there is no ability to deploy Magento instance at the moment. Please try again later. |
@magento give me 2.4-develop instance |
Hi @tcoluke. Thank you for your request. I'm working on Magento instance for you. |
Hi @tcoluke, unfortunately there is no ability to deploy Magento instance at the moment. Please try again later. |
@engcom-Bravo are you working on it ? and can you also investigate why I can't get magento instance ? |
Preconditions and environment
Steps to reproduce
Use Rest API to set special price
/rest/default/V1/products/special-price
provide body like
then check your price on front-end
admin or whatever
your special price will be visible until tomorrow 17
so instead expire at 2024-09-12 17:00:00 it will expire on 2024-09-13 17:00:00
because of validation on Magento\Catalog\Model\Product\Type\Price::calculateSpecialPrice
instead of check in range from -> to
it add to end date 1 day
Magento\Framework\Stdlib\DateTime\Timezone::isScopeDateInInterval
maybe it can be used for other validation but for real not for calculateSpecialPrice it should be in range from -> to set by admin
Expected result
Product special price should expire on date set by admin or 3rd party system by REST API
Actual result
End date is missed and expire day after
Additional information
No response
Release note
No response
Triage and priority
The text was updated successfully, but these errors were encountered: