Enable address changes in cart module
This commit is contained in:
@@ -45,8 +45,7 @@ class CartCustomerDetailsContainer extends Component {
|
|||||||
this.props.dispatch(fetchCartItems());
|
this.props.dispatch(fetchCartItems());
|
||||||
this.props.dispatch(setNextActionFct(this.handleNextAction));
|
this.props.dispatch(setNextActionFct(this.handleNextAction));
|
||||||
this.props.dispatch(setPrevActionFct(this.handlePrevAction));
|
this.props.dispatch(setPrevActionFct(this.handlePrevAction));
|
||||||
//this.props.dispatch(fetchProfileInfo(this.props.userInfo.wiaas_id_user));
|
this.props.dispatch(fetchProfileInfo(this.props.userInfo.wiaas_id_user));
|
||||||
this.props.dispatch(fetchProfileInfo());
|
|
||||||
this.props.dispatch(fetchCountries());
|
this.props.dispatch(fetchCountries());
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -192,7 +191,7 @@ class CartCustomerDetailsContainer extends Component {
|
|||||||
(profileInfo && !isProfileLoading) &&
|
(profileInfo && !isProfileLoading) &&
|
||||||
<ProfileAddressesContainer
|
<ProfileAddressesContainer
|
||||||
params={{location: 'cart', handleDeliveryChange: this.handleDeliveryChange, idSelectedDeliveryAddress: this.state.delivery.id}}
|
params={{location: 'cart', handleDeliveryChange: this.handleDeliveryChange, idSelectedDeliveryAddress: this.state.delivery.id}}
|
||||||
idUser={0}/>
|
idUser={this.props.userInfo.wiaas_id_user}/>
|
||||||
}
|
}
|
||||||
</Form>
|
</Form>
|
||||||
</div>
|
</div>
|
||||||
@@ -206,7 +205,7 @@ class CartCustomerDetailsContainer extends Component {
|
|||||||
<BillingAddressesContainer
|
<BillingAddressesContainer
|
||||||
idCompany={profileInfo.idCompany}
|
idCompany={profileInfo.idCompany}
|
||||||
params={{location: 'cart', handleBillingChange: this.handleBillingChange, idSelectedBillingAddress: this.state.billing.id}}
|
params={{location: 'cart', handleBillingChange: this.handleBillingChange, idSelectedBillingAddress: this.state.billing.id}}
|
||||||
idUser={0}/>
|
idUser={this.props.userInfo.wiaas_id_user}/>
|
||||||
}
|
}
|
||||||
</Form>
|
</Form>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -226,11 +226,6 @@
|
|||||||
.cart-address-box {
|
.cart-address-box {
|
||||||
margin-top: 2rem;
|
margin-top: 2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
#order-projects .actions-button, .add-address-btn, .address-icons {
|
|
||||||
opacity: 0.3;
|
|
||||||
pointer-events: none;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#cart-customer-main-information-container {
|
#cart-customer-main-information-container {
|
||||||
|
|||||||
Reference in New Issue
Block a user