Search found 3 matches
- 10 Nov 2021, 01:34
- Forum: Help
- Topic: Price item not available
- Replies: 9
- Views: 9025
Re: Price item not available
OK, I guess that no longer works, but looking at the code you gave me I think the following works: $domains = ['attribute', 'media', 'price', 'product', 'text']; $product = \Aimeos\Controller\Frontend::create( $context, 'product' )->uses($domains); $basket = \Aimeos\Controller\Frontend::create($cont...
- 10 Nov 2021, 01:24
- Forum: Help
- Topic: Price item not available
- Replies: 9
- Views: 9025
Re: Price item not available
Thanks, I am using $product = \Aimeos\Controller\Frontend::create( $context, 'product' )->find( 'prodname', ['attribute', 'media', 'price', 'product', 'text'] ); $addToBasket = \Aimeos\Controller\Frontend::create( $context, 'basket' )->addProduct( $product, 1); Which I believe should be using the do...
- 08 Nov 2021, 18:00
- Forum: Help
- Topic: Price item not available
- Replies: 9
- Views: 9025
Re: Price item not available
Hi, sorry to jump in an old thread, but I am running in to a similar situation in 2021.10. I can add the product into the normal cart, but I have to have a custom checkout process so I am trying to use addProduct. The context appears to have the right language and currency to match the product. Also...