Search found 30 matches

by Jairus34
15 Jan 2025, 05:23
Forum: Laravel package
Topic: mshop_product instock column not updating, filtering by stock (display only products in stock)
Replies: 11
Views: 11640

Re: mshop_product instock column not updating, filtering by stock (display only products in stock)

Hi Aimeos, sorry to jump in here, but I have a quick question. We're using a JSON API endpoint and want to filter products that are in stock for the frontend. Our ERP system updates stock levels and also sets the product.instock column when there's stock. But if a product has just one item left and ...
by Jairus34
07 Jan 2025, 06:25
Forum: Help
Topic: Linking Custom Domain Manager to Media Domain in JSON:API
Replies: 11
Views: 38245

Re: Linking Custom Domain Manager to Media Domain in JSON:API

Hi, thank you for the reply. The createlistitem and addlistitem works now. But when I try to use getRefItems it returns null. Is there something I also need to configure?
by Jairus34
04 Jan 2025, 10:03
Forum: Help
Topic: Linking Custom Domain Manager to Media Domain in JSON:API
Replies: 11
Views: 38245

Re: Linking Custom Domain Manager to Media Domain in JSON:API

Hi, I have followed the steps and examples, but when I try to use createListItem(), there is an error. Called unknown method "createListItem" on class "Aimeos\Mshop\Trade\Manager\Standard" //POST Jsonapi public function post(ServerRequestInterface $request, ResponseInterface $res...
by Jairus34
01 Jan 2025, 10:07
Forum: Help
Topic: Linking Custom Domain Manager to Media Domain in JSON:API
Replies: 11
Views: 38245

Re: Linking Custom Domain Manager to Media Domain in JSON:API

Thank you for your response. I noticed that the product lists and type manager do not have a getSaveAttributes() function. Just to confirm, does this mean I need to create one similar to the example in the documentation? namespace Aimeos\MShop\Product\Manager\Test; class Standard extends \Aimeos\MSh...
by Jairus34
01 Jan 2025, 03:42
Forum: Help
Topic: Linking Custom Domain Manager to Media Domain in JSON:API
Replies: 11
Views: 38245

Re: Linking Custom Domain Manager to Media Domain in JSON:API

Hi, I created a lists table called Mshop_trade_list to manage relationships for my main domain Mshop_trade . Should I follow the documentation and create a class for Mshop_trade_list as mentioned here: https://aimeos.org/docs/latest/models/create-managers/#existing-domain? Also, I’m having trouble w...
by Jairus34
09 Dec 2024, 11:04
Forum: Help
Topic: Linking Custom Domain Manager to Media Domain in JSON:API
Replies: 11
Views: 38245

Re: Linking Custom Domain Manager to Media Domain in JSON:API

I haven’t created the GET method for JSON:API yet. I’m still figuring out how to attach media items and store them in storage using the POST method in JSON:API. So far, I’ve created: 1. mshop_trade (main domain) 2. mshop_trade_list 3. mshop_trade_list_type I’ve also set up the managers for mshop_tra...
by Jairus34
09 Dec 2024, 02:56
Forum: Help
Topic: Linking Custom Domain Manager to Media Domain in JSON:API
Replies: 11
Views: 38245

Linking Custom Domain Manager to Media Domain in JSON:API

Hi,

I’ve set up a new domain manager along with a list-type manager to store data with images. Now, I’m wondering if there’s a way to link it to the media domain. I’m using JSON:API.

Could you guide me on how to go about this?

Thanks!
by Jairus34
03 Dec 2024, 09:08
Forum: Help
Topic: Inquiry: When Does the Basket Clear in Aimeos JSON API?
Replies: 2
Views: 25445

Re: Inquiry: When Does the Basket Clear in Aimeos JSON API?

Thank you for the clarification
by Jairus34
03 Dec 2024, 08:33
Forum: Help
Topic: Inquiry: When Does the Basket Clear in Aimeos JSON API?
Replies: 2
Views: 25445

Inquiry: When Does the Basket Clear in Aimeos JSON API?

Hi community. Quick question about Aimeos JSON API. In our project, we're using the headless setup, and I was wondering how the basket gets cleared after a customer places an order. Does it happen as soon as the customer places the order, or only after the payment is successfully completed? Would lo...
by Jairus34
16 Nov 2024, 00:28
Forum: Help
Topic: Including "Favorite" Status in Products JSONAPI Response
Replies: 1
Views: 27647

Including "Favorite" Status in Products JSONAPI Response

Hi, I’m currently working on a feature related to user favorites and was wondering if there’s a way to include a product’s "favorite" status directly in the main products API response. I know there’s a separate GET endpoint for fetching a user’s favorite products, but I’d like to include t...