WebSite X5Help Center

 
ePole73 B.
ePole73 B.
User

Grab variables in the thankyou page  en

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
7 ANTWORTEN
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

Mehr lesen
Gepostet am von Axel  
ePole73 B.
ePole73 B.
User
Autor
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

Mehr lesen
Gepostet am von ePole73 B.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Nutzer des Monats RU

(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

.

Mehr lesen
Gepostet am von  ‪ KolAsim ‪ ‪
Axel  
Axel  
User

Hello Jack,

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

Axel

Mehr lesen
Gepostet am von 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

Mehr lesen
Gepostet am von Axel  
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Nutzer des Monats RU
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

.

Mehr lesen
Gepostet am von  ‪ KolAsim ‪ ‪
ePole73 B.
ePole73 B.
User
Autor
 ‪ 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

Mehr lesen
Gepostet am von ePole73 B.