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

Use new Commerce events to disable pricing catalog generation until the import is complete #1544

Closed
wants to merge 2 commits into from

Conversation

lukeholder
Copy link
Member

@lukeholder lukeholder commented Nov 13, 2024

Description

This will stop the pricing catalog from regen on every save of a variant and will run regen when the feed has finished processing.

Will work when the event lands in Commece: craftcms/commerce#3760

@lukeholder lukeholder marked this pull request as ready for review November 13, 2024 05:24
@lukeholder lukeholder marked this pull request as draft November 13, 2024 15:00
@lukeholder
Copy link
Member Author

@angrybrad decided to use the \yii\queue\Queue::EVENT_BEFORE_PUSH

@i-just
Copy link
Contributor

i-just commented Nov 14, 2024

After talking to @nfourtythree, closing in favour of #1547.

@i-just i-just closed this Nov 14, 2024
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

Successfully merging this pull request may close these issues.

2 participants