Comments (3)
@juhanihaapala ... thanks for the PR
from magento2-custom-shipping-rate.
Could you provide more information on what you are trying to do
if you take a look at the FedEx module
public function getAllowedMethods()
{
$allowed = explode(',', $this->getConfigData('allowed_methods'));
$arr = [];
foreach ($allowed as $k) {
$arr[$k] = $this->getCode('method', $k);
}
return $arr;
}
<field id="allowed_methods" translate="label" type="multiselect" sortOrder="190" showInDefault="1" showInWebsite="1" showInStore="0" canRestore="1">
<label>Allowed Methods</label>
<source_model>Magento\Fedex\Model\Source\Method</source_model>
<can_be_empty>1</can_be_empty>
</field>
But if you take a look at Flatrate
/**
* @return array
*/
public function getAllowedMethods()
{
return ['flatrate' => $this->getConfigData('name')];
}
So what allows methods are you trying to use
from magento2-custom-shipping-rate.
I made pr what I mean
from magento2-custom-shipping-rate.
Related Issues (20)
- Different shipping amount charged than custom amount set HOT 4
- Custom Shipping Method is not saved when i click on set button HOT 2
- Price not reflecting chosen Custom Shipping rate on admin screen HOT 2
- Do you have a license? HOT 1
- Magento 2.3.1 compatibility
- Magento 1.9.4 your extension not working
- Not showing on frontend? HOT 1
- API support
- Release 1.6.7 HOT 2
- Custom Shipping Method is not saved when i click on set button HOT 1
- Invalid block issue HOT 1
- Custom Rate Input not showing HOT 1
- Issue in Installing on magento 2.2.0 HOT 17
- Create package and shipping label HOT 3
- Ability to sort shipping rates HOT 1
- No ability to set shipping $ value in admin until page refreshed HOT 9
- 'Unable to unserialize value.' Error after upgrading to latest version in 2.2.4 HOT 7
- free shipping coupon not working with this extension HOT 3
- Not supporting Multi Shipping HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from magento2-custom-shipping-rate.