|$NaN is displayed as the shipping method
See original GitHub issueSteps to reproduce the issue
- In Magento set only one of Shipping Methods enabled (but not Flat Rate), for example enable: Table Rate
- Add any product to cart and go to checkout
- Fill in all required fields, but don’t choose shipping method!
- Click “Continue to payment”
Current behavior
Customer is able to continue, without choosing shipping method. |$NaN is displayed as shipping method
Expected behavior
If only one shipping method is available, then it should be chosen by default.
Repository
Can you handle fixing this bug by yourself?
- YES
- NO
Which Release Cycle state this refers to? Info for developer.
Pick one option.
- This is a bug report for test version on https://test.storefrontcloud.io - In this case Developer should create branch from
develop
branch and create Pull Request2. Feature / Improvement
back todevelop
. - This is a bug report for current Release Candidate version on https://next.storefrontcloud.io - In this case Developer should create branch from
release
branch and create Pull Request3. Stabilisation fix
back torelease
. - This is a bug report for current Stable version on https://demo.storefrontcloud.io and should be placed in next stable version hotfix - In this case Developer should create branch from
hotfix
ormaster
branch and create Pull Request4. Hotfix
back tohotfix
.
Environment details
- Browser: Chrome 73.0.3683.103
- OS: Windows 10 Pro
- Code Version: v1.9.0
Additional information
Issue Analytics
- State:
- Created 4 years ago
- Comments:16
Top Results From Across the Web
$NaN is displayed as the shipping method · Issue #2881
In Magento Panel, set Table Rate Shipping Method enabled; Add any product to cart and go to checkout; Fill in all required fields...
Read more >$NaN error in shopping cart
when I go to check out and select a shipping method or a payment method, the Goods Total and Total Order cost displays...
Read more >javascript - Always display total and stop from displaying NaN
I'd like it to keep a running total and just display the placeholder but unless I put the value of the inputs to...
Read more >Calculate variables.....giving me NAN - ServiceNow Community
Solved: function onSubmit() { //Type appropriate comment here, and begin script below var val_1 = ''; var val_2 = ''; var val_3 =...
Read more >How to display the shipping method in a Dropdown ... - YouTube
WooCommerce Shipping Display Mode plugin provides you an interface in the WooCommerce setting section from the admin side.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
yeah, it works! I checked tablerates.csv file and I chose specific country and I placed the order without errors! 😃
@pkarw please do not close issues with not merged PRs