Adds a new array parameter to the getConditions method allowing conditions to be retrieved as an array
Resets indexes on conditions properly
I'm not sure if resetting the indexes on conditions properly is a breaking change or not. It makes no sense that anyone is using the indexes in such a way where when they remove the first cart condition, they would still expect the second one to be at index 1, instead of 0, but let me know if this PR is breaking.
array
parameter to thegetConditions
method allowing conditions to be retrieved as an arrayI'm not sure if resetting the indexes on conditions properly is a breaking change or not. It makes no sense that anyone is using the indexes in such a way where when they remove the first cart condition, they would still expect the second one to be at index 1, instead of 0, but let me know if this PR is breaking.