Five Things

Questions around the TYPO3 integration and plugins
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Shopmister
Posts: 92
Joined: 15 Jan 2021, 11:02

Five Things

Post by Shopmister » 28 Jan 2021, 07:02

|Found Solution|



TYPO3 Version
10.4.12
Webserver
Apache
PHP Version
7.3.19-1~deb10u1
Database (Default)
MySQL 5.5.5-10.3.27-MariaDB-0+deb10u1
Application Context
Production
Operating System
Linux 4.19.0-9-amd64
Last Scheduler run
28-01-21 at 08:18, Duration 0 min, (started automatically)

1) I did set that for created user
plugin.tx_aimeos.settings.mshop.customer.manager.typo3.pid-default = 4
It did worked i thought. i did deleted it to test when it works. And now after pasted in again. All created user about the checkout dont created anymore.


2) The Remember(merken) feature redirect the user to the detail page, what happened?

3) What are the code, for users become automatically customer group. I tryed different things, but maybe the same problem like "1".


4) And the DOnwloadsite says redirecting Error:
Quote: Fehler: Umleitungsfehler

5) the evaluate/Bewerten feature is not working. The evaluation tab in the product area says always no evaluations already.
Last edited by Shopmister on 27 May 2021, 12:01, edited 1 time in total.

User avatar
aimeos
Administrator
Posts: 7871
Joined: 01 Jan 1970, 00:00

Re: Five Things

Post by aimeos » 29 Jan 2021, 09:53

Shopmister wrote: 28 Jan 2021, 07:02 MySQL 5.5.5-10.3.27-MariaDB-0+deb10u1
Pretty old and doesn't support long indexes so you can't use utf8mb4 but I'm sure you noticed that already when creating the tables.
Shopmister wrote: 28 Jan 2021, 07:02 1) I did set that for created user
plugin.tx_aimeos.settings.mshop.customer.manager.typo3.pid-default = 4
It did worked i thought. i did deleted it to test when it works. And now after pasted in again. All created user about the checkout dont created anymore.
Hard to say, it's most likely something different because the setting is correct.
Shopmister wrote: 28 Jan 2021, 07:02 2) The Remember(merken) feature redirect the user to the detail page, what happened?
The catalog detail page is configured in the flexform of the plugin. You can change that to the profile page if you want.
Shopmister wrote: 28 Jan 2021, 07:02 3) What are the code, for users become automatically customer group. I tryed different things, but maybe the same problem like "1".
That's a different configuration:
https://aimeos.org/docs/2020.x/config/c ... /#groupids

There's a commented example for that in the setup TypoScript config which looks like:

Code: Select all

plugin.tx_aimeos.settings.controller.frontend.customer.groupids = 123
Shopmister wrote: 28 Jan 2021, 07:02 4) And the DOnwloadsite says redirecting Error:
Quote: Fehler: Umleitungsfehler
Maybe some double redirect due to a misconfiguration (or missing configuration) for login. Check the setup TypoScript, there are the (commented) required settings available too.
Shopmister wrote: 28 Jan 2021, 07:02 5) the evaluate/Bewerten feature is not working. The evaluation tab in the product area says always no evaluations already.
Check if there's an active review in the review panel of the admin backend for that product.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Shopmister
Posts: 92
Joined: 15 Jan 2021, 11:02

Re: Five Things

Post by Shopmister » 02 Feb 2021, 08:35

Pretty old and doesn't support long indexes so you can't use utf8mb4 but I'm sure you noticed that already when creating the tables.
Oh kay, i have no idea, i updated debian. I will see if other things dont works too in future. But till now all Extensions i needed did works. But i hold it in my brain.
Hard to say, it's most likely something different because the setting is correct.
Weird, after a few days i tryed it again and now it works..
There's a commented example for that in the setup TypoScript config which looks like:
Same like created user. now it works.
Its possible to save the setupthings in typoscript directly? its a good way or not the best idea?
The catalog detail page is configured in the flexform of the plugin. You can change that to the profile page if you want.
it works now, i didnt set something right in the plugins. :)
Check if there's an active review in the review panel of the admin backend for that product.
There is an review in backend for the product. Buts not showing in frontend. Do i have to configure the record storage page or something? if i configure the errorpage, at example to the profilepage it works. But the user cant visit the downloadpage :)
But in distribution it dont works too. Need i maybe some settings or what are in general the requirement for that that can work?
Maybe some double redirect due to a misconfiguration (or missing configuration) for login. Check the setup TypoScript, there are the (commented) required settings available too.
Btw, i didnt setted the paymant status to received. Where i can find it. its a importand thing to redirect right to the downloadpage?

User avatar
aimeos
Administrator
Posts: 7871
Joined: 01 Jan 1970, 00:00

Re: Five Things

Post by aimeos » 04 Feb 2021, 20:38

Shopmister wrote: 02 Feb 2021, 08:35 There is an review in backend for the product. Buts not showing in frontend. Do i have to configure the record storage page or something? if i configure the errorpage, at example to the profilepage it works. But the user cant visit the downloadpage :)
But in distribution it dont works too. Need i maybe some settings or what are in general the requirement for that that can work?
There's no storage page that has to be configured for reviews.
Shopmister wrote: 02 Feb 2021, 08:35 Btw, i didnt setted the paymant status to received. Where i can find it. its a importand thing to redirect right to the downloadpage?
Yes, it is because only downloads from orders where the payment status is "received" are allowed by default (can be configured). You can set the order payment status in the Aimeos admin backend -> Order tab -> Detail view -> Invoice subpanel
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Shopmister
Posts: 92
Joined: 15 Jan 2021, 11:02

Re: Five Things

Post by Shopmister » 07 Feb 2021, 13:26

There's no storage page that has to be configured for reviews.
Okay, i found that i have to enable every review. Buts only the stars atm and not the reviewtext. I have to configure that?
If it donnt will works. how it is to set the reviewfeature off for frontend users
Yes, it is because only downloads from orders where the payment status is "received" are allowed by default (can be configured). You can set the order payment status in the Aimeos admin backend -> Order tab -> Detail view -> Invoice subpanel
Btw, what you mean with thats configurabel. where? I see that often in the forum, thats configurable, but mean that it exist an typoscriptcommand or in the modul, or where? Because its much what have to be configured, like the vouchescodes at example. That the codes arent avaible anymore if one time used, at example only :).

I have received now, thanks. But the Downloadsite is like like before redirect error. i need for that maybe an storagefolder or something?

User avatar
aimeos
Administrator
Posts: 7871
Joined: 01 Jan 1970, 00:00

Re: Five Things

Post by aimeos » 08 Feb 2021, 07:50

Shopmister wrote: 07 Feb 2021, 13:26 Okay, i found that i have to enable every review. Buts only the stars atm and not the reviewtext. I have to configure that?
If it donnt will works. how it is to set the reviewfeature off for frontend users
To disable the reviews, you have to create your own extension, copy the catalog/detail/body-standard template and remove the review section. You can also remove the the account/profile plugin by disabling it in the account page.

To enable reviews by default, you can change the set status to "1":
https://aimeos.org/docs/2020.x/config/c ... ew/#status
But this may lead to a lot of spam.
Shopmister wrote: 07 Feb 2021, 13:26
Yes, it is because only downloads from orders where the payment status is "received" are allowed by default (can be configured). You can set the order payment status in the Aimeos admin backend -> Order tab -> Detail view -> Invoice subpanel
Btw, what you mean with thats configurabel. where? I see that often in the forum, thats configurable, but mean that it exist an typoscriptcommand or in the modul, or where? Because its much what have to be configured, like the vouchescodes at example. That the codes arent avaible anymore if one time used, at example only :).
Most of the features in Aimeos are highly configurable (thus, Aimeos has 2500+ config options) and the payment status for the downloads can be configured using this setting:
https://aimeos.org/docs/2020.x/config/c ... ent-status

The count for the voucher codes must be set to "1" if you only want to enable them once.
Shopmister wrote: 07 Feb 2021, 13:26 I have received now, thanks. But the Downloadsite is like like before redirect error. i need for that maybe an storagefolder or something?
Check if the pages in the profile and download page are configured correctly and if the configuration for fe_login in the setup TS is correct.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Shopmister
Posts: 92
Joined: 15 Jan 2021, 11:02

Re: Five Things

Post by Shopmister » 08 Feb 2021, 13:31

Most of the features in Aimeos are highly configurable (thus, Aimeos has 2500+ config options) and the payment status for the downloads can be configured using this setting:
Sorry im an nub. where can a configure that link you send shows how but nopt where , i have no idea, i searched in the extension folder but didnt found ^^

To disable the reviews, you have to create your own extension, copy the catalog/detail/body-standard template and remove the review section. You can also remove the the account/profile plugin by disabling it in the account page.

nice thanks, for the answer. importand to know thats a good workaround to change only the template :)
Check if the pages in the profile and download page are configured correctly and if the configuration for fe_login in the setup TS is correct.
Where you mean exactly. i cant see any typoscript for the downloadthings in the distribution too.
From beginning:
What are the requirements for the downloadproductfeature?
- one of the buyed downloadproducts received setted
- schedulers working
- the account download content Element at download page
- A file is choosed in DOwnloadstab of the product
maybe i forgot something. And thats the reason. Or exist technical requirements.
maybe it exist a way to test, why the redirect error is? If i deaactivate the "Account Download" Content Element i can visit the site.

Btw. an email with the downloadproduct or link arent send too. only the normal buyed-mails

User avatar
aimeos
Administrator
Posts: 7871
Joined: 01 Jan 1970, 00:00

Re: Five Things

Post by aimeos » 11 Feb 2021, 07:58

Shopmister wrote: 08 Feb 2021, 13:31 Sorry im an nub. where can a configure that link you send shows how but nopt where , i have no idea, i searched in the extension folder but didnt found ^^
Here's explained how you can set configuation options in TYPO3 (frontend in that case):
https://aimeos.org/docs/latest/typo3/cu ... figuration
Shopmister wrote: 08 Feb 2021, 13:31 What are the requirements for the downloadproductfeature?
- one of the buyed downloadproducts received setted
- schedulers working
- the account download content Element at download page
- A file is choosed in DOwnloadstab of the product
maybe i forgot something. And thats the reason. Or exist technical requirements.
Exactly. Additionally, the login page has to be configured correctly, which means:
- the fe_login plugin must be placed at the account profile page
- the fe_login plugin must be configured to redirect after login based on the GET parameters (in its flexform)
- the fe_login plugin must use the correct storage folder containing the user records (in its flexform)
- the setup TypoScript in the root page must contain:

Code: Select all

# Hint: Change page ID to your "My Account" page here
config.typolinkLinkAccessRestrictedPages = 123
config.typolinkLinkAccessRestrictedPages_addParams = &return_url=###RETURN_URL###
Change the page ID of "config.typolinkLinkAccessRestrictedPages" to the correct ID of the profile page.
Shopmister wrote: 08 Feb 2021, 13:31 maybe it exist a way to test, why the redirect error is? If i deaactivate the "Account Download" Content Element i can visit the site.
Guess, theirs a redirect back and forth because the user isn't already authenticated when opening the download page and the configuration of the fe_login plugin is incorrect.
Shopmister wrote: 08 Feb 2021, 13:31 Btw. an email with the downloadproduct or link arent send too. only the normal buyed-mails
Yes and they also contains the link for the download if the conditions described above match.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Shopmister
Posts: 92
Joined: 15 Jan 2021, 11:02

Re: Five Things

Post by Shopmister » 11 Feb 2021, 15:17

Here's explained how you can set configuation options in TYPO3 (frontend in that case):
Okay i try to understand how to disable reviews etc. these days about your link. A custom countrychoosement work already :)
Exactly. Additionally, the login page has to be configured correctly, which means:
- the fe_login plugin must be placed at the account profile page
- the fe_login plugin must be configured to redirect after login based on the GET parameters (in its flexform)
- the fe_login plugin must use the correct storage folder containing the user records (in its flexform)
- the setup TypoScript in the root page must contain:
Wich login page. it exist two, one at the profilepage and one at the Download. i think you mean the profilepage login do you?

WIch of the redirects you mean?
Defined by GET/POST Parameters [getpost]
or
After Login (TS or FLexform) [login]
i setted your code here
# Hint: Change page ID to your "My Account" page here
config.typolinkLinkAccessRestrictedPages = 5
config.typolinkLinkAccessRestrictedPages_addParams = &return_url=###RETURN_URL###
With the profile page id at restricted pages are already setted. :)

I tryed my best. And now the mail is coming with the Downloadlink. But the DOwnloaded file are broken: The viewers say:
"the file type is not recognized" (was an .jpg-file)
How i can see that the redirect will works(the Downloadpage, except the link in the mail?
I have to see then in the url the parameters after login?
Btw. i did enabled the downloadpage in menu, but in distribution isnt something in menu. How the user can see normally that he have downloads and how the user, is come to the downloadsite except the mail?

User avatar
aimeos
Administrator
Posts: 7871
Joined: 01 Jan 1970, 00:00

Re: Five Things

Post by aimeos » 12 Feb 2021, 08:11

Shopmister wrote: 11 Feb 2021, 15:17 I tryed my best. And now the mail is coming with the Downloadlink. But the DOwnloaded file are broken: The viewers say:
"the file type is not recognized" (was an .jpg-file)
Check what's the file content. Guess, TYPO3 is adding some HTML around and this is normally removed by the setup TS of the download page.
Shopmister wrote: 11 Feb 2021, 15:17 Btw. i did enabled the downloadpage in menu, but in distribution isnt something in menu. How the user can see normally that he have downloads and how the user, is come to the downloadsite except the mail?
The link is only sent in the order e-mail and customers won't be able to download their files if you enable the page in the menu because the required parameters are missing.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply