WebSite X5Help Center

 
ePole73 B.
ePole73 B.
User

Grab variables in the thankyou page  en

Автор: ePole73 B.
Просмотрено 613, Подписчики 1, Размещенный 0  

Hej folks,

how it is possible to grab some variables like buyer email, amount, order id aso in the thankyou page?

I need this data for an additional DIV container that i have to integrate in to the thankyou page. And where to add this div container?

Best,
Jack

Размещено
7 Ответы
Axel  
Axel  
User

Hello,

If you are using a custom payment it should be possible to get these variables through cookies and to retreive cookies into html object on other page.

But with a built payment into WSX5, should ne not possible because you cannot add code during payment process to get these specific variables for an order.

Axel

Читать больше
Размещено От Axel  
ePole73 B.
ePole73 B.
User
Автор
Axel  
Hello, If you are using a custom payment it should be possible to get these variables through cookies and to retreive cookies into html object on other page. But with a built payment into WSX5, should ne not possible because you cannot add code during payment process to get these specific variables for an order. Axel

Hi and thanks @axel.

I am using the regular checkout with 1, 2, 3, 4 steps. I found the whole checkout process in the x5cartengine.js. But after modified this, the shop broke, but i only pasted some div elements with found variables into this JS.

So ist there no chance to grab this three variables from anywhere? And can I not add a div into this final thankyou page in any way?

Best,
Jack

Читать больше
Размещено От ePole73 B.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Лучший пользователь месяца ESЛучший пользователь месяца PT

(It > En) ... there is version and version of the program...
... alternatively and in theory with my EXTRA code you could try to make a summary of the mail_form appear in a showbox of thanks in overlay in the same cart/#STEP4...

.

ciao

.

Читать больше
Размещено От  ‪ KolAsim ‪ ‪
Axel  
Axel  
User

Hello Jack,

I believe that best solution is to follow KolAsim example... it will very useful

Axel

Читать больше
Размещено От Axel  
Axel  
Axel  
User

Hello KolAsim,

 ‪ KolAsim ‪ ‪
... alternatively and in theory with my EXTRA code you could try to make a summary of the mail_form appear in a showbox of thanks in overlay in the same cart/#STEP4...

Could you post here you extra code for this option. Should be great to add it on my demo website for other users.

https://wsx5demo.afsoftware.fr/

Axel

Читать больше
Размещено От Axel  
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Лучший пользователь месяца ESЛучший пользователь месяца PT
Axel  
Hello KolAsim,  ‪ KolAsim ‪ ‪ ... ... ...  Could you post here you extra code for this option. Should be great to add it on my demo website for other users. ... ... ... 

... I came here by chance, ... this Topic is out of time for me...

... I would gladly do so, ... but open your own Topic...
... if you do, we'll see each other over there...

... Je le ferais avec plaisir, ... mais ouvrez votre propre sujet...
... si vous le faites, nous vous reverrons là-bas...

... lo farei volentieri, ... ma apri un tuo personale Topic...
... nel caso lo farai ci rivedremo di là...

.

ciao

.

Читать больше
Размещено От  ‪ KolAsim ‪ ‪
ePole73 B.
ePole73 B.
User
Автор
 ‪ KolAsim ‪ ‪
(It > En) ... there is version and version of the program... ... alternatively and in theory with my EXTRA code you could try to make a summary of the mail_form appear in a showbox of thanks in overlay in the same cart/#STEP4... . ciao .

Can you post an example here? I have the last Pro Version og the system.

Best,
Jack

Читать больше
Размещено От ePole73 B.