Custom service - packaging
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!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Custom service - packaging
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!
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!
Re: Custom service - packaging
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, give us a star
If you like Aimeos, give us a star
Re: Custom service - packaging
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
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, give us a star
If you like Aimeos, give us a star
Re: Custom service - packaging
Ok, I will look into it, thanks