Search found 208 matches

by kdim95
17 Oct 2022, 08:36
Forum: Laravel package
Topic: Replace translation not working
Replies: 2
Views: 602

Replace translation not working

Laravel framework version: 9.26.1 Aimeos Laravel version: * 2022.07.2 PHP Version: 8.1.9 Environment: Linux I'm following the documentation for replacing translations here: https://aimeos.org/docs/2022.x/developer/translations/#replace-translations I am attempting to replace the translations found i...
by kdim95
06 Sep 2022, 04:05
Forum: Laravel package
Topic: How to remove the category id from the routes and keep only the category url segment?
Replies: 3
Views: 10396

How to remove the category id from the routes and keep only the category url segment?

Laravel framework version: 9.26.1
Aimeos Laravel version: * 2022.07.2
PHP Version: 8.1.9
Environment: Linux

My category links are like this in the main menu:
/category~{id}

How can I make them only:
/category
by kdim95
02 Sep 2022, 15:17
Forum: TYPO3 extension
Topic: Get product category
Replies: 14
Views: 14223

Re: Get product category

Since 2022.01, you can get the categories using: $producItem->getRefItems( 'catalog' ); I think this works but should they be appearing under -node ? The other items, for example $mediaItems have them under #bdata . How do I get them from inside the -node ? By the way, I noticed that I am posting i...
by kdim95
02 Sep 2022, 14:42
Forum: TYPO3 extension
Topic: Get product category
Replies: 14
Views: 14223

Re: Get product category

Use the methods of the item instead: $product->getCatalogItems(); $product->getStockItems(); Check the product item interface for reference: https://github.com/aimeos/aimeos-core/blob/master/lib/mshoplib/src/MShop/Product/Item/Iface.php#L27-L47 Laravel framework version: 9.26.1 Aimeos Laravel versi...
by kdim95
29 Aug 2022, 09:52
Forum: Laravel package
Topic: How to create subparts with searchable tables?
Replies: 1
Views: 505

How to create subparts with searchable tables?

Laravel framework version: 9.26.1 Aimeos Laravel version: * 2022.07.2 PHP Version: 8.1.9 Environment: Linux I have been trying to copy this subpart Product/Orders for a while, but it feels like I'm not getting anywhere. LlvXBrZ.png I have created a subpart with its own template, but I'm not sure how...
by kdim95
26 Aug 2022, 14:18
Forum: Laravel package
Topic: No value for key "item" found
Replies: 5
Views: 1092

Re: No value for key "item" found

Thank you, the best thing I can think of is: 1) Getting the product ID from the $_POST parameters 2) Querying the product to get the original values 3) While we are at it with the $_POST parameters, get the new values as well 4) Save the previous and changed values as JSONs in the database 4) Execut...
by kdim95
26 Aug 2022, 14:00
Forum: Laravel package
Topic: No value for key "item" found
Replies: 5
Views: 1092

Re: No value for key "item" found

Thank you, this removes the error, but there is another problem. Now that this line is above everything, I can't reach the state of the item before the change. $result = $this->getClient()->save(); After save() is called, the item is already changed, right? How can I get the attributes of the item b...
by kdim95
26 Aug 2022, 12:29
Forum: Laravel package
Topic: No value for key "item" found
Replies: 5
Views: 1092

No value for key "item" found

Laravel framework version: 9.26.1 Aimeos Laravel version: * 2022.07.2 PHP Version: 8.1.9 Environment: Linux Following the example here, I created a decorator named "Mydecorator" inside <MY PLUGIN>/src/Admin/JQAdm/Common/Decorator/Mydecorator.php https://aimeos.org/docs/latest/admin/jqadm/e...