The problem of full discount on shopping carts

the shopping cart aggregate function has been completed. At present, the design is to find the DOM layer to deal with. If there is a fully reduced DOM layer, the full reduction is calculated, and the discount is calculated for the DOM layer with a discount. However, there are several possibilities: there is a full reduction with a discount, or it appears alone, or there is no

.
Mar.15,2021

so what's your problem? In fact, these data should be calculated in the background, and the front end can directly access the results of the request data. If you have a good front end, don't you have to do it again in the background? Without calculation, what if the front end is changed to 0.01 and sent to the background? )


has been processed by the backend

Menu