Skip to content

Conversation

@altairis-noe
Copy link

This continues what I began in #125, and adds the possibility to get discount rate and discounted subprice from product and thirdarty ID.

I took the liberty to complement the DiscountRule::fetchByCrit() method in order to allow an answer with empty parameters.

Hope you will like it.

- retrieves discount rate and discounted price for product-company combination
- fix DiscountRule::fetchByCrit() method to allow correct treatment if all arguments are not provided
@altairis-noe
Copy link
Author

In addition I completed the _cleanObjectDatas() method

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.

1 participant