Weight and Country Provider at Checkout

Questions around the TYPO3 integration and plugins
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Jeriously
Posts: 2
Joined: 30 Oct 2020, 13:12

Weight and Country Provider at Checkout

Post by Jeriously » 30 Oct 2020, 13:24

Hello community,

i want to create a shop where i can automatically change the shipping costs depending on the weigth of the order AND the location where it is beeing sent.
I found out that i have to set decorators. If i understood correctly I have to paste the decorators in the "provider" field of every service.

My solution was this:

Provider: "weight.min 0,weight.max 5000"
but this option is marked red, so it doesnt work.

I found this link (https://aimeos.org/docs/User_Manual/Adm ... rs#Country) but i don't really get where to put the decorators and where to configurate them.

If I past only "Weigth" into the provider field i get this message in the frontend: Class "\Aimeos\MShop\Service\Provider\Delivery\Weight" not available

I hope you can help me to solv my problem.

Jeremy

I'm using TYPO3 10.4.9 & Aimeos 20.7.4 & Windows 10

User avatar
aimeos
Administrator
Posts: 7882
Joined: 01 Jan 1970, 00:00

Re: Weight and Country Provider at Checkout

Post by aimeos » 31 Oct 2020, 09:55

Jeriously wrote: 30 Oct 2020, 13:24 I found out that i have to set decorators. If i understood correctly I have to paste the decorators in the "provider" field of every service.
Don't "paste" it into the provider field!
First select the type ("delivery") in the service panel, then the provider in the "Provider" field ("Standard" if you don't have a more specialized one). Finally, click on the plus sign right of the provider field to add the "Weight" and "Country" decotator to limit the availability of the delivery option.

It's also described in the docs here:
https://aimeos.org/docs/latest/manual/service-details/
Jeriously wrote: 30 Oct 2020, 13:24 I found this link (https://aimeos.org/docs/User_Manual/Adm ... rs#Country) but i don't really get where to put the decorators and where to configurate them.
This is the link to the new documentation:
https://aimeos.org/docs/latest/manual/s ... s/#country
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Jeriously
Posts: 2
Joined: 30 Oct 2020, 13:12

Re: Weight and Country Provider at Checkout

Post by Jeriously » 02 Nov 2020, 08:06

Hello aimeos,

thanks for the awesome help, everything works like I wanted to.

Jeremy

Post Reply