Skip to content

Problem with the delivery method inpostlocker_standardcod #9

@KarolLitman

Description

@KarolLitman

When placing an order on Hyvä using the inpostlocker_standardcod delivery method, the locker details are not saved in the order information.

Most likely, the issue can be resolved by simply adding the second delivery method to the if condition in the following file:

app/code/Snowdog/HyvaCheckoutInpost/Magewire/Locker.php

$shippingMethod = $this->session->getQuote()->getShippingAddress()->getShippingMethod();
if ($shippingMethod !== 'inpostlocker_standard' && $shippingMethod !== 'inpostlocker_standardcod') {
    return $resultFactory->createSuccess();
}

By including 'inpostlocker_standardcod' in the condition, the locker data should be properly processed for COD deliveries as well.

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