Order single view

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!
Moritz
Advanced
Posts: 153
Joined: 07 Nov 2018, 14:05

Order single view

Post by Moritz » 07 Nov 2022, 14:02

Is there a possibility to show a single order?
In earlier versions it works with the following URL.

Code: Select all

https://example.com/order-history?ai[action]=history&ai[controller]=Account&ai[his_action]=order&ai[his_id]=1234
Ubuntu 22.04.01
PHP 7.4.30
Typo3 v11.5.21 LTS
Aimeos web shop 22.10.4-pre3

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

Re: Order single view

Post by aimeos » 08 Nov 2022, 18:43

No, now the list of orders already contains the details which are only hidden by JS and no separate request is made any more.
You have to make your own plugin accepting the order ID and rendering the view.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Moritz
Advanced
Posts: 153
Joined: 07 Nov 2018, 14:05

Re: Order single view

Post by Moritz » 09 Nov 2022, 15:00

A new plugin for my plans seems a little bit overpowered.

I explain my intention.

A customer ordered a product with an attachment.
When payment is finished, you can see the download link on the confirmation page.
Also you find all orders of you in the account history (with download link too).

But we need a button "Agree" which appears only when no download where made before.
After clicking this button, the site should be refreshed and the normal download url will appear.
Du you have any tipps to archive this?

Code: Select all

https://example.com/order-history?ai[action]=history&ai[controller]=Account&ai[his_action]=order&ai[his_id]=1234
Before we used this URL as redirect after clicking the "Aggree" button.

Maybe you have a good tip for me.
Ubuntu 22.04.01
PHP 7.4.30
Typo3 v11.5.21 LTS
Aimeos web shop 22.10.4-pre3

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

Re: Order single view

Post by aimeos » 10 Nov 2022, 06:50

Maybe a few lines of JS might do the job.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Moritz
Advanced
Posts: 153
Joined: 07 Nov 2018, 14:05

Re: Order single view

Post by Moritz » 10 Nov 2022, 06:55

Ok thank you! I will have a try.
Ubuntu 22.04.01
PHP 7.4.30
Typo3 v11.5.21 LTS
Aimeos web shop 22.10.4-pre3

Post Reply