nopCommerce
  • Product
    • Store demo
    • Showcase
    • Features
    • Why for developers
    • Why for store owners
  • Downloads
    • Download nopCommerce
    • Marketplace
    • Translations
    • Copyright removal key
  • Support & services
    • Documentation
    • Community forums
    • Premium support services
    • Request a quote
    • Contact us
  • Partners
Back
  • Product
    • Store demo
    • Showcase
    • Features
    • Why for developers
    • Why for store owners
  • Downloads
    • Download nopCommerce
    • Marketplace
    • Translations
    • Copyright removal key
  • Support & services
    • Documentation
    • Community forums
    • Premium support services
    • Request a quote
    • Contact us
  • Partners
  • 0
    • Log in
    • Register
Get started

Profile: fetchjon

  • Profile Info
  • Latest Posts
fetchjon
Gold Solution Partner
Certified Developer
Statistics
United Kingdom
2
10
Friday, May 16, 2014 10:21 AM
Send private message
Exception thrown deleting last item from order
nopCommerce version: 4.2

Steps to reproduce the problem:

Place an order with a single item
visit the admin order management page for that order.
Delete the single line item

An exception is thrown in OrderTotalCalculationService.UpdateOrderTotals because the customer is null. This is because in the OrderProcessingService.UpdateOrderTotals method, the restored cart has no items in it, so there is no way to get a customer record

This can be simply fixed. Instead of trying to get the customer from restored cart, in OrderTotalCalculationService.UpdateOrderTotals, get it from the order:

customer = updateOrderParameters.UpdatedOrder.Customer;
4 months ago
GDPR Compliance with NopCommerce
I've tried to download the GDPR plugin from T Motions and I just get a network error.

I've emailed them to fix it, so we'll see how they respond
1 year ago
Product
  • Get started
  • Store demo
  • Showcase
  • Case studies
  • Features
  • Why for developers
  • Why for store owners
Download
  • Download nopCommerce
  • Marketplace
  • Translations
  • Release notes
  • Copyright removal key
  • License
Support & services
  • Documentation
  • Community forums
  • Premium support services
  • Request a quote
Community
  • Contribute
  • Certified developer program
  • MVP program
  • Blog
Partners
  • Solution partners
  • Technology partners
  • Recommended hosting
  • Become a partner
Company
  • Advertise with us
  • About us
  • Contact us
  • Facebook
  • Twitter
  • LinkedIn
  • YouTube
  • Instagram
Copyright © 2008-2019 nopCommerce. All rights reserved. Privacy policy