Skip to content

Respect store view values #41

Description

@pointia

When this module is configured on a website scope that module does not work.

Solution: respect store view scopes in app/code/Netopia/Netcard/Block/Redirect.php

code is:

public function getConfigData($field)
{
$str = 'payment/net_card/'.$field;
return $this->_scopeConfig->getValue($str);
}

should be:

public function getConfigData($field)
{
    $str = 'payment/net_card/'.$field;
    return $this->_scopeConfig->getValue($str, \Magento\Store\Model\ScopeInterface::SCOPE_STORE);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions