Default status "delivery"
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!
Default status "delivery"
Hi,
How do I change the default delivery status?
By default this is set to -1 in the file /Applications/MAMP/htdocs/snackup/vendor/aimeos/aimeos-core/lib/mshoplib/src/MShop/Order/Item
As I can not change files in the "vendor" folder, how do I change this value to 4.
Thanks in advance!
Regards,
Kevin
How do I change the default delivery status?
By default this is set to -1 in the file /Applications/MAMP/htdocs/snackup/vendor/aimeos/aimeos-core/lib/mshoplib/src/MShop/Order/Item
Code: Select all
/**
* Unfinished delivery.
* This is the default status after creating an order and this status
* should be also used as long as technical errors occurs.
*/
const STAT_UNFINISHED = -1;
Thanks in advance!
Regards,
Kevin
Re: Default status "delivery"
Write a small delivery service provider that sets the delivery status according to your needs and use it in the checkout process:
https://github.com/aimeos/aimeos-core/b ... al.php#L32
Note: You have to execute the "./artisan aimeos:jobs order/service/delivery" command regularly to set the status (https://aimeos.org/docs/Laravel/Configure_cronjobs)
https://github.com/aimeos/aimeos-core/b ... al.php#L32
Note: You have to execute the "./artisan aimeos:jobs order/service/delivery" command regularly to set the status (https://aimeos.org/docs/Laravel/Configure_cronjobs)
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