API Override

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!
saikano
Posts: 2
Joined: 19 May 2020, 18:29

API Override

Post by saikano » 19 May 2020, 18:36

Hi, I want to make some kind of wrap items in catalog, and special logic for items/products and write own API, how can I do that with Laravel package?

I use latest version of package, php 7.2 on MacOS

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

Re: API Override

Post by aimeos » 22 May 2020, 07:18

Depends on what you exactly want to do. If you provide more information, we can suggest the best way.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

saikano
Posts: 2
Joined: 19 May 2020, 18:29

Re: API Override

Post by saikano » 22 May 2020, 12:06

I want to add new category of products - promotional product. This product is special, customer can't buy it, only get it if some conditions a met.

For example - special product Teddy Bear. Every one get it if spent 1000$ in this month and if customer's email starts with "ted". If conditions are met, then customer get Teddy Bear in next delivery

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

Re: API Override

Post by aimeos » 22 May 2020, 13:14

Implement a delivery service provider that implements the rules and updates the basket accordingly:
https://aimeos.org/docs/Developers/Library/Service
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply