How to make custom order for POS?

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!
mmrtonmoy
Posts: 3
Joined: 14 Oct 2024, 22:51

How to make custom order for POS?

Post by mmrtonmoy » 19 Nov 2024, 19:58

Hello everyone,
I want to make a POS package, but I do not understand how to start it.
I decide to make a separate panel for POS like admin dashboard where only POS users can access (inspired by Bagisto POS. https://bagisto.com/en/extensions/larav ... t-of-sale/). So I decide to using custom guard like Bagisto POS.

My problem is how to make a custom order by providing single or multiple product id with product attributes like (color: red, blue; Size: xl, L) and set payment receive method manually like (Cash, Bank check, etc.)?

Laravel: 11
Aimeos: 2024.10.2
php: 8.2

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

Re: How to make custom order for POS?

Post by aimeos » 22 Nov 2024, 09:11

You can use the basket frontend controller to add products, addresses, delivery/payment and coupon codes to the basket:
https://github.com/aimeos/ai-controller ... /Iface.php

Create the controller using:

Code: Select all

$cntl = \Aimeos\Controller\Frontend::create( $this->context(), 'basket' );
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply