How to configure and adapt Aimeos based shops as developer
Forum rules: Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
#5168 by stefanschnidar
30 Nov 2017, 11:17
Please be so kind to inform me how to setup delivery options with different price and countries

Example:
#1 Austria, Delivery POST, cost 8 EUR
#2 Germany, Delivery POST, cost 10 EUR
#3 USA etc, Delivery DHL, cost 29 EUR

Customer from Austria should only get the Option #1 (depending on his Austrian delivery address)

Problem is that the excludes and includes does not work and I always receive the wrong delivery option, only 1 or all together instead of 1 correct. Please be so kind to help me how to configure the decorator.

Thanks

PHP Version: 7.0
Aimeos Version: aimeos 2017.10
laravel 5.4
Env: LINUX/MAC
Attachments
decorator_delivery_DHL.jpg
decorator_delivery_DHL.jpg (113.38 KiB) Viewed 278 times
decorator_delivery.jpg
decorator_delivery.jpg (91.56 KiB) Viewed 278 times
#5176 by aimeos
01 Dec 2017, 10:01
Guess you have another delivery option for DE which is configured equivalently?
Your config seems to be OK, only the space character before "DE" in "country.delivery-exclude" of "POST AT" is incorrect.
#5182 by stefanschnidar
01 Dec 2017, 12:22
Thanks for your answer but it finally does not work as you see in my screenshot, I've used a US address. Therefore I should only get the option DHL and others should be hidden.
Attachments
billing_delivery_adr.png
billing_delivery_adr.png (25.6 KiB) Viewed 260 times
screen_US_delivery.png
screen_US_delivery.png (88.53 KiB) Viewed 261 times
#5186 by aimeos
01 Dec 2017, 15:54
You haven't added the "Country" decorator to your Provider. Click at the "+" at the end of the provider input field and select "Country" so the decorator is added.