{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":115618301,"defaultBranch":"master","name":"Commerce_TableRates","ownerLogin":"modmore","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2017-12-28T11:49:44.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/4015540?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1678818623.955519","currentOid":""},"activityList":{"items":[{"before":"a76a671bfa58b7673489d7018fabea88c9048d34","after":"8edc3ea543d02a182b4f0e9ec83ab93e47fbadd7","ref":"refs/heads/master","pushedAt":"2023-03-14T18:30:22.334Z","pushType":"push","commitsCount":1,"pusher":{"login":"Mark-H","name":"Mark Hamstra","path":"/Mark-H","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/312944?s=80&v=4"},"commit":{"message":"Min compat increase","shortMessageHtmlLink":"Min compat increase"}},{"before":"e95c6e2cdbcfdc81fa6f1223582ff0c9742fa542","after":null,"ref":"refs/heads/003-tablerates-option-offered-if-no-matches","pushedAt":"2023-03-14T18:24:21.828Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"Mark-H","name":"Mark Hamstra","path":"/Mark-H","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/312944?s=80&v=4"}},{"before":"f5ef838bb93a94fc5dbb4ddad27d4e74ae67d2de","after":"a76a671bfa58b7673489d7018fabea88c9048d34","ref":"refs/heads/master","pushedAt":"2023-03-14T18:24:05.824Z","pushType":"push","commitsCount":10,"pusher":{"login":"Mark-H","name":"Mark Hamstra","path":"/Mark-H","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/312944?s=80&v=4"},"commit":{"message":"Limit the shipping method to when there is a match, and allow exact match on minimum weight to be accepted (#3, #4, #5)\n\nMerge remote-tracking branch 'origin/003-tablerates-option-offered-if-no-matches'\n\n* origin/003-tablerates-option-offered-if-no-matches:\n Revert method name change getDestinationOptions back to getMatchingOptions, and name new method getFilteredOptions. Also rename filterWeightMatchingOptions to filterWeightOptions to kind of match sort of.\n change weight condition from > to >= 0 so that a 1kg shipment meets a 1kg minimum, and so that a 0 shipment meets a 0 minimum (fix #4)\n Don't need to check whether the address exists yet or not here because we'll fall through to parent::getPriceForShipment() if there are no options; answered my own TODO question\n check whether a shipment has matching options in the tablerates set in isAvailableForShipment\n update getPriceForShipment to get the price using the getPriceFromOptions method\n add method to get the price from the last option of a tablerates option set in int form\n add replacement getMatchingOptions method that first gets matches by destination then filters by condition and returns array of options\n add new filterWeightMatchingOptions method to filter options that match by weight of shipment\n Rename getMatchingOptions to getDestinationOptions (we'll re-use getMatchingOptions to get ONLY the final matches)","shortMessageHtmlLink":"Limit the shipping method to when there is a match, and allow exact m…"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAADA1-deQA","startCursor":null,"endCursor":null}},"title":"Activity · modmore/Commerce_TableRates"}