HotcakesCommerce / hotcakes-commerce-core

The core of the e-commerce part of the overall solution. This is an ecommerce shopping cart solution built on top of the DNN (DotNetNuke) CMS. Anyone can do commerce online now!
https://mmmcommerce.com
MIT License
69 stars 55 forks source link

SI: Updating rgProducts before deleting #475

Closed ismaelTartola closed 1 year ago

ismaelTartola commented 1 year ago

Related to Issue

Fixes #474

Description

The problem was caused by data inconsistency between the dictionary containing the products loaded form the setting and the information stored inside of the grid view object. I solve it by adding a extra call to the LoadItems method to force the grid to update before the product is deleted.

How Has This Been Tested?

Locally in my development environment

Screenshots (if appropriate):

Types of changes

Checklist: