update 5 files

temp
mahdi 2 years ago
parent 3246e1e894
commit fa0412dad8
  1. 1
      src/redux/reducers/userFactor.js
  2. 5
      src/views/ShoppingCart/index.js

@ -8,6 +8,7 @@ const initialState = {
checkEmpty: false, checkEmpty: false,
isVerified: null, isVerified: null,
}; };
export default function userFactor(state = initialState, action) { export default function userFactor(state = initialState, action) {
let { type, data } = action; let { type, data } = action;
switch (type) { switch (type) {

@ -287,6 +287,11 @@ function ShoppingCart({
value={productsLength ? factorInfo?.sumPrice : ""} value={productsLength ? factorInfo?.sumPrice : ""}
type="normal" type="normal"
/> />
<PriceStatus
name="هزینه حمل و نقل"
value={productsLength ? factorInfo?.transportPrice : 0}
type="error"
/>
<PriceStatus <PriceStatus
name="میزان تخفیف" name="میزان تخفیف"
value={productsLength ? factorInfo?.offPrice : ""} value={productsLength ? factorInfo?.offPrice : ""}

Loading…
Cancel
Save