I have a basic commerce shop setup and I need to recalculate the price based on the delivery region within the country.
The first approach I tried was to add a list field for the customer profile type and defined various regions. The idea was to recalculate the price based on the selected region and the current total price with the price resolver, the problem was I couldn't access the custom added field value, after the information had been entered in the order information form.
I should note that all purchases would be make by guest accounts.
Is it possible to access this information that way?
I'm currently looking at the shipping module but it seems it doesn't really support this approach because it's more oriented towards characteristics such as weight and dimensions.
Any advice on how to tackle this issue?
I'm using Drupal 8.