Search found 18 matches

by bar_on
04 Jul 2025, 21:15
Forum: Laravel package
Topic: Problem with jsonapi product (with image)
Replies: 4
Views: 167115

Re: Problem with jsonapi product (with image)

Got it, thanks!
by bar_on
04 Jul 2025, 07:50
Forum: Laravel package
Topic: Problem with jsonapi product (with image)
Replies: 4
Views: 167115

Re: Problem with jsonapi product (with image)

I've found out that if those products not showing does not have a category selected. Once I select a category it will show up in the API. Not sure if this is intended but it's good for now.

The version I'm using is aimeos 2023.10.9.
by bar_on
03 Jul 2025, 06:32
Forum: Laravel package
Topic: Problem with jsonapi product (with image)
Replies: 4
Views: 167115

Problem with jsonapi product (with image)

Product with media (images) is not listed in the jsonapi/product?include=product.media API. Not just the included media, but the product itself is also hidden. I had a product without media that could be shown successfully, but not after I add the media. Any ideas why this would happen? I did clear ...
by bar_on
24 Mar 2025, 18:47
Forum: Laravel package
Topic: Order price, cost, rebate set to 0 after setting payment status
Replies: 3
Views: 33949

Re: Order price, cost, rebate set to 0 after setting payment status

Order price is still set to 0 after this change. This is the payment status and order total before payment intent was created (custom controller). Screenshot 2025-03-24 at 11.38.58 AM.png Screenshot 2025-03-24 at 11.38.45 AM.png This is after the payment intent was created. Screenshot 2025-03-24 at ...
by bar_on
24 Mar 2025, 06:06
Forum: Laravel package
Topic: Order price, cost, rebate set to 0 after setting payment status
Replies: 3
Views: 33949

Order price, cost, rebate set to 0 after setting payment status

$manager = MShop::create($context, 'order'); $order = $manager->get($orderId); $order->setStatusPayment(4) Before I set the payment the order has its price, costs and rebate. After setting it in a custom frontend controller, the data returned are 0. Before: "order.price": "450.00&quo...
by bar_on
20 Feb 2025, 19:55
Forum: Help
Topic: Hide variant product on jqadm product list page
Replies: 3
Views: 12728

Re: Hide variant product on jqadm product list page

Ideally I want the product listing to show simple product (ie. product of type default, but is not related to a variant product), and mother variant product (ie. product of type select). Is that achievable in the backend?
by bar_on
20 Feb 2025, 19:52
Forum: Help
Topic: Jsonapi get variant attribute type's translated name
Replies: 1
Views: 4327

Jsonapi get variant attribute type's translated name

Screenshot 2025-02-20 at 11.49.25 AM.png In aimeos backend, I can see the attribute type has a translation section provided. I want to know if I can access this translation in product api. If not, what's the recommended method of getting this translation to show the variant attribute type in custom...
by bar_on
25 Jan 2025, 17:26
Forum: Help
Topic: Hide variant product on jqadm product list page
Replies: 3
Views: 12728

Hide variant product on jqadm product list page

Screenshot 2025-01-25 at 9.24.04 AM.png
Screenshot 2025-01-25 at 9.24.04 AM.png (227.9 KiB) Viewed 12728 times
I'd like to know if there's any way I can hide the variant product in listing page, so I can only see
1. A separate article product with no variant
2. The mother variant product.

(ie. hide ID. 42, 43, 44. Keep 41, 45)
by bar_on
19 Jan 2025, 10:50
Forum: Help
Topic: How to customize default values in add form (admin backend)?
Replies: 1
Views: 3632

How to customize default values in add form (admin backend)?

When creating new product, I want the tax rate in all new price to be 0 by default, also currency to be EUD. Is there a way I can achieve this easily?

Version:
"aimeos/aimeos-laravel": "~2023.10",
"php": "^8.1.0",
by bar_on
13 Nov 2024, 07:34
Forum: Help
Topic: How do I customize the context.php in vendor folder?
Replies: 7
Views: 106043

Re: How do I customize the context.php in vendor folder?

You can change the guard in the ./config/shop.php using the "guards" key: https://github.com/aimeos/aimeos-laravel/blob/master/src/Base/Context.php#L281 It works now! Thank you very much. For anyone using jsonapi with laravel passport, the setup in shop.php is 'guards' => ['jsonapi' => 'y...