Closed msofiullahs closed 2 years ago
What's the problem besides that you should use:
$saveServ = $service->create()->copyFrom($servItem)->setPrice($servPrice);
I try to use some sets function, it gives me error
for example I try to use setBaseId("1")
and then it gives me error unknown ->setBaseid("1")
setBaseId()
is called automatically if you call store()
so there's no need for. Your example code doesn't contain any call to setBaseId()
so we have no clue what you are doing and why it doesn't work. Please be more precise in what's the problem.
@msofiullahs Maybe the typo in your call ->setBaseid("1")
is the problem here?
Hi, I've tried to use aimeos for laravel API, and then I need to use order flow by following aimeos order data flow. But, I found that
order/base/service
iface doesn't works well. When i try use any function in that iface, nothing can works likeorder/base/product
did. https://github.com/aimeos/aimeos-core/blob/ae22729af4d99038825de4a2dd8d02db0a1942d4/lib/mshoplib/src/MShop/Order/Item/Base/Service/Iface.php#L21This is my code for adding product into order
and then this is for adding service into order