Search found 140 matches

by cnoelker
11 Apr 2022, 07:56
Forum: Help
Topic: How to set stocktype per locale?
Replies: 2
Views: 822

Re: How to set stocktype per locale?

Thanks for the confirmation. I have a script which created the files with msgfmt so that I don't have to worry about that one. :-)
by cnoelker
06 Apr 2022, 09:00
Forum: Help
Topic: How to set stocktype per locale?
Replies: 2
Views: 822

How to set stocktype per locale?

Hello, after a bit of digging into the code, I found this line: $type = $context->getLocale()->getSite()->getConfigValue( 'stocktype' ); So I figured out, that this type is what I need to set. Are the translation files the correct location? E.g. Resources/Private/Extensions/ai-client-html/client/i18...
by cnoelker
10 Feb 2022, 16:21
Forum: TYPO3 extension
Topic: Decorator for Checkout Confirm
Replies: 8
Views: 3927

Re: Decorator for Checkout Confirm

Hi,

I had a fresh look today and finally found the solution:

plugin.tx_aimeos.settings.client.html.checkout.standard.decorators.global {
0 = ConfirmDecorator
}

Claudia
by cnoelker
09 Feb 2022, 14:08
Forum: TYPO3 extension
Topic: Decorator for Checkout Confirm
Replies: 8
Views: 3927

Re: Decorator for Checkout Confirm

The Decorator class is not loaded at all, otherwise I would get a syntax error response, because I added the syntax error in there.
The variable which I set is actually the same one as I set in the checkout Decorator.
by cnoelker
09 Feb 2022, 11:14
Forum: TYPO3 extension
Topic: Decorator for Checkout Confirm
Replies: 8
Views: 3927

Re: Decorator for Checkout Confirm

Hi Robert, the Decorator classes are not in the autoload files. I created other Decorators before and they aren't either. The other Decorator classes work fine. I put the new one into the same directory. There is already an intended typo in the class. This doesn't break anything, though, so the clas...
by cnoelker
09 Feb 2022, 10:16
Forum: TYPO3 extension
Topic: Decorator for Checkout Confirm
Replies: 8
Views: 3927

Re: Decorator for Checkout Confirm

Hi Robert,

thanks for your response, but it doesn't work with your suggestion for the configuration, either.
I cleared the cache of TYPO3, so this shouldn't be the cause.

Claudia
by cnoelker
09 Feb 2022, 09:44
Forum: TYPO3 extension
Topic: Decorator for Checkout Confirm
Replies: 8
Views: 3927

Decorator for Checkout Confirm

Hi, I would like to add a Decorator on the confirmation page of the checkout. I wrote a rather simple Decorator class named ConfirmDecorator which just has an addData method and sets a variable for the view, e.g. $view->mytest = array('test' => 'test'); Then, I configured it according to https://aim...
by cnoelker
02 Nov 2021, 15:22
Forum: TYPO3 extension
Topic: Problem in Country Dropdown
Replies: 6
Views: 2513

Re: Problem in Country Dropdown

I changed this in my local code and it fixes the problem.
by cnoelker
02 Nov 2021, 13:19
Forum: TYPO3 extension
Topic: Problem in Country Dropdown
Replies: 6
Views: 2513

Problem in Country Dropdown

Hello, the country dropdown of the customer maintenance does not work anymore. Message in the browser is: Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://restcountries.eu/rest/v2/all?fields=alpha2Code;name. (Reason: CORS request did not succeed)....