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

call getPrice only if channelPrice is not null #127

Merged
merged 2 commits into from
Jun 30, 2023

Conversation

Louzet
Copy link

@Louzet Louzet commented Jul 1, 2022

Method $channelPrice = $variant->getChannelPricingForChannel($channel); return a channelPricingInterface or null. Then we must check the value of $channelPricing before calling the method $channelPricing->getPrice()

@delyriand delyriand added the v1 label Aug 30, 2022
@delyriand delyriand removed their request for review November 10, 2022 10:54
@maximehuran maximehuran removed their request for review January 30, 2023 15:58
@delyriand delyriand changed the base branch from master to 1.x June 26, 2023 07:09
@delyriand delyriand changed the base branch from 1.x to master June 30, 2023 11:59
@maximehuran maximehuran removed the v1 label Jun 30, 2023
@delyriand delyriand removed the v1 label Jun 30, 2023
@maximehuran maximehuran changed the base branch from master to 1.x June 30, 2023 12:13
@maximehuran maximehuran merged commit 2f0058f into monsieurbiz:1.x Jun 30, 2023
@maximehuran
Copy link
Member

Thank you @Louzet 🚀

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

Successfully merging this pull request may close these issues.

None yet

4 participants