Skip to content

Conversation

@Jade-GG
Copy link
Collaborator

@Jade-GG Jade-GG commented Dec 11, 2025

This PR implements simple unit tests for tier prices. I've also modified the functionality of the ->getPrice(...) function to take the price or specialPrice in case they're lower (or return null if they're all null, but this should probably never happen?)

ref: RAP-1693

Copy link
Member

@royduin royduin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good to me. Just to clarify, those methods are just "some helpers" in case we need to show the tierprice somewhere? We're not actually showing it currently anywhere? Should we create follow-up for that? I think Magento will render something on a product page when it's configured?

@royduin
Copy link
Member

royduin commented Dec 12, 2025

Follow-up: RAP-1712

@royduin royduin merged commit 998b124 into master Dec 12, 2025
13 of 15 checks passed
@royduin royduin deleted the feature/test-tier-prices branch December 12, 2025 12:33
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