Skip to content
This repository was archived by the owner on Feb 3, 2022. It is now read-only.
This repository was archived by the owner on Feb 3, 2022. It is now read-only.

query regarding rate result method loop #72

@joolswills

Description

@joolswills

in app/code/community/Meanbee/Royalmail/Model/Shipping/Carrier/Royalmail.php you have

            foreach ($allowedMethods as $allowedMethod) {
                foreach ($calculatedMethods as $methodItem) {
                    if ($allowedMethod[1] == $methodItem->shippingMethodNameClean) {

is that required ? I was testing with just a single loop

                foreach ($calculatedMethods as $methodItem) {

and that seemed to produce the same results ? (Or are there cases where it wouldn't )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions