(a) All civil actions against corporations may be brought in any of the following counties:
(1) In the county in which a substantial part of the events or omissions giving rise to the claim occurred, or a substantial part of real property that is the subject of the action is situated; or
(2) In the county of the corporation's principal office in this state; or
(3) In the county in which the plaintiff resided, or if the plaintiff is an entity other than an individual, where the plaintiff had its principal office in this state, at the time of the accrual of the cause of action, if such corporation does business by agent in the county of the plaintiff's residence; or
(4) If subdivisions (1), (2), or (3) do not apply, in any county in which the corporation was doing business by agent at the time of the accrual of the cause of action.
(b) The residence of only any properly joined named class representative or representatives may be considered in determining proper venue in a class action. The residency of any putative or actual member of a class other than a named representative shall not be considered in determining proper venue for a class action.
(c) Anything to the contrary in Rule 82(c) of the Alabama Rules of Civil Procedure notwithstanding, in any action against a corporation, venue must be proper as to each and every named plaintiff joined in the action, unless the plaintiffs shall establish that they assert any right to relief jointly, severally, or arising out of the same transaction or occurrence and that the existence of a substantial number of questions of law or material fact common to all those persons not only will arise in the action, but also: (1) that such questions will predominate over individualized questions pertaining to each plaintiff; (2) the action can be maintained more efficiently and economically for all parties than if prosecuted separately; and (3) that the interest of justice supports the joinder of the parties as plaintiffs in one action. If venue is improper for any plaintiff joined in the action, then the claim of any such plaintiff shall be severed and transferred to a court where venue is proper. In the event severance and transfer is mandated and venue is appropriate in more than one court, a defendant sued alone or multiple defendants, by unanimous agreement, shall have the right to select such other court to which the action shall be transferred and, where there are multiple defendants who are unable to agree upon a transferee court, the court in which the action was originally filed may transfer the action to any such other court. Transfer of the action and notice thereof shall be in accord with Section 6-3-22.
(d) Notwithstanding Section 6-3-10, or any local laws relating to venue, in any county having two courthouses, the divisions shall be treated as two separate judicial districts for purposes of venue and for purposes of any change or transfer of venue, unless the jury venire is drawn from throughout the entire county.