Skip to content
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

Does not work on Magento 2.4.6 #2

Open
chrisbadley opened this issue Apr 20, 2023 · 7 comments
Open

Does not work on Magento 2.4.6 #2

chrisbadley opened this issue Apr 20, 2023 · 7 comments

Comments

@chrisbadley
Copy link

Nice idea but it does not update the new_in attributed when the cron is run, no errors are displayed in log.

Thanks for your time creating the module anyway.

@avstudnitz
Copy link
Contributor

Can you add a few more details?

  • Which values do the base attributes news_from_date and news_to_date have?
  • Are you sure the cronjob is running?
  • What happens if you run n98-magerun sys:cron:run integernet_product_is_new_attribute?
  • Have you looked into the product on store view level?

@chrisbadley
Copy link
Author

Can you add a few more details?

  • Which values do the base attributes news_from_date and news_to_date have?
    Set Product as New From: 04/20/2023 Set Product as New To: 04/30/2023
  • Are you sure the cronjob is running?
    Yes they are all running, I also ran the group "default" manually
  • What happens if you run n98-magerun sys:cron:run integernet_product_is_new_attribute?
    I don't use n98 magerun
  • Have you looked into the product on store view level?
    Yes

@avstudnitz
Copy link
Contributor

Thanks.
Can you check tomorrow if the value is set this night? It might be an issue with wrong date interpretation.

@chrisbadley
Copy link
Author

Wouldn't that just be the same as setting it back one day and manually running it now?

@chrisbadley
Copy link
Author

Definitely doesn't work with Magento 2.4.6

Just in case it helps, here's some of my environment details:

Apache 2.4.53
PHP 8.1.17
MySQL 8.0.30

@avstudnitz
Copy link
Contributor

Wouldn't that just be the same as setting it back one day and manually running it now?

Yes, that would be the same. Thanks for ruling that out.

@chrisbadley
Copy link
Author

I ended up writing my own extension based off the created_at date + X days. Couldn't ever get this one working.

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

No branches or pull requests

2 participants