Custom service - packaging

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
snicto
Posts: 37
Joined: 12 Oct 2022, 14:00

Custom service - packaging

Post by snicto » 26 Oct 2022, 18:14

Laravel: 2022.10
PHP: 8.1

Ok, I require that a customer can choose a custom packaging type for the order (cardboard box or paper bag), and each comes with a separate price. Since this is not really related to delivery service providers, since it is separate and does not relate to actual delivery providers themselves. I was thinking, this requires a separate service provider altogether, however, I am unable to find valid documentation on this. Is there a sample implementation or documentation I have missed, which could enlighten me more?

Thanks in advance!

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

Re: Custom service - packaging

Post by aimeos » 27 Oct 2022, 15:00

Should the custom chose the packaging type per product or once in the checkout?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

snicto
Posts: 37
Joined: 12 Oct 2022, 14:00

Re: Custom service - packaging

Post by snicto » 31 Oct 2022, 14:20

Once per order.

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

Re: Custom service - packaging

Post by aimeos » 01 Nov 2022, 08:06

In that case, a decorator for the service providers would be the best option to allow the customer to choose at the delivery page:
https://aimeos.org/docs/latest/provider ... ecorators/

You can have a look at the existing ones as examples:
https://github.com/aimeos/aimeos-core/t ... /Decorator
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

snicto
Posts: 37
Joined: 12 Oct 2022, 14:00

Re: Custom service - packaging

Post by snicto » 01 Nov 2022, 15:54

Ok, I will look into it, thanks

Post Reply