Import coupons, not only codes?

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!
kdim95
Advanced
Posts: 213
Joined: 26 Aug 2022, 12:17

Import coupons, not only codes?

Post by kdim95 » 15 May 2024, 13:03

Laravel framework version: 11.6.0
Aimeos Laravel version: 2024.04
PHP Version: 8.2.18
Environment: Linux

Hello,

Is it possible to import coupons and not only the codes?
Meaning I want to have the coupon start, end date and to be able to specify the providers and decorators.

I also have questions about the coupon codes import:
  • Why does there have to be a cron job when the import is done only through the administration?
  • How are the codes connected to the specific coupon when the cron job is executed? The example CSV does not specify a coupon id or ref, that's why I'm asking.
Best regards

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

Re: Import coupons, not only codes?

Post by aimeos » 16 May 2024, 14:51

At the moment no, only codes for existing coupon configurations can be imported and the uploaded files are imported for exactly that configuration. The files are imported via cronjobs because you can easily exceed the maximum execution time of requests if the file contains enough codes and this would lead to codes only imported partially.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply