base/order into basket

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!
snicto
Posts: 37
Joined: 12 Oct 2022, 14:00

base/order into basket

Post by snicto » 09 Mar 2023, 15:33

We have emails being sent on failed purchases, which have a link to try again purchase. The issue I am having is loading the base/order item into a basket to save it in the current session since the basket is not being saved without it.

I am loading basket via:

Code: Select all

$orderBaseItem = \Aimeos\MShop::create( $this->context(), 'order/base' )->load( ($decrypted-1), ['order/base/address', 'order/base/coupon', 'order/base/service','order/base/address'] );
Is there an easy way to load it into "\Aimeos\Controller\Frontend::create( $context, 'basket' );" without loading every single item into it individually?

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

Re: base/order into basket

Post by aimeos » 10 Mar 2023, 09:45

Unfortunately, not yet.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply