Hi,
In addition to the regular shipping methods we're using, the client would like to give a discount (in % of the total order) for people who will pick up the order from the store.
Is that possible ? Could not find this option.
bool pickUpInStore = _shippingSettings.AllowPickUpInStore && _workContext.CurrentCustomer.GetAttribute<bool>(SystemCustomerAttributeNames.SelectedPickUpInStore, _storeContext.CurrentStore.Id);
bool pickUpInStore = _shippingSettings.AllowPickUpInStore && _workContext.CurrentCustomer.GetAttribute<bool>(SystemCustomerAttributeNames.SelectedPickUpInStore, _storeContext.CurrentStore.Id);
bool pickUpInStore = _shippingSettings.AllowPickUpInStore && _workContext.CurrentCustomer.GetAttribute<PickupPoint>(SystemCustomerAttributeNames.SelectedPickupPoint, _storeContext.CurrentStore.Id)!=null;