Search found 8237 matches

by aimeos
30 Oct 2024, 17:49
Forum: Help
Topic: How do I customize the context.php in vendor folder?
Replies: 1
Views: 107

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

No, that won't work and will result in errors whenever $context->user() is called because you would return an unexpected value. Instead, use

Code: Select all

$context->user()->getId()
by aimeos
30 Oct 2024, 17:45
Forum: Laravel package
Topic: Translate email order
Replies: 1
Views: 211

Re: Translate email order

You can find the original strings in the template file(s), e.g.: https://github.com/aimeos/ai-controller-jobs/blob/master/templates/controller/jobs/order/email/payment/html.mjml To translate the string, you have to create a PO file (e.g. "en.po" and use the header from the en.po file from ...
by aimeos
28 Oct 2024, 13:33
Forum: Help
Topic: How to fetch catalog media and text.
Replies: 1
Views: 355

Re: How to fetch catalog media and text.

Guess, you are using Laravel. If you need texts in a specific language, add "&locale=<two letter ISO language code>" to the URL, in your case it should be "&locale=et".
by aimeos
28 Oct 2024, 13:25
Forum: TYPO3 extension
Topic: PHP Warning
Replies: 2
Views: 405

Re: PHP Warning

Check if you've added a page ID for the catalog detail page in your Aimeos scheduler tasks
by aimeos
28 Oct 2024, 12:04
Forum: Help
Topic: How to Restore the Removed '+' Button for Adding Products in Aimeos 2024.10.x Catalog Panel?
Replies: 1
Views: 401

Re: How to Restore the Removed '+' Button for Adding Products in Aimeos 2024.10.x Catalog Panel?

The panel has been rewritten to support document oriented storage like ElasticSearch but adding new product references in the category panel haven't been implemented any more. It's possible to add that again in the VueJS code but will cause some trouble if someone tries to add a product twice to the...
by aimeos
28 Oct 2024, 11:58
Forum: Help
Topic: Adding custome graphql api
Replies: 1
Views: 451

Re: Adding custome graphql api

If you have implemented a manager for a new domain (e.g. "blog"), then just add that new domain name to the list of configured resources for the GraphQL API in your own package in ./config/admin.php: return [ 'graphql' => [ 'domains' => [ 'blog' => 'blog' ] ] ]; See: https://github.com/aim...
by aimeos
28 Oct 2024, 11:36
Forum: TYPO3 extension
Topic: email templates
Replies: 1
Views: 580

Re: email templates

The e-mail templates must be in ./templates/controller/jobs/order/email/payment/ directory for the order confirmation e-mail.
by aimeos
28 Oct 2024, 11:34
Forum: Laravel package
Topic: Linking suppliers to products in version 2024.10
Replies: 3
Views: 429

Re: Linking suppliers to products in version 2024.10

first i load the product and supplier or create them if they don't exist. After that i run the following code: $listItem = $this->_supplierManager->createListItem(); $listItem->setRefId($supplier->getId()); $productItem->addListItem('supplier', $listItem, $supplier); $this->_indexManager->save($pro...