Skip to content

use max/min price from product price object#260

Merged
Marvin-Magmodules merged 1 commit intomagmodules:masterfrom
sanderjongsma:patch-2
Jan 13, 2026
Merged

use max/min price from product price object#260
Marvin-Magmodules merged 1 commit intomagmodules:masterfrom
sanderjongsma:patch-2

Conversation

@sanderjongsma
Copy link
Contributor

@sanderjongsma sanderjongsma commented Jan 7, 2026

I also came across this bug: #201. While it can be considered a Magento bug, I think it’s better to use the price model to get the min/max price. This does not check for out-of-stock products and simply returns prices based on the bundle options.

The reason I think this is better is that you don’t want sales channels to show an incorrect price, even if a child item is out of stock and therefore the entire bundle is out of stock.

I added an extra check for dynamic pricing, since that’s the only case where the min/max price is relevant.

@Frank-Magmodules
Copy link
Member

Thanks @sanderjongsma!
We’ll take a thorough look at this on our side and come back to you with an update.
Really appreciate the effort you’ve put in so far!

@Marvin-Magmodules Marvin-Magmodules mentioned this pull request Jan 12, 2026
@Marvin-Magmodules Marvin-Magmodules merged commit 0192664 into magmodules:master Jan 13, 2026
11 checks passed
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.

3 participants