Closed mahdirezaei-dev closed 4 months ago
Is there any problem that you did not accept ?🤔 @fulopattila122
Thanks a lot! Will be released along with v4.1
I've amended the methods a little bit to avoid confusion:
priceGreaterThan
uses the >
operator instead of >=
priceLessThan
uses the <
operator instead of <=
priceGreaterThanOrEqualTo
method: uses the >=
comparisonpriceLessThanOrEqualTo
method uses the <=
comparisonThis complies with PHP standard operator naming: https://www.php.net/manual/en/language.operators.comparison.php
I created a filter to search for products based on price by 3 methods:
After that, I wrote some tests to check the performance of the methods