Grab variables in the thankyou page
Autor: ePole73 B.
Besucht 486,
Followers 1,
Geteilt 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
Gepostet am
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
Autor
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
(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
.
Hello Jack,
I believe that best solution is to follow KolAsim example... it will very useful
Axel
Hello KolAsim,
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
... 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
.
Autor
Can you post an example here? I have the last Pro Version og the system.
Best,
Jack