WebSite X5Help Center

 
ePole73 B.
ePole73 B.
User

Grab variables in the thankyou page  en

Author: ePole73 B.
Visited 348, Followers 1, Shared 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

Posted on the
7 ANSWERS
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

Read more
Posted on the from Axel  
ePole73 B.
ePole73 B.
User
Author
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

Read more
Posted on the from ePole73 B.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Best User of the month PL

(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

.

Read more
Posted on the from  ‪ KolAsim ‪ ‪
Axel  
Axel  
User

Hello Jack,

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

Axel

Read more
Posted on the from 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

Read more
Posted on the from Axel  
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Best User of the month PL
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

.

Read more
Posted on the from  ‪ KolAsim ‪ ‪
ePole73 B.
ePole73 B.
User
Author
 ‪ 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

Read more
Posted on the from ePole73 B.