Workarea 3.1.38

Patch release notes for Workarea 3.1.38.

Update Products in Category After Rules Are Changed

Administrators had noticed in the past that the categories listing in the product does not always seem up-to-date with what is true on the storefront. This is because for categories where no product rules exist, the Workarea::IndexCategorization job does not run. Workarea now ensures that the category is removed before checking for product rules, removing it on the product's "Categories" list in the admin, and improving understandability for admin users. Additionally, a new IndexProductRule is enqueued whenever product rules change, updating categorization of products immediately when a rule is altered.

Issues

Pull Requests

Commits

Look Up Tax Rate Using First 5 Digits of US Postal Codes if No Exact Matches Found

Some address verification systems will automatically include the last 4 digits of a given postal code in the US, which can be problematic if tax tables do not include this information. When finding tax rates for a given postal code in the US, search the DB for the first 5 digits of the postal code in addition to the full passed-in value if there are no matches for the latter, since most tax tables don't include the last 4 digit suffix of a ZIP code.

Issues

Pull Requests

Commits

Now on GitHub