WebSite X5Help Center

 
ePole73 B.
ePole73 B.
User

Grab variables in the thankyou page  en

Autore: ePole73 B.
Visite 232, Followers 1, Condiviso 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

Postato il
7 RISPOSTE
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

Leggi di più
Postato il da Axel  
ePole73 B.
ePole73 B.
User
Autore
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

Leggi di più
Postato il da ePole73 B.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Utente del mese FRUtente del mese 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

.

Leggi di più
Postato il da  ‪ KolAsim ‪ ‪
Axel  
Axel  
User

Hello Jack,

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

Axel

Leggi di più
Postato il da 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

Leggi di più
Postato il da Axel  
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Utente del mese FRUtente del mese 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

.

Leggi di più
Postato il da  ‪ KolAsim ‪ ‪
ePole73 B.
ePole73 B.
User
Autore
 ‪ 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

Leggi di più
Postato il da ePole73 B.